Getting Data In

Splunk Universal Forwarder

garima_chauhan
Path Finder

Hi,
I wanted to know that, if splunk Universal forwarder service is stopped for some time and then started again. When it starts forwarding the data again, does it forward the data from the time when it was stopped?
More specifically, how many days' data would the universal forwarder forward,once its service is started again,if the service was stopped for a longer duration, say 10 days or so?

Tags (1)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

If you stop the UF for a while and restart later it depends on its input configuration and the sources what exactly happens. For example, ten days later the logfile you're monitoring may have been rotated away and potentially even deleted. For rotation you could expand the monitored path to include rotated filenames (usually normal_name.log.1 and so on), but for deletion there's nothing the UF can do. As long as the data is still available in the configured place the UF would go back as far as the time it last ran.

Note, the link provided by linu talks about indexers being down rather than forwarders. No forwarder-based queueing can help you while the forwarder is down.

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!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...