How can i create file monitoring in ELK

Can you someone suggest me to configure file monitoring in ELK side.
i have elastic agent is running on my Logstash and created the integration as but data is not ingesting.

Can you please help me to ingesting data side.

Thanks,

To find the root cause you should go step by step.

elastic agent => logstash => elasticsearch

If your data pipeline is like the following you should go one by one to understand where is the issue. For example, start by examining the elastic agent logs to see if there is any error in the logs.