Deployment Architecture

Running splunk web on two ports simultaneously

anoopambli
Communicator

Is there anyway we can run splunk web on two different ports on a server? as an example we have splunk running on a server at 8000 port and web is accessible at http://:8000. One of my customer says the splunk page was also accessible in 3000 port earlier.

How do we do that? what is the configuration for it?

0 Karma

bmacias84
Champion

Ok, Splunk doesn't let you bind multiple port for the webserver (Not that I know of). You have a few options, use some solution proxy, Load Balancer, or iptables to forward the request. While there are probably more options I go with iptables. Here is a example using iptables.


#Linux
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 3000 -j REDIRECT --to-port 8000

Additional Reading:

Hope this help or gets you started. Dont forget to vote up and accept answers that help.

Cheers,

0 Karma

anoopambli
Communicator

nix installation.

0 Karma

bmacias84
Champion

Yes, it is possible. Are you running nix or win installation?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...