Security

Why splunkweb starts on Windows after restarting the indexers, despite defining startwebserver = 0?

ollie920049
Path Finder

I have explicitly defined startwebserver = 0 in an app,

C:/Program Files/Splunk/bin>splunk cmd btool web list --debug | grep startwebserver

C:/Program Files/Splunk/etc/slave-apps/all_indexers/default/web.conf
   startwebserver = 0

As you can see, it is prioritized correctly and nothing appears to be overwriting it.

However, if I restart the indexers, the web service comes up.

Note this is a Windows installation.

Anybody got any ideas what might be causing this?

Thanks in advance

Tags (2)
0 Karma

gfuente
Motivator

Hello

You should put it in a local folder, for example

C:/Program Files/Splunk/etc/slave-apps/all_indexers/local/web.conf

To avoid overriding issues, and as a best practice you should never put you custom configurations in the default folder

Regards

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...