All Apps and Add-ons

SC4S config (env_file) syntax question

ilhwan
Path Finder

We had a system integrator install and configure SC4S, and I'm trying to understand the configuration afterwards.  I've been going through this document, and I'm confused by something pretty early on.

The document says I should see the following in env_file:

SC4S_DEST_SPLUNK_HEC_DEFAULT_URL=https://splunk.smg.aws:8088
SC4S_DEST_SPLUNK_HEC_DEFAULT_TOKEN=a778f63a-5dff-4e3c-a72c-a03183659e94
#Uncomment the following line if using untrusted SSL certificates
#SC4S_DEST_SPLUNK_HEC_DEFAULT_TLS_VERIFY=no

Instead, this is what I see:

 

 

 

SPLUNK_HEC_URL=<***my urls***>
SPLUNK_HEC_TOKEN=<***my token***>
#Uncomment the following line if using untrusted SSL certificates
SC4S_DEST_SPLUNK_HEC_TLS_VERIFY=no

 

 

 

This clearly works, but I'd like to understand why.  Is "SPLUNK_HEC_URL" functionally equivalent to "SC4S_DEST_SPLUNK_HEC_DEFAULT_URL" and likewise "SPLUNK_HEC_TOKEN"?  Is the documentation old, or is my sc4s old?

Labels (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...