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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...