I'm using filebeat to ship logs to logstash, and I want to know when it has finished shipping logs.
Is there a way to check when:
a) Filebeat has finished reading the log file (it's a static file, meaning it doesn't change or grow) and finished shipping
b) Logstash has stopped receiving data from filebeat? (Assuming I don't have a network problem)