Note: I haven't tested this... the syntax should be correct, but I'd double-check on a QA cluster or index first, just to make sure you don't delete everything
If you don't end up using the DBQ plugin, you can formulate bulk requests which list large batches of deletes. That'll be considerably faster than issuing individual deletes.
Lastly, if you separate your data into multiple indices (one index for "syslog", another for "log"), you can just delete the entire index. This will be the fastest, as deleting an entire index is very quick... just a file system delete. Whereas deleting documents requires a complicated set of tombstoning and merging out dead docs later.
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.