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
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...