Splunk Search

default indexes to both target group

ansif
Motivator

How can we forward internal,_audit ,* indexes to both target groups?

In outputs.conf, create stanzas for each receiving indexer:

 [tcpout:systemGroup]
 server=server1:9997
 [tcpout:secutityGroup]
 server=server2:9997

In inputs.conf, specify _TCP_ROUTING to set the stanza in outputs.conf that each input should use for routing:

 [monitor://.../file1.log]
 _TCP_ROUTING = systemGroup
 [monitor://.../file2.log]
 _TCP_ROUTING = securityGroup

The above configuration help us to route events to seperate indexers, but how can we send internal indexes to both indexers?

Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @ansif,
as I answered in the previous question, if you don't configure a default tcpout in outputs.conf and you don't insert _TCP_ROUTING in inputs.conf you send logs to all the tcpout configured stanzas
This doesn't consume license but consumes storage, so you have to understand if you really need or not duplicating internal logs (I don't think!).

Ciao.
Giuseppe

0 Karma

ansif
Motivator

Storage is not an issue since both parties(Security & Operations team works individually and license) need internal logs to troubleshoot.

Can I have an example configuration please? Can I just leave all Splunk internal indexes it is in the default dir
as it is to forward to both Indexer group or I need to create one default group?

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...