-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index-pattern is not present [health-check] #3169
Comments
Elastic 7.10.2 - Wazuh-Manager 4.1.5 - Wazuh-Kibana app 4.1.5 Updating from 3.12 - 4.1.4 Following the installation steps to upload the latest template gets me past initial health check, but it appears pattern_handler.js (https://github.com/wazuh/wazuh-kibana-app/blob/34a7422668f5880ee75b0ba9ec0f5cbd91c1fe7e/public/react-services/pattern-handler.js) is encountering an issue when checking if my index pattern exists (it does). Also tried deleting existing index pattern and letting it create one for me. But this will trigger each time health checks are run on Wazuh-Kibana app. I am also using custom-index names to preserve some custom dashboards created using wazuh-alerts-3.x-* pattern following response is produced each time this occurs: |
Hi @water-breather , Regards |
Description
The selected index-pattern is not present, error with custom index.
Screenshots
![image](https://user-images.githubusercontent.com/11060558/114905231-1af5e800-9def-11eb-8dbb-38c0cb1ce49e.png)
Additional context
This usually happens in updates from 3.x to 4.x
Reasons of the issue
It should be refactored to check all the index patterns, but first, we could check if the selected pattern (
AppState.currentIndexPattern
) or the default index pattern (from config) is already created.fields
attribute in the request to the saved objects endpoint. The reason is not clearing, it happens randomly.To fix this is neccesary to add the query parameter
fields=title&fields=fields
to the request.The text was updated successfully, but these errors were encountered: