File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
deployments/chef/templates Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
SPLUNK_CONFIG=<%= node['splunk_otel_collector']['collector_config_dest'] %>
3
3
4
4
# Access token to authenticate requests.
5
- SPLUNK_ACCESS_TOKEN=<%= node.run_state[ 'splunk_otel_collector']&.[]( 'splunk_access_token') || node['splunk_otel_collector']['splunk_access_token'] %>
5
+ SPLUNK_ACCESS_TOKEN=<%= node.run_state.dig( 'splunk_otel_collector', 'splunk_access_token') || node['splunk_otel_collector']['splunk_access_token'] %>
6
6
7
7
# Which realm to send the data to.
8
8
SPLUNK_REALM=<%= node['splunk_otel_collector']['splunk_realm'] %>
@@ -17,7 +17,7 @@ SPLUNK_INGEST_URL=<%= node['splunk_otel_collector']['splunk_ingest_url'] %>
17
17
SPLUNK_HEC_URL=<%= node['splunk_otel_collector']['splunk_hec_url'] %>
18
18
19
19
# Splunk HEC token.
20
- SPLUNK_HEC_TOKEN=<%= node.run_state[ 'splunk_otel_collector']&.[]( 'splunk_hec_token') || node['splunk_otel_collector']['splunk_hec_token'] %>
20
+ SPLUNK_HEC_TOKEN=<%= node.run_state.dig( 'splunk_otel_collector', 'splunk_hec_token') || node['splunk_otel_collector']['splunk_hec_token'] %>
21
21
22
22
# Total memory in MIB to allocate to the collector.
23
23
# Automatically configures the memory limit.
You can’t perform that action at this time.
0 commit comments