Getting Data In

Question about daisy chaining two indexers together

castle1126
Communicator

I have an instance where another group of people want to receive an exact copy of data that is indexed on my main Splunk server. I've modified the outputs.conf on my server and the second server receives the data and indexes accordingly.

I've come across a problem, though. My splunk environment is production, with a large number of sources being indexed on my server. The second server, though, has the tendency of being rebooted, services stopped, etc. This wreaks havoc in my production environment - when my server cannot forward it shuts down its listening ports, which causes all my forwarders to shut off their listening ports, and so on and so on.

Is there a way that I can tell my production system that if system #2 is down and forwarding is stopped to continue listening and indexing data?

Thanks!

Tags (2)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Well, you're not going to have an exact copy if you do this, and there's no easy way to get them synced back up, but you can set dropEventsOnQueueFull and maxQueueSize in outputs.conf to control how much and how long the primary indexer holds and waits for the secondary.

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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...