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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...