public class SplunkContainer extends GenericContainer<SplunkContainer>
Tested on a Splunk version 8.2.
More information about docker-splunk can be found here:
Container.ExecResultCONTAINER_RUNNING_TIMEOUT_SEC, dependencies, dockerClient, INTERNAL_HOST_HOSTNAME, waitStrategySTATE_HEALTHY| Constructor and Description |
|---|
SplunkContainer(DockerImageName dockerImageName) |
SplunkContainer(@NonNull java.lang.String dockerImageName) |
| Modifier and Type | Method and Description |
|---|---|
SplunkContainer |
withDefaultsFile(Transferable defaults)
Define a defaults file to use for configuring the Splunk server.
|
SplunkContainer |
withHecToken(java.lang.String hecToken)
Define the Splunk HTTP Event Collector (HEC) token to set.
|
SplunkContainer |
withPassword(java.lang.String password)
Define the Splunk password to set.
|
SplunkContainer |
withSplunkdSslDisabled()
Define whether SSL will be used for connecting to the Splunk server.
|
addEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, apply, canBeReused, configure, containerIsCreated, containerIsStarted, containerIsStarted, containerIsStarting, containerIsStarting, containerIsStopped, containerIsStopping, copyFileFromContainer, createVolumeDirectory, dependsOn, dependsOn, dependsOn, doStart, equals, failed, finished, getBinds, getCommandParts, getContainerId, getContainerInfo, getContainerName, getCopyToFileContainerPathMap, getCreateContainerCmdModifiers, getDependencies, getDockerClient, getDockerImageName, getEnv, getEnvMap, getExposedPorts, getExtraHosts, getImage, getIpAddress, getLabels, getLinkedContainers, getLivenessCheckPort, getLivenessCheckPortNumbers, getLivenessCheckPorts, getLogConsumers, getNetwork, getNetworkAliases, getNetworkMode, getPortBindings, getShmSize, getStartupAttempts, getStartupCheckStrategy, getTestHostIpAddress, getTmpFsMapping, getVolumesFroms, getWaitStrategy, getWorkingDirectory, hashCode, isHostAccessible, isPrivilegedMode, isShouldBeReused, logger, setBinds, setCommand, setCommand, setCommandParts, setCopyToFileContainerPathMap, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setHostAccessible, setImage, setLabels, setLinkedContainers, setLogConsumers, setNetwork, setNetworkAliases, setNetworkMode, setPortBindings, setPrivilegedMode, setShmSize, setStartupAttempts, setStartupCheckStrategy, setTmpFsMapping, setVolumesFroms, setWaitStrategy, setWorkingDirectory, start, starting, stop, succeeded, toString, waitingFor, waitUntilContainerStarted, withAccessToHost, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withCopyToContainer, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withImagePullPolicy, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withReuse, withSharedMemorySize, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withTmpFs, withVolumesFrom, withWorkingDirectoryclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddFileSystemBind, followOutput, followOutput, self, withEnv, withFileSystemBindcopyFileFromContainer, copyFileToContainer, copyFileToContainer, execInContainer, execInContainer, getBoundPortNumbers, getContainerIpAddress, getCurrentContainerInfo, getFirstMappedPort, getHost, getLogs, getLogs, getMappedPort, isCreated, isHealthy, isRunningpublic SplunkContainer(@NonNull java.lang.String dockerImageName)
public SplunkContainer(DockerImageName dockerImageName)
public SplunkContainer withPassword(java.lang.String password)
password - Password to setpublic SplunkContainer withHecToken(java.lang.String hecToken)
hecToken - Token to setpublic SplunkContainer withSplunkdSslDisabled()
public SplunkContainer withDefaultsFile(Transferable defaults)
More information about the defaults file can be found here:
https://splunk.github.io/docker-splunk/ADVANCED.html#runtime-configuration
defaults - A Splunk defaults file to copy to container.