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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...