Getting Data In

How logging from different sources works when there is network outage?

akasmika
Loves-to-Learn

Hi Splunkers,

I would like to know what happens to logging in below scenarios when there is an outage. I would like to know if splunk restores logging when the systems are back from outage or does it lose the logs.

1. logs are getting forwarded from an app

2.  synced from an S3 bucket

3. pulled via API

4. data coming through heavy forwarder

Thanks

Labels (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

It all depends on the particular mechanism of transporting logs from the source to the forwarder.

In general, the forwarder has a configurable buffer in which it stores events destined for the indexer(s) or upstream forwarder.

But whether data will get "filled" is up to the input. If it's a simple sylog input, especially UDP one, the source will most probably not retransmit the events. If it's a scripted/modular input, it's up to the script's author (but usually the input is able to "catch up").

It also depends on the duration of the outage because even if the input is in theory able to catch up but the data gets removed (rotated out) from the source, you will have gaps.

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 ...