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!

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

🍂 Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...

Transform your security operations with Splunk Enterprise Security

Hi Splunk Community, Splunk Platform has set a great foundation for your security operations. With the ...

Splunk Admins and App Developers | Earn a $35 gift card!

Splunk, in collaboration with ESG (Enterprise Strategy Group) by TechTarget, is excited to announce a ...