Getting Data In

setting forwarder with a priority list of indexers

conorglynn
Explorer

If i have 2 Datacenter sites, each with its own single indexer.
Can I setup up my forwarders in site1 to forward to indexer_site1 as default, but if indexer_site1 goes down can it then forward to indexer_site2. And vice versa for splunk forwarders in site2.
Hope that makes sense, in other works I always want my forwarders to log to their local indexer unless that local indexer in in contactable.
I presume this is a config in outputs.conf, any help would be appreciated.
thanks, conor

Tags (3)
0 Karma

MuS
SplunkTrust
SplunkTrust

Hi conorglynn

other question: what will happen to the data from site1 on indexer_site2 if indexer_site1 is back online?

if you don't mind / care where the data is indexed, then setup load balancing all the time like in the docs written for setup load balancing

regards

conorglynn
Explorer

thanks for leading me in the right direction MuS,
I think this is the best solution to have it permanently load balanced.
c

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...