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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...