How to drop data in logstash if ES index is not available

Hi All,

We do not want logstash to create indexes since we are creating indexes with custom settings / mappings. some times we are getting the data from beats to logstash but the es index is not available.

if the index is not available the logstash is keep on retrying the data to push it to elastic and not processing new data

here am trying to find a way to drop the data in logstash if the es index is not available for those events.

please help me is there any way to achieve this in logstash

Thanks,

Not that I know of. logstash has an at-least-once delivery model.

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