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!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...