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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...