This throwing following log:
{"found":false,"_index":"logstash-databases-info","_type":"mytype1","_id":"_query","_version":1,"_shards":{"total":2,"successful":1,"failed":0}}
And there is the Delete By Query API which deletes documents matching a query
curl -X POST 'http://localhost:9200/logstash-databases-info/mytype1/_delete_by_query -d '{ .... }'
Also, when posting on these forums, please include the version of Elasticsearch you are running, and take the time to format your post correctly (e.g. marking terminal commands as code blocks) using the buttons at the top of the editor window.
In the future please include your Elasticsearch version in your post. Things change quite dramatically between releases and we will end up giving you the wrong advice if we guess the wrong version.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.