The error message "No cached mapping for this field" typically occurs in the Wazuh indexer when you attempt to perform a query or aggregation operation on a field in the Wazuh dashboard, but the Wazuh indexer doesn’t have a mapping for that field.
The rule is firing, and the alert is being generated, but the field might not exist in any of the documents in your Wazuh index.
Steps to Refresh the Index:Once refreshed, you should be able to search for and use the term fields in Discover or create custom dashboards and filters.
Hi Gokul,
It seems that you are trying to add more than 6000 fields. Could you please verify whether the index.mapping.total_fields.limit is greater than your field count by running the following command:
Replace <password> and <indexer-ip> with your indexer server credentials and IP address.
Additionally, ensure that your indexer server has sufficient resources and is not under heavy load during this process. To monitor resource usage before and after refreshing the index pattern, you can run the following commands on the indexer server:
1. CPU Usage:
2. Memory Usage:
3. Disk I/O:
After refreshing the index pattern, verify whether the changes are applied correctly. Please share the results with us for further assistance.
Hi Gokul,
Apologies for the late response. We are unable to reproduce this issue from our end for testing. Could you please report this issue on our GitHub by providing the following details:
This will help us assist you better and track the resolution more efficiently. You can report the issue at the following link:
https://github.com/wazuh/wazuh/issues?page=1
Thank you for your understanding.
Regards,