Attempting to delete by query events in a frozen data tier index belonging to a data stream. I've tried targeting the specific index the events are in as well as the datastream name, but I get the following error:
For this to work, you will need to remount the index without write blocked.
This is by design as cold and frozen are meant as archival (read only).
If you really need to remove the data, my approach would be to reindex the data by query (excluding the data you need to remove) and then delete the source index.
Thanks @sholzhauer! Mind double-checking my work, will the source index still be picked up properly by the data stream? My query should exclude all documents where the field data_origin is contoso-2023.09.22-000983
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.