Skip to content

Commit

Permalink
Use main as default index and disable metrics by default for Splunk…
Browse files Browse the repository at this point in the history
… platform (#305)

Metrics need another index prepared and to `splunkPlatform.metrics_index`. That's why metrics need to be disabled by default, so the helm chart can be used only with `splunkPlatform.endpoint` and `splunkPlatform.token` parameters.

Co-authored-by: Dmitrii Anoshin <[email protected]>
  • Loading branch information
rockb1017 and dmitryax authored Nov 18, 2021
1 parent 5f6e7a3 commit 77d701a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions helm-charts/splunk-otel-collector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ splunkPlatform:
token: ""

# Name of the Splunk event type index targeted. Required when ingesting logs to Splunk Platform.
index: ""
index: "main"
# Name of the Splunk metric type index targeted. Required when ingesting metrics to Splunk Platform.
metrics_index: ""
# Optional. Default value for `source` field.
Expand Down Expand Up @@ -62,10 +62,11 @@ splunkPlatform:
# The file will be stored as a secret in kubernetes.
caFile: ""

# Options to disable particular telemetry data types that will be sent to
# Splunk Platform.
# Options to disable or enable particular telemetry data types that will be sent to
# Splunk Platform. Only logs collection is enabled by default.
logsEnabled: true
metricsEnabled: true
# If you enable metrics collection, make sure that `metricsIndex` is provided as well.
metricsEnabled: false

# Field name conventions to use. (Only for those who are migrating from Splunk Connect for Kubernetes helm chart)
fieldNameConvention:
Expand Down

0 comments on commit 77d701a

Please sign in to comment.