Hi Mario!
- Copy the recovery.py script from that article into your system
- Configure filebeat to read a recovery.json file
- Run the script for the time range for which you're missing data
You could delete the Elasticsearch red indices by running the following query in your Elasticsearch server for each index in red status (you may also use wildcards but be careful not to remove any healthy indices):
Before deleting the indices, please make sure that your alerts backups and/or snapshots are properly performed.
It may be helpful to use the following command to list your red indices in order to avoid mistakes when deleting the red indices (It will only show red indices):
After deleting the red indices, restart the Elasticsearch and Kibana services.
If that does not solve your problem, send us the Elasticsearch logs again (all logged in since the Elasticsearch restart) to find the root cause.
Please keep us updated.
Best regards,
Mayte Ariza