All Apps and Add-ons

sending splunk db connect data to another indexing cluster

sbattista09
Contributor

I was hoping you can change just specific inputs in DB connect to send to a different indexing cluster. I do not see a outputs.conf in the db connect app files and i am not sure where to place something like a "_TCP_ROUTING = blah". has any one else accomplished this before?

This is how i have been doing it for syslogs-
outputs.conf in my HWF for syslogs:
[tcpout:idxbankA]
server = splunkidx01.bla.org:9993, splunkidx02.bla.org:9993, splunkidx03.bla.org:9993, splunkidx04.blah.org:9993
autoLBFrequency = 7
forceTimebasedAutoLB = true

inputs.conf
[udp://100.10.10.10:514]
index = blah
sourcetype = blah_blah_blah
connection_host = ip
disabled = 0
_TCP_ROUTING = idxbankA

Then they just send to a intermediate forwarder and get passed to different indexers in the _TCP_ROUTING = idxbankA. It works well so far.

For the UF's i just changed the outputs.conf via a deployment app to send to: splunkidx01.bla.org:9993, splunkidx02.bla.org:9993, splunkidx03.bla.org:9993, splunkidx04.blah.org:9993.

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...