About registry file


(github524) #1

I'm using filebeat version 5.0.0-alpha5 (amd64), libbeat 5.0.0-alpha5 in following config:

paths:
- /pasth/to/access.log.*
clean_removed: true
close_inactive: 2m
(snip)

I launch filebeat at '2016/8/26 11:30'.
The following log(/var/log/filebeat/filebeat) was output.

2016-08-26T11:17:00+09:00 ERR State for /pasth/to/access.log.2016080705-50 should have been dropped, but couldn't as state is not finished.
2016-08-26T11:17:00+09:00 ERR State for /pasth/to/access.log.2016080705-55 should have been dropped, but couldn't as state is not finished.
2016-08-26T11:17:00+09:00 ERR State for /pasth/to/access.log.2016080706-00 should have been dropped, but couldn't as state is not finished.
(snip)

I set 2 params(clean_removed, close_inactive) to config to remove this ERR State log.
If I am wrong, please tell me advise about this issue.


(ruflin) #2

If you use clean_removed you must also use close_removed otherwise removed files will only be closed after closed_inactive and you will see the above message.

We fixed in the last 2 days a error related to that. Could you try the nightly build to see if this still happens? https://beats-nightlies.s3.amazonaws.com/index.html?prefix=filebeat/


(github524) #3

Thank you for reply.
Excuse me, before I watch your message, I removed registry file and solved this issue.
I understand your comment.
I will try alpha6.


(system) #4

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