Getting Data In

Splitting indexes between multiple output groups

shadysplunker
Explorer

Hi,

We are collecting the logs directly though UF and HEC in the indexer cluster. All inputs are defined in Cluster Manager and then bundle is applied to indexers. 

Currently we are sending the data to Splunk indexers as well as to other output group. Following is the config of outputs.conf under peer-apps:

 

[tcpout]

indexandForward=true

 

[tcpout:send2othergroup]

server=.....

sslPassword=.....

sendCookedData=true

 

This config is currently sending the same data to both the outputs. Indexing locally and then forwarding to another group. 

Is there a way to keep some indexes to be indexed locally and some to be sent only to another group? I tried using props and transforms by including _TCP_ROUTING but it is not working at all. 

 

Thanks in advance!

 

Labels (4)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @shadysplunker,

did you followed the instructions at https://docs.splunk.com/Documentation/Splunk/9.2.1/Forwarding/Routeandfilterdatad#Route_inputs_to_sp... ?

see "Perform selective indexing and forwarding".

Ciao.

Giuseppe

0 Karma

shadysplunker
Explorer

Hi @gcusello,

I went through the documentation but could not find any example to route HTTP inputs. Will this still work if I plan to use "outputgroup=<string>" in inputs.conf of HEC?

 

//Yash

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @shadysplunker,

sorry, maybe I misunderstood.

please, describe better your requirements because tcpout is only for sending logs from a UF to an Indexer, why are you speaking of http? 

in the above link there's a description of performing a selective addressing of logs from an UF to IDXs.

Ciao.

Giuseppe

 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...