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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...