Getting Data In

Configure selective indexing to send all logs to a dev indexer

sbattista09
Contributor

i am bit lost on selective indexing. I wanted to configure on of my prod indexers to send logs to a dev indexer and after reading up on some documents i feel i am missing something. below would be the config i would apply anyone have tips on what i am missing?

-Prod indexer-
outsputs.conf-
[indexAndForward]
index=true
selectiveIndexing=true

[tcpout:send_to_dev]
server = dev_indexer:9997

-inputs.conf-
add _INDEX_AND_FORWARD_ROUTING=send_to_dev to all inputs.conf stanzas on the prod indexer.

-Dev indexer inputs.conf-
add a inputs.conf stanza that will listen for prod_index:9997

0 Karma
1 Solution

tmarlette
Motivator

Try this article.

To send data to a separate indexer or set of indexers, you will need to use the _TCP_ROUTING setting in inputs.conf

http://docs.splunk.com/Documentation/Splunk/6.0.2/Forwarding/Routeandfilterdatad

View solution in original post

0 Karma

tmarlette
Motivator

Try this article.

To send data to a separate indexer or set of indexers, you will need to use the _TCP_ROUTING setting in inputs.conf

http://docs.splunk.com/Documentation/Splunk/6.0.2/Forwarding/Routeandfilterdatad

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...