Splunk Enterprise

Same port for multiple functionalities?

PickleRick
SplunkTrust
SplunkTrust

Big warning at the beginning - it's not a question of "should I do that", it's not a question of best practices. I'm not going to do something like that in production (and probably not even in lab environment). It's purely a theoretical question.

As we all know, there is usually a separate port for deployment server, separate one for HEC, separate one for REST calls between SH(s) and indexer(s). I was wondering how much of those functionalities could be squashed into a single port (possibly with a help of an external reverse-proxy). I suppose HEC and DS could be really good candidates to squish together. Any others?

Just to make myself absolutely clear - I don't want it to be quick and well-performing. I'm just wondering if it would work at all.

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

I suspect it would not work at all.  The software probably is depending on the network to keep different types of requests apart.  IOW, there is no logic to read a packet, determine its type (HEC, management, etc), and route it to the appropriate process/thread.

---
If this reply helps you, Karma would be appreciated.
0 Karma

PickleRick
SplunkTrust
SplunkTrust

OK. Let me be more specific. I know that on the server's side you bind DS to one port, HEC to another and so on.

But if you put a rev-proxy in front of the server and route requests to proper background ports depending on the context path?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I be impressed if a reverse proxy could correct separate and route the requests properly, but I suppose it's possible.

---
If this reply helps you, Karma would be appreciated.
0 Karma

PickleRick
SplunkTrust
SplunkTrust

You can of course route the requests based on the Host header so as long as multiple names resolve to the same IP it should be pretty easy (I have multiple Splunk components - including multiple SH-clusters - WebUIs configured behind a single proxy).

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!

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

How to find the worst searches in your Splunk environment and how to fix them

Everyone knows Splunk is a powerful platform for running searches and doing data analytics. Your ...

Share Your Feedback: On Admin Config Service (ACS)!

Help Us Build a Better Admin Config Service Experience (ACS)   We Want Your Feedback on Admin Config Service ...