[Filebeat 7.12] [Windows] Failed to open store 'filebeat' after incorrect Windows reboot

Hi!
Filebeat 7.12 (x86) on Windows machine cannot start after incorrect OS reboot (possibly after power supply lost).
Log shows that registry data files are corrupted. The only way I found to manually start filebeat is deleting registry data dir.

2021-04-08T18:50:04.462+0300	INFO	instance/beat.go:468	filebeat start running.
2021-04-08T18:50:04.472+0300	INFO	[monitoring]	log/log.go:117	Starting metrics logging every 30s
2021-04-08T18:50:05.125+0300	ERROR	beater/filebeat.go:351	Could not init registrar: failed to open store 'filebeat': corrupted data file: invalid character 'v' after object key
2021-04-08T18:50:05.191+0300	INFO	[monitoring]	log/log.go:152	Total non-zero metrics	{"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":280,"time":{"ms":280}},"total":{"ticks":763,"time":{"ms":763},"value":763},"user":{"ticks":483,"time":{"ms":483}}},"handles":{"open":128},"info":{"ephemeral_id":"e45fc94e-c59b-44f9-b521-df368d79062a","uptime":{"ms":8311}},"memstats":{"gc_next":14358272,"memory_alloc":12650408,"memory_sys":24988668,"memory_total":42061160,"rss":42430464},"runtime":{"goroutines":14}},"filebeat":{"harvester":{"open_files":0,"running":0}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"active":0},"type":"elasticsearch"},"pipeline":{"clients":0,"events":{"active":0}}},"registrar":{"states":{"current":0}},"system":{"cpu":{"cores":2}}}}}
2021-04-08T18:50:05.192+0300	INFO	[monitoring]	log/log.go:153	Uptime: 8.3344767s
2021-04-08T18:50:05.192+0300	INFO	[monitoring]	log/log.go:130	Stopping metrics logging.
2021-04-08T18:50:05.258+0300	INFO	instance/beat.go:474	filebeat stopped.
2021-04-08T18:50:05.273+0300	ERROR	instance/beat.go:971	Exiting: failed to open store 'filebeat': corrupted data file: invalid character 'v' after object key

That's interesting. Would you mind opening a GH issue for this problem?

Done! [Filebeat 7.12] [Windows] "Failed to open store 'filebeat': corrupted data file" after incorrect Windows reboot · Issue #25135 · elastic/beats · GitHub

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.