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 Smartness with Brandon Sternfield | Episode 3

Hello and welcome to another episode of "Splunk Smartness," the interview series where we explore the power of ...

Monitoring Postgres with OpenTelemetry

Behind every business-critical application, you’ll find databases. These behind-the-scenes stores power ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...