I'm using Elastic search to analyze my logs in WSO2 API Manager. I'm using basic authentication mode. After setting up Elastic and Kibana and configuring its setting, these errors appear when I want to see Kibana dashboards. How can I solve these problems?
CodePudding user response:
In you Elasticsearch looks like there is no index which starts with apim_event_faulty
or apim_event*
, you can check all the indices in your Elasticsearch cluster by hitting _cat/indices?v
API of Elasticsearch.
CodePudding user response:
Check whether there is /repository/logs/apim_metrics.log
inside your WSO2 API Manager home directory.
If you don't have the
apim_metrics.log
file, most like there is an issue in configurations you have done in API Manager. Refer this documentation https://apim.docs.wso2.com/en/latest/api-analytics/on-prem/elk-installation-guide/If you have the
apim_metrics.log
file, check the content. If it does not have any logs, most likely API Manger haven't gone through any event to trigger apim_event_faulty, apim_event_response logs. Try invoking an API and observe the logs.