Getting Data In

How to forward data from one Splunk indexer to another indexer?

gekoner
Communicator

I have created an outputs.conf on my Indexer. With the following stanza.

[output]
defaultGroup = indexerB

[indexAndForward]
index=true
selectiveIndexing=false

[tcpout:indexerB]
server = 192.168.1.2:9997

This is not having the intended results. I'm expecting all data being sent that particular Splunk Indexer to be forwarded to indexerB on dst port tcp/9997.
This is the only output we see;
--splunk-cooked-mode-v3--
server01234 8089 @ _s2s_capabilities ack=0;compression=0 _raw --splunk-cooked-mode-v3-- server01234

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Your input port on the receiver needs to be defined as "splunktcp" not "tcp".

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!

Keep the Learning Going with the New Best of .conf Hub

Hello Splunkers, With .conf26 getting closer, there’s already a lot of excitement building around this year’s ...

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 ...