# Setup Filebeat for Kibana Stack Monitoring dashboard

**URL:** <https://discuss.elastic.co/t/setup-filebeat-for-kibana-stack-monitoring-dashboard/225160>\
**Category:** Kibana\
**Tags:** elastic-stack-monitoring\
**Created:** [March 26, 2020, 10:14am UTC](https://discuss.elastic.co/t/setup-filebeat-for-kibana-stack-monitoring-dashboard/225160 "2020-03-26T10:14:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elaak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elaak/32/55014_2.png) [@Elaak](https://discuss.elastic.co/u/Elaak)\
**Post date:** [March 26, 2020, 10:14am UTC](https://discuss.elastic.co/t/setup-filebeat-for-kibana-stack-monitoring-dashboard/225160/1 "2020-03-26T10:14:33Z")

</div>

I am running the Elastic stack v 7.4.2 on Windows and am trying to setup the full stack monitoring by supplying elasticsearch logs using Filebeat as described [here](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/configuring-filebeat.html).

Everything goes well up to the point where I run the command **.\filebeat.exe setup -e**. The response is an error saying it was unable to get the Kibana version with

```
HTTP GET request to http://localhost:5601/api/status fails: parsing kibana response: invalid character '<' looking for beginning of value.

```

When I run the same command in my browser, I get a html page with the Kibana node information. Everything works there, no errors, however when using Postman I get a similar looking error including the words that

```
This Kibana installation has strict security requirements enabled that your current browser does not meet.

```

Could this be related?

What am I doing wrong in order to setup the dashboard in Kibana and ingest the logs into the "stack monitoring"?

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [March 26, 2020, 5:27pm UTC](https://discuss.elastic.co/t/setup-filebeat-for-kibana-stack-monitoring-dashboard/225160/2 "2020-03-26T17:27:02Z")

</div>

That URL should return JSON, not HTML. So it's strange that you're getting a HTML page in your browser. Could you post a screenshot here please?

---

<div class="post-metadata">

**Author:** ![Elaak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elaak/32/55014_2.png) [@Elaak](https://discuss.elastic.co/u/Elaak)\
**Post date:** [March 27, 2020, 3:20pm UTC](https://discuss.elastic.co/t/setup-filebeat-for-kibana-stack-monitoring-dashboard/225160/3 "2020-03-27T15:20:08Z")

</div>

Actually I found the issue. It did not realize that running kibana for development changes the url with a prefix, so that was the issue. In production mode it worked.  
Is there any way to tell Filebeat to use the automatically generated prefix that is created everytime Kibana starts?

---

<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:** [April 24, 2020, 3:20pm UTC](https://discuss.elastic.co/t/setup-filebeat-for-kibana-stack-monitoring-dashboard/225160/4 "2020-04-24T15:20:10Z")

</div>

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