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!

How much can you really learn in 3 minutes?

Observability can certainly be hard to understand – there's a lot of jargon and buzzwords and it seems to ...

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...