Getting Data In

What port does the forwarder need opened to the indexers?

williamiamvsi
Engager

Im trying to put in firewall requests for my forwarders. I will need them to communicate back to the indexers to send data, but I don't know what port they use. 8089,8000,8080,9997???

Tags (3)
0 Karma
1 Solution

pwattssplunk
Splunk Employee
Splunk Employee

Forwarder to Indexer communication is done over 9997

View solution in original post

tgow
Splunk Employee
Splunk Employee

Actually 9997 is the default port but you can configure the Forwarder to communicate on any port above 1024.

pwattssplunk
Splunk Employee
Splunk Employee

Forwarder to Indexer communication is done over 9997

patterc
Path Finder

I'd like to add that this answer is half correct. The Indexers RECEIVE data on port 9997, but the Universal Forwarder and Heavy Forwarder SEND the data over a random port.

Within the packet structure, the SRC will be the [ForwarderIP]:[random port] and the DSC will be [Indexer IP]:9997

0 Karma

bmacias84
Champion

I would also open port 8089 from yoru Search Heads or Indexers to UF, HF, or LFs. (Indexer, Search Head, UF, HF, or LF) If you plan on using the CLI. Also this port is required for the (default conf) Deployment Server.

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...