Hi,
We are trying to install Filebeat 8.11 on a RHEL server. The installation was successful. However, the filebeat service fails to start. Can someone help me troubleshoot the issue. Any pointers will be greatly appreciated.
Here's the output of some of the checks that we ran (Server Names and IPs removed):
[root@ServerName log]# /usr/share/filebeat/bin/filebeat test config --path.config /etc/filebeat
Config OK
[root@ServerName filebeat]# /usr/share/filebeat/bin/filebeat test output --path.config /etc/filebeat
logstash: IP1:5055...
connection...
parse host... OK
dns lookup... OK
addresses: IP1
dial up... OK
TLS... WARN secure connection disabled
talk to server... OK
logstash: IP2:5055...
connection...
parse host... OK
dns lookup... OK
addresses: IP2
dial up... OK
TLS... WARN secure connection disabled
talk to server... OK
Nov 13 15:52:32 ServerName filebeat: {"log.level":"error","@timestamp":"2024-11-13T15:52:32.009Z","log.origin":{"file.name":"instance/beat.go","file.line":1307},"message":"Exiting: error decoding original data file '/var/lib/filebeat/registry/filebeat/data.json': json: cannot unmarshal object into Go value of type file.State","service.name":"filebeat","ecs.version":"1.6.0"}
Nov 13 15:52:32 ServerName filebeat: Exiting: error decoding original data file '/var/lib/filebeat/registry/filebeat/data.json': json: cannot unmarshal object into Go value of type file.State
Output of journalctl -xe -u filebeat: