Getting Error:{"statusCode":404,"error":"Not Found","message":"Not Found"} While trying to view system health status through metricbeat plugin with deployed kibana source code

while trying to work with kibana source code I wanted to visualize system health status data on kibana using metricbeat while metric beat is performing status check
by calling rest api"http://localhost:5603/api/status"
it is giviving error like
{"statusCode":404,"error":"Not Found","message":"Not Found"}
I think there might be some option to enable api calls on kibana
Please help me to enable so that kibana start responding to the api calls while started using source code.

Did you change your local Kibana IP to 5603? By default it's 5601 even in development mode.

Yeah it is giving the a call to kibana now by changing the port while saying
"Please run Kibana with the environment variable BROWSERSLIST_ENV=production to enable"
I tried with enabling BROWSERLIST_ENV=production by using following command:

The kibana is getting deployed successfully but while running the command:
sudo metricbeat setup
getting following error:

Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to http://localhost:5601/api/status fails: parsing kibana response: invalid character '<' looking for beginning of value. Response: Elastic @font-face { font-... (truncated).

Can you paste the complete response from: http://localhost:5601/api/status if you open it in your browser? Also have a look in the kibana logs to see that it started ok.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.