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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...