I use some watches to monitor incoming data on a production system. Therefore I created a dashboard (found it on github). Before installing the correct watches I tried some stupid stuff which now appears in the .watcher-history-* index. Can I remove data from this index? How would I do remove all data for a watch named "some-watch"?
the watch history basically contains information about each watch execution. Allows for good debugging, in case you are wondering why a watch action triggered or an email did not get send but you expected it to be (maybe the condition did not match, or sending of the email timed out).
if you dont need the data at all, you could delete the whole index, but that eliminates the possibility to check out this for any watch. Alternatively you can run a delete by query and only delete watches for a certain watch_id by specifying the correct query.
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.