Parameters
The parent key for all of the following parameters is openshift4_splunk_forwarder.
fluentd
| type |
dictionary |
| default |
|
Fluentd pod parameters.
loglevel
| type |
string |
| default |
"info" |
Log level of the splunk-forwarder pod (docs.fluentd.org/deployment/logging).
sharedkey
| type |
string |
| default |
Vault reference |
A Vault reference pointing to the Vault secret containing the shared key for authentication (see docs.fluentd.org/input/forward).
# Adjust to your environment
instance=#INSTANCE_NAME
key="clusters/kv/${TENANT_ID}/${CLUSTER_ID}/openshift4-splunk-forwarder/${instance}/fluentd"
# Query for existing secrets first
vault kv get "${key}"
# If there are existing secrets, add your instance secrets:
vault kv patch "${key}" sharedkey=$(pwgen -s 32 1)
# If there is no pre-existing secret, create new:
vault kv put "${key}" sharedkey=$(pwgen -s 32 1)
ssl.cert
| type |
string |
| default |
"" |
The SSL certificate as a string.
See Create Fluentd Cert to generate the Fluentd certificate.
ssl.key
| type |
string |
| default |
Vault reference |
A Vault reference to the SSL private key.
See Create Fluentd Cert to generate the Fluentd certificate.
splunk
| type |
dictionary |
| default |
|
Parameters for Splunk integration.
token
| type |
string |
| default |
Vault reference |
A Vault reference pointing to the Vault secret containing the Splunk HEC token.
See Get Splunk Token to acquire the HEC token.
insecure
| type |
boolean |
| default |
true |
If this value is set to true the certificates of Splunk server aren’t validated.