After restarting my "afserver", filebeat did not autostart.....seems I forgot:
sudo update-rc.d filebeat defaults 95 10
When I discovered this after semeral hours, I started it. But a log file was not colleted correct afterwards - in fact, filebeat does not log data from it:
Other logs seems ok:
But looking at the registry file in, I can see the status for the file:
"/var/log/ping-kaf.txt":{"source":"/var/log/ping-kaf.txt","offset":143350,"FileStateOS":{"inode":393591,"device":64513}}
And the offset (bytes read from the file) is growing:
18:36 142692 18:37 142786 18:42 143350 ... ... 18:57 144196