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!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...