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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...