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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...