Resetting elasticsearch index

Started by actionhenkt, April 17, 2022, 07:37:53 AM

Previous topic - Next topic
Hi,
Im running an external elasticsearch index for zenarmor, I had to reset/remove the whole index because reporting from zenarmor was not working anymore.

Now I have reporting partly working again except for a few parts (cant see blocks for example)

The error I get when opening the reporting page for block is:

{
  "error": {
    "root_cause": [
      {
        "type": "index_not_found_exception",
        "reason": "no such index",
        "resource.type": "index_or_alias",
        "resource.id": "alert_all",
        "index_uuid": "_na_",
        "index": "alert_all"
      }
    ],
    "type": "index_not_found_exception",
    "reason": "no such index",
    "resource.type": "index_or_alias",
    "resource.id": "alert_all",
    "index_uuid": "_na_",
    "index": "alert_all"
  },
  "status": 404
}


Is there a way to force the recreation of the whole index in a remote elasticsearch setup ? (i tried uninstalling zenarmor and reinstalling but did not recreate the whole index).

Thanks!

Hi,
I got the same issue recently, after deleting dns indices, i cannot see the dns reports
The issue resolved on my side by clicking the `Change DB URL` on zenarmor configuration

Hi,

Is the Elasticsearch version 8.x? There is some changes on it and will be compatible with the upcoming release.