Getting Data In

Indexed logs and subset of logs into different indexes

splunkrocks2014
Communicator

Hi All, I am onboarding data from a heavy forwarder using Splunk TA.  Is it possible to

1) index all logs into one index and route to group A indexers 

2) index subset of logs into another index and route to group B indexers?

Thanks.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @splunkrocks2014,

yes it's possible but in this way, you pay twice the subset of logs sent to both the indexers.

Anyway, to route a subset od data to specific indexers see at https://docs.splunk.com/Documentation/Splunk/8.2.2/Forwarding/Routeandfilterdatad#Route_inputs_to_sp...

Ciao.

Giuseppe

0 Karma

splunkrocks2014
Communicator

Hi Giuseppe, thank you for the quick reply.  There is another challenge that I can only use one input from the TA to pull all events.  Need to break down the events to different indexes and groups of indexers.  

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @splunkrocks2014,

I know that you can use only one input, infact you cannot use two inputs on the same files because they don't work!

So you have to manually modify your outputs.conf as described in the above link and then modify the TAs containing the inputs to only one group on Indexers.

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