# 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

**URL:** <https://discuss.elastic.co/t/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/250933>\
**Category:** Kibana\
**Created:** [October 5, 2020, 6:52am UTC](https://discuss.elastic.co/t/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/250933 "2020-10-05T06:52:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vkg0312](https://avatars.discourse-cdn.com/v4/letter/v/b4bc9f/32.png) [@vkg0312](https://discuss.elastic.co/u/vkg0312)\
**Post date:** [October 5, 2020, 6:52am UTC](https://discuss.elastic.co/t/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/250933/1 "2020-10-05T06:52:48Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 5, 2020, 3:37pm UTC](https://discuss.elastic.co/t/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/250933/2 "2020-10-05T15:37:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vkg0312](https://avatars.discourse-cdn.com/v4/letter/v/b4bc9f/32.png) [@vkg0312](https://discuss.elastic.co/u/vkg0312)\
**Post date:** [October 5, 2020, 4:51pm UTC](https://discuss.elastic.co/t/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/250933/3 "2020-10-05T16:51:40Z")

</div>

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:  
**NODE\_TLS\_REJECT\_UNAUTHORIZED=0 BROWSERSLIST\_ENV=production yarnpkg start**

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](http://localhost:5601/api/status) fails: parsing kibana response: invalid character '\<' looking for beginning of value. Response: Elastic @font-face { font-... (truncated).

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 11, 2020, 9:01pm UTC](https://discuss.elastic.co/t/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/250933/4 "2020-10-11T21:01:40Z")

</div>

Can you paste the complete response from: [http://localhost:5601/api/status](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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 8, 2020, 9:01pm UTC](https://discuss.elastic.co/t/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/250933/5 "2020-11-08T21:01:43Z")

</div>

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