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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...