All Apps and Add-ons

How to send only certain indexes from a Search head to the Indexers but not all?

msmapper
Path Finder

Hi there,

I am looking to setup the tcpout config on my search heads to send my summary index and sos/internal indexes to our indexers but we have the PCI app and its add-on installed on the search heads as well. I wanted to know if there is any way to setup the tcpout configs to send the summary, internal and sos indexes and IGNORE all of the PCI related indexes on the search head.

Thanks
Jen

0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

try in outputs.conf

indexAndForward=true and setup a blacklist per index. (see .../system/default/outputs.conf)
see http://docs.splunk.com/Documentation/Splunk/6.0.2/Forwarding/Routeandfilterdatad#Forward_data_for_a_...
To be tested of course.

View solution in original post

0 Karma

darsho
New Member

Hello Jen,

Were you able to find the final configurations that needs to be done in outputs.conf ? I am facing the same challenge, as I want to forward from Search Head to indexer the internal indexes along with one specific index responsible for storing the noteable events.

Kind Regards,
MS

0 Karma

yannK
Splunk Employee
Splunk Employee

try in outputs.conf

indexAndForward=true and setup a blacklist per index. (see .../system/default/outputs.conf)
see http://docs.splunk.com/Documentation/Splunk/6.0.2/Forwarding/Routeandfilterdatad#Forward_data_for_a_...
To be tested of course.

0 Karma

msmapper
Path Finder

thanks yannk!

is both blacklist and whitelist required? initally i used the whitelist and got errors.

also can you explain the benefit of indexAndForward=true? the documentation wasn't very clear because it read like it would supercede the blacklist and forward all indexes.

here is an example of my outputs.conf

[tcpout:defaultGroup]
server = 10.244.4.185:9997
useACK=true
autoLB = true
forwardedindex.<1>.whitelist = _internal
forwardedindex.<2>.whitelist = sos
forwardedindex.<3>.whitelist = summary
forwardedindex.<4>.blacklist = notable
forwardedindex.<5>.blacklist = access_summary2

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...