All Apps and Add-ons

splunk add oneshot behavior

dshakespeare_sp
Splunk Employee
Splunk Employee

We have loaded a 16GB file using oneshot from the command line of a universal forwarder. When the UF was restarted, the data load stopped and did not resume after restart. Is this the behavior of oneshot? Does oneshot not use the fishbucket or stash?

Tags (1)

dshakespeare_sp
Splunk Employee
Splunk Employee

This is the correct behaviour of oneshot. It is designed as a "onetime" input. We read the source from start of file and stop when we reach EOF. We do not expect check the file again for growth, so there is no need to use fishbucket or stash

aholzer
Motivator

Given that you answered your own question it would have been nice if you added the link to the documentation where you found the answer. Good job on finding the answer though.

0 Karma

Glenn
Builder

It doesn't answer the question fully. If the file was still being loaded when the instance was restarted (ie. it was huge and took a long time), the indexing will not proceed through the rest of the file and you will get a partial upload.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...