Getting Data In

Why is Splunk not receiving on splunktcp 9997?

khagan
Path Finder

I have a Heavy Forwarder set to forward load balanced data to two Splunk indexers on 9997.

When I enable receiving on the indexers (via Settings -> Forwarding and Receiving -> Configure Receiving), no data is showing up.

Examining the splunkd.log on the forwarder and indexers shows the connection is being made with no errors.

If I enable a Data Input to listen to port 9997, I can see data showing up in the index, albeit cooked data, which isn't readable - so the data is making it to the Splunk server, but just not showing up when I configure it to receive from another Splunk.

What might be causing this?

0 Karma

rkirkw
Path Finder

For more troubleshooting info on receiving try this command:

splunk list inputstatus

This gives you a listing of every way an indexer is receiving data from each host and when

Hope this helps!!

0 Karma

somesoni2
Revered Legend

Can you provide the content of outputs.conf from your Heavy Forwarder? After enabling receiving on Forwarder, you would configure your forwarder to send data to those indexers on port 9997.

0 Karma

khagan
Path Finder
[tcpout]
defaultGroup=LB_peers

[tcpout:LB_peers]
server=xx.xx.xx.xx:9997,xx.xx.xx.xx:9997

The Forwarder is already configured to send to Splunk on 9997.

0 Karma

janderson19
Path Finder

I'm not really sure how to receive from a forwarder over Splunk web, but if you go into inputs.conf you can make sure you're receiving over splunktcp. If not, you can change it to Splunktcp.

0 Karma

khagan
Path Finder

Inputs.conf has it receiving on [splunktcp:9997]

0 Karma

janderson19
Path Finder

khagan
Path Finder

Yes, sorry, that is the format it is in.

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!

All Work and No Play? Not at .conf26! Unwind at These Evening Events

Between hands-on technical sessions, keynote reveals, and diving into live architectures, .conf26 is packed ...

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...

Level Up Your Workflow: Mastering Splunk Cloud Management via Terraform

Tech Talk Recap   From Chaos to Control: Scaling Splunk Cloud with Infrastructure as Code Managing apps in ...