Recreate index from scratch with static file


(DFrant) #1

Hello,

I have a static log file for testing, and every time I recreated the index (for testing purpose), there is no data in the index.
I have to change the file name and restart the filebeat service.

Is there an option to recreate the index from scratch?

Thanks


(Andrew Kroh) #2

Filebeat stores state in a local registry file. You need to delete that file. It's normally at /var/lib/filebeat/registry.


(DFrant) #3

Thanks!


(system) #4

This topic was automatically closed after 21 days. New replies are no longer allowed.