pulkit007
(Pulkit Sharma)
July 24, 2020, 11:54am
1
https://www.elastic.co/guide/en/beats/filebeat/current/how-filebeat-works.html#_how_does_filebeat_keep_the_state_of_files
The above link tells that "For each file, Filebeat stores unique identifiers to detect whether a file was harvested previously."
Now, my questions are :
What is the name of unique identifier which filebeat uses to keep track of previously harvested files.
Where can we find the value of this unique identifier?
mtojek
(Marcin Tojek)
July 27, 2020, 8:40am
2
Well, I assume this is internal implementation of harvesters, you need to take a look at the source code.
Why exactly do you need this information? Are you struggling with log rotation?
pulkit007
(Pulkit Sharma)
July 27, 2020, 8:59am
3
I am struggling with Filebeat processing all logs again for every Pod Restart in Kubernetes.
I have shared my problem here : Duplicate Entries in Filebeat Registry File For Kubernetes Pod Restart
system
(system)
Closed
August 24, 2020, 10:59am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.