Getting Data In

How can I prevent reindexing events after a reinstall of universal forwarder

gesa_behrens
Path Finder

I am working on a docker for a universal forwarder. The docker worked well until I reconfigured it for automatic restart.
This forwarder monitors a file outside of the docker.
Now when I restart the docker, the forwarder (as far as I understand the system) will reread the whole file because there is no 'last-read-mark' in a newly build forwarder. Because of this I set followTail=1. Missing a few events in our scenario is not as bad as having all old events double. But now I do not get any events at all.
The file I am monitoring does not have very much traffic, only about 500 entries per day.
In internal index I found the following entries like this for my monitored file, but cannot interpret them :
07-11-2019 09:15:48.586 +0000 INFO Metrics - group=per_source_thruput, series="/dataqualityservices/logs/behaviour.log", kbps=0.02759523914898141, eps=0.09677234550875673, kb=0.85546875, ev=3, avg_age=0.6666666666666666, max_age=2

Can someone help me here please?

0 Karma
1 Solution

tiagofbmm
Influencer

You can save the fishbucket database from $SPLUNK_HOME/var/lib/fishbucket and replace it in the new instance

View solution in original post

0 Karma

tiagofbmm
Influencer

You can save the fishbucket database from $SPLUNK_HOME/var/lib/fishbucket and replace it in the new instance

0 Karma

gesa_behrens
Path Finder

Thanks for the quick answer, I will try that.
I have encountered another problem in the meantime which I have to solve first, so it will take a while until I can do that

0 Karma

gesa_behrens
Path Finder

tried it and worked, thanks

0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...