Getting Data In

TCP data input

athannie92
New Member

Hey I am trying to put data into my splunk using the TCP option and splunk is asking for my tcp port but I dont know what port to use. What should I put? Thank you

Tags (1)
0 Karma

MuS
SplunkTrust
SplunkTrust

Hi athannie92,

are your talking about recieving Splunk TCP inputs from universal forwarders? If so the default port will be 9997.

If you want Splunk to receive general TCP traffic as data input, you can set any free TCP port. There are some things to remember, if you run Splunk as non-root this port must be higher than 1024 and it must not be take by any other running process. Also check for any local firewall on your server which could block your port.

Ask your System Admin for help on getting a free port and local firewall.

hope this helps ...

cheers, MuS

Get Updates on the Splunk Community!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...