Getting Data In

Why is Splunk OneShot not working?

sini
Explorer

Hi all,

Having a strange issue. splunk add oneshot suddenly stops working.

I have tried to re-read a file using 

splunk add oneshot -source filename.csv -index test -sourcetype mysourcetype

-> Oneshot 'filename.csv' added

After I deleted the events from index "test". However suddenly events do not appear anymore. Search for with "All Time" scope always returns 0 results. I cannot find any problems in the _internal log for the forwarder.

Regards

Labels (1)
0 Karma

sini
Explorer

If I copy the file to another directory it starts working again, I can oneshot again and again and the results are there and duplicating with each oneshot in the test index. I guess it's one of the many, many bugs. According to btprobe the file hash is also not found in the fishbucket. spunkd is running as root so it cannot be a permission issue either and oneshot was also carried out with root permissions.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...