Security

Running Splunkweb on localhost

mundus
Path Finder

What is the best practice for making Splunkweb listen only on localhost or 127.0.0.1?

Thx.

Craig

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

The "best" practice is up to you to determine, but you can make the SplunkWeb process only listen by setting server.sockethost = 127.0.0.1 in the web.conf file. If this is a concern to you, you may also want to use iptables or another firewall.

tmcwaters
Engager

Slight correction. The setting is server.socket_host not server.sockethost
Also setting it as
server.socket_host = localhost
allows for IPv6 support vs 127.0.0.1 which only works in IPv4

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...