OpenSearch

I’m using OpenSearch to monitor AWS WAF logs. However, whenever I’m making a query, it says that “5 of 316 shards failed”. See the screenshot below for details of the error:

r/aws - 5 of 316 shards failed when querying on OpenSearch Dashboard

The dashboard shows up successfully without any problem, but it’s kinda uncomfortable to see the persistent pops-up of such error.

After posting this issue on the reddit forum, I got some useful advice from the community: This is more like an elastic search question than AWS. This might be a multi-index search and the mapping on one or more indexes has a number type instead of a date on the field I'm searching. Another insight is that it looks like it could be that 2/7/2021 index if I am searching an alias or a wildcard index. Check the mapping for the field you are trying to submit a date value for.

Since I did not need the index in question, I opted to delete it: In Dev tools in my OpenSearch (or in Kibana if you're using it), I entered the following command line: 

# DELETE /awswaf-2021-07-02

And then click the play icon to the right of the line:



Here are some screenshots of the relevant attributes. However, I cannot modify them:




.









Comments

Popular posts from this blog

Install Gophish and Start Your Phishing Campaign

[LINUX] - SECURING LINUX SYSTEMS

Hướng dẫn cách đọc và hiểu thông số firewall - tường lửa