Refine your search:

I have a Splunk instance where I do not need the web services. How can I disable the internal Splunk web server from running?

asked 15 Jan '10, 02:03

Simeon's gravatar image

Simeon ♦
4.1k91034
accept rate: 26%


4 Answers:

You can do this via manager.

Login to splunkweb and click on Manager. From the Manager homepage, click on system settings, then general settings.

Under the splunk web section of that form, there are three options, one of them being the one you want.

Splunk Web Run Splunk Web Yes No

Just change Run Splunk Web to No, and submit the form, you will need to restart and after that you will no longer have a splunkweb front end running on your server.

You can also do this via the cli with: ./splunk disable webserver, then restart splunk and it disabled.

To turn this back on, you won't be able to do this via splunkweb (since you just turned splunkweb off) you will need to use the following cli command:

./splunk enable webserver, then restart splunk and it will be back up.

link

answered 15 Jan '10, 02:10

benstraw's gravatar image

benstraw
7151418
accept rate: 80%

On Windows, splunkweb is also a formally defined service. You can stop it from running and/or starting from the service manager UI (Admin tools -> Services or right-click on My Computer).

Or you can use the CLI tool 'sc' (e.g. 'sc stop splunkweb' or 'sc config splunkweb start= disabled' (the space is required after '='))

link

answered 15 Jan '10, 17:34

cervelli's gravatar image

cervelli ♦
8983713
accept rate: 42%

thanks,

./splunk disable webserver

./splunk enable webserver

easy and fast!

link

answered 26 May '10, 12:34

pmelchiori's gravatar image

pmelchiori
25128
accept rate: 0%

You should also be able to set this in the web.conf file with the following:

[settings]
startwebserver = 0
link

answered 05 Apr '12, 13:25

colinj's gravatar image

colinj
18118
accept rate: 0%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×68

Asked: 15 Jan '10, 02:03

Seen: 4,916 times

Last updated: 05 Apr '12, 13:25

Copyright © 2005-2012 Splunk Inc. All rights reserved.