How to handle nonexistent index in Logstash Elasticsearch filter

I'm getting the exception Failed to query elasticsearch for previous event in Logstash when I use the Elasticsearch filter plugin, because index is dynamic and I can't guarantee that it exists. I could do this with Ruby and use exception handling, but is there a simpler way to handle it using the Elasticsearch filter?

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