Hello Chad,
Thank you for sharing here in the community.
Yes, you can restore the Elasticsearch indices from the Wazuh archived alerts, you need to follow the steps described in this blog post: Recover your data using Wazuh alerts backups
Please follow the guide and you will be able to recover the data of the gap in alerts you have.
I hope this could be helpful.
Hello Chad,
I think you are doing the configurations correctly. And I think Filebeat is complaining that the file is inactive because you first filled it and then told Filebeat to read it, and that is not the procedure, this needs to be dynamic.
You need to set up the recovery.py and run the command, after that, you configure Filebeat to read it and restart Filebeat to then start to collect the lines from recovery.json and inject them into Elasticsearch.
Now that you have your Filebeat configured, please remove your recovery.json file, and execute again the recovery.py command, and it should start injecting the missed alerts as expected.
I hope to be helpful.
Kind Regards.