# Kibana Uptime- Internal Server Error

**URL:** <https://discuss.elastic.co/t/kibana-uptime-internal-server-error/242070>\
**Category:** Synthetics\
**Created:** [July 21, 2020, 4:31pm UTC](https://discuss.elastic.co/t/kibana-uptime-internal-server-error/242070 "2020-07-21T16:31:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishakh](https://avatars.discourse-cdn.com/v4/letter/v/c89c15/32.png) [@vishakh](https://discuss.elastic.co/u/vishakh)\
**Post date:** [July 21, 2020, 4:31pm UTC](https://discuss.elastic.co/t/kibana-uptime-internal-server-error/242070/1 "2020-07-21T16:31:04Z")

</div>

ELK-Stack Version: 7.8  
Installed and configured Heartbeat agent on a linux server and the ping/logs are being ingested into elasticsearch. I do see the logs being populated under "heartbeat-7\*" index

But when I visit uptime dashboard on kibana I see the below error "Internal Server Error" also the left most total "Monitors" count is not populating as expected.

_I would request any help/suggestion on this issue_

 ![Screen Shot 2020-07-21 at 12.27.47 PM](https://us1.discourse-cdn.com/elastic/original/3X/d/f/df8a9547944c05729dcc14953083e67ffda1e7e3.png)

While debugging I notice the below error:

 ![Screen_Shot_2020-07-21_at_12_32_26_PM](https://us1.discourse-cdn.com/elastic/original/3X/6/d/6d072957dec328157adca1c3a22d83442f4ed04b.jpeg)

[Kibana-Reference](https://www.elastic.co/guide/en/elasticsearch/reference/current/trb-security-internalserver.html?blade=supportportalv1) - I've enabled-configured the elasticsearch username & password

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [July 21, 2020, 6:16pm UTC](https://discuss.elastic.co/t/kibana-uptime-internal-server-error/242070/2 "2020-07-21T18:16:13Z")

</div>

Can you share your kibana logs? There should be an error there. We'll need that to debug further.

---

<div class="post-metadata">

**Author:** ![vishakh](https://avatars.discourse-cdn.com/v4/letter/v/c89c15/32.png) [@vishakh](https://discuss.elastic.co/u/vishakh)\
**Post date:** [July 22, 2020, 7:25pm UTC](https://discuss.elastic.co/t/kibana-uptime-internal-server-error/242070/3 "2020-07-22T19:25:56Z")

</div>

@Andrew_Cholakian1  
Until yesterday, I was ingesting heartbeat events to kibana via logstash and I was facing the error.  
Today, I tried ingesting heartbeat directly to elasticsearch by adding output.elasticsearch and it's worked well. Now I see the uptime and TLS cert info

---

<div class="post-metadata">

**Author:** ![vishakh](https://avatars.discourse-cdn.com/v4/letter/v/c89c15/32.png) [@vishakh](https://discuss.elastic.co/u/vishakh)\
**Post date:** [July 22, 2020, 7:29pm UTC](https://discuss.elastic.co/t/kibana-uptime-internal-server-error/242070/4 "2020-07-22T19:29:09Z")

</div>

@Andrew_Cholakian1  
Currently we do have many hosts to monitor for uptime & certs. I referenced this link [Heartbeat](https://www.elastic.co/guide/en/beats/heartbeat/current/configuration-heartbeat-options.html)  
and tried passing my hosts in each individual .yml files (/path/to/my/monitors.d/\*.yml)

```auto
heartbeat.config.monitors:
  path: ${path.config}/monitors.d/*.yml
  reload.enabled: false
  reload.period: 5s

```

and inside the monitors.d, I created a new file with .yml with below config but I don't see the host event being reported on uptime

```auto
heartbeat.monitors:
- type: http
  id: <unique id>
  name: <monitor-name>
  hosts: ["https://<hostname>:443"]
  schedule: '@every 60s'

```

When I start the heartbeat, I don't see the logs in heartbeat index and in uptime monitors. But If i specify the hosts in heartbeat.yml directly I see the logs and metrics

@Andrew_Cholakian1 Please review & suggest

---

<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:** [August 15, 2020, 7:29pm UTC](https://discuss.elastic.co/t/kibana-uptime-internal-server-error/242070/5 "2020-08-15T19:29:10Z")

</div>

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