All Apps and Add-ons

Forwarder Unix TA results to two indexers

phoenixdigital
Builder

Hi All,

I have installed the Unix TA onto a Universal Forwarder and am wanting its results be send to two independent indexers.

I have installed the Unix TA on a universal forwarder and activated it.

Tow send the same data to two indexers you use defaultGroup in outputs.conf from the documentation
http://docs.splunk.com/Documentation/Splunk/6.1.2/Admin/Outputsconf

So I have the following configs but the data is still only appearing at the indexer1 and not the indexer2.

vi /opt/splunkforwarder/etc/system/local/outputs.conf

[tcpout]
defaultGroup=indexer1,indexer2

[tcpout:indexer1]
server=10.10.10.10:9997
compressed=true

[tcpout:indexer2]
server=10.10.10.12:9997
compressed=true

inputs.conf in system probably not important for this but I thought I would include it for completeness. This works btw and the data goes to the correct indexers.

vi /opt/splunkforwarder/etc/system/local/inputs.conf

[default]
host = forwarder1

[monitor:///var/log/info.log]
disabled = false
followTail = 0
host = forwarder1
sourcetype = holdingRegisters
_TCP_ROUTING = indexer1

[monitor:///var/log/info-alt.log]
disabled = false
followTail = 0
host = forwarder1
sourcetype = holdingRegisters
_TCP_ROUTING = indexer2
0 Karma
1 Solution

phoenixdigital
Builder

Simple error. I didn't have the app installed on indexer2 which means that the index did not exist for the Unix TA. So the data had nowhere to go.

Installed the app and everything is working as expected.

View solution in original post

0 Karma

phoenixdigital
Builder

Simple error. I didn't have the app installed on indexer2 which means that the index did not exist for the Unix TA. So the data had nowhere to go.

Installed the app and everything is working as expected.

0 Karma
Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...