Getting Data In

route attribute in inputs.conf

splunkn
Communicator

Can someone could explain the route attribute in inputs.conf

[splunktcp]
route = haskey..

What is matching rule here mentioned

Tags (2)
0 Karma

Jeremiah
Motivator

The only time I've seen that setting used is when you want to re-parse cooked data. If you have data from a heavy forwarder going to an indexer, normally none of the indexer's index time props and transforms apply. This is because the data has already been 'cooked' (processed) by the heavy forwarder. You can change the route to force data to pass through parsing queues it would normally skip.

https://answers.splunk.com/answers/97918/reparsing-cooked-data-coming-from-a-heavy-forwarder-possibl...
https://answers.splunk.com/answers/305740/why-is-data-received-from-a-remote-splunk-instance.html
https://answers.splunk.com/answers/5528/forwarding-select-data-in-my-environment.html

Don't confuse this setting with more commonly used data routing settings, where you might want to forward some data to a 3rd party, to a different set of indexers, or drop a subset of events:

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

Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...