public static final class SplunkLogDriverProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SplunkLogDriverProps
SplunkLogDriverProps
SplunkLogDriverProps.Builder, SplunkLogDriverProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCaName()
Name to use for validating server certificate.
|
java.lang.String |
getCaPath()
Path to root certificate.
|
java.util.List<java.lang.String> |
getEnv()
The env option takes an array of keys.
|
java.lang.String |
getEnvRegex()
The env-regex option is similar to and compatible with env.
|
SplunkLogFormat |
getFormat()
Message format.
|
java.lang.Boolean |
getGzip()
Enable/disable gzip compression to send events to Splunk Enterprise or Splunk Cloud instance.
|
java.lang.Number |
getGzipLevel()
Set compression level for gzip.
|
java.lang.String |
getIndex()
Event index.
|
java.lang.String |
getInsecureSkipVerify()
Ignore server certificate validation.
|
java.util.List<java.lang.String> |
getLabels()
The labels option takes an array of keys.
|
Secret |
getSecretToken()
Splunk HTTP Event Collector token (Secret).
|
java.lang.String |
getSource()
Event source.
|
java.lang.String |
getSourceType()
Event source type.
|
java.lang.String |
getTag()
By default, Docker uses the first 12 characters of the container ID to tag log messages.
|
SecretValue |
getToken()
(deprecated) Splunk HTTP Event Collector token.
|
java.lang.String |
getUrl()
Path to your Splunk Enterprise, self-service Splunk Cloud instance, or Splunk Cloud managed cluster (including port and scheme used by HTTP Event Collector) in one of the following formats: https://your_splunk_instance:8088 or https://input-prd-p-XXXXXXX.cloud.splunk.com:8088 or https://http-inputs-XXXXXXXX.splunkcloud.com.
|
java.lang.Boolean |
getVerifyConnection()
Verify on start, that docker can connect to Splunk server.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getUrl()
SplunkLogDriverProps
getUrl
in interface SplunkLogDriverProps
public final java.lang.String getCaName()
SplunkLogDriverProps
Default: - The hostname of the splunk-url
getCaName
in interface SplunkLogDriverProps
public final java.lang.String getCaPath()
SplunkLogDriverProps
Default: - caPath not set.
getCaPath
in interface SplunkLogDriverProps
public final SplunkLogFormat getFormat()
SplunkLogDriverProps
Can be inline, json or raw.
Default: - inline
getFormat
in interface SplunkLogDriverProps
public final java.lang.Boolean getGzip()
SplunkLogDriverProps
Default: - false
getGzip
in interface SplunkLogDriverProps
public final java.lang.Number getGzipLevel()
SplunkLogDriverProps
Valid values are -1 (default), 0 (no compression), 1 (best speed) ... 9 (best compression).
Default: - -1 (Default Compression)
getGzipLevel
in interface SplunkLogDriverProps
public final java.lang.String getIndex()
SplunkLogDriverProps
Default: - index not set.
getIndex
in interface SplunkLogDriverProps
public final java.lang.String getInsecureSkipVerify()
SplunkLogDriverProps
Default: - insecureSkipVerify not set.
getInsecureSkipVerify
in interface SplunkLogDriverProps
public final Secret getSecretToken()
SplunkLogDriverProps
The splunk-token is added to the SecretOptions property of the Log Driver Configuration. So the secret value will not be resolved or viewable as plain text.
Please provide at least one of token
or secretToken
.
Default: - If secret token is not provided, then the value provided in `token` will be used.
getSecretToken
in interface SplunkLogDriverProps
public final java.lang.String getSource()
SplunkLogDriverProps
Default: - source not set.
getSource
in interface SplunkLogDriverProps
public final java.lang.String getSourceType()
SplunkLogDriverProps
Default: - sourceType not set.
getSourceType
in interface SplunkLogDriverProps
public final SecretValue getToken()
SplunkLogDriverProps
The splunk-token is added to the Options property of the Log Driver Configuration. So the secret value will be resolved and viewable in plain text in the console.
Please provide at least one of token
or secretToken
.
Default: - token not provided.
getToken
in interface SplunkLogDriverProps
public final java.lang.Boolean getVerifyConnection()
SplunkLogDriverProps
Default: - true
getVerifyConnection
in interface SplunkLogDriverProps
public final java.util.List<java.lang.String> getEnv()
BaseLogDriverProps
If there is collision between label and env keys, the value of the env takes precedence. Adds additional fields to the extra attributes of a logging message.
Default: - No env
getEnv
in interface BaseLogDriverProps
public final java.lang.String getEnvRegex()
BaseLogDriverProps
Its value is a regular expression to match logging-related environment variables. It is used for advanced log tag options.
Default: - No envRegex
getEnvRegex
in interface BaseLogDriverProps
public final java.util.List<java.lang.String> getLabels()
BaseLogDriverProps
If there is collision between label and env keys, the value of the env takes precedence. Adds additional fields to the extra attributes of a logging message.
Default: - No labels
getLabels
in interface BaseLogDriverProps
public final java.lang.String getTag()
BaseLogDriverProps
Refer to the log tag option documentation for customizing the log tag format.
Default: - The first 12 characters of the container ID
getTag
in interface BaseLogDriverProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()