Get notification once data indexing is completed using logstash

HI,

I am trying to get notification once data indexing is completed, so that I can add email plugin to send an email that data indexing is completed.

So I would like to know if logstash log somewhere that data indexing is completed.

Please share your ideas and opinion on this.

Thank you.

Indexing of what? What's the data source? The typical answer is "no" since Logstash has no idea of knowing when the job is done.

Hi Magnus,

Thanks for reply.

Actually I am using Logstash-5.4.2 to load the CSV file into Elasticsearch. And I wanted to check if there is any solution that I can get notified when the file gets loaded completely.

Thank you.

There's nothing built in for that but you can write a simple script that monitors the sincedb file; see https://stackoverflow.com/a/33146636/414355.

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