Read files and filebeat status


#1

I need to know the status of files and filebeat, like how many files are opening, how many harvesters are running, which file is closed because close_eof is enable e.g. Is there any method to read message show in console?


(Andrew Cholakian) #2

Have you tried lsof or similar? That can show you the number of in-use FDs for a process.

May I ask why you need that exact info?


#3

I am developing a project for uploading log files and analysing witk ELK. I upload all log files to my server by one time and use filebeat to collect the log messages to ELK. So I need to know when dose the collecting finish, and after that I can use Kibana to view it, which means I need a API to read collecting status. I think it is a high-frequent applying situation and it is very useful to know collecting status.


(system) #4

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