Playing Heartbeats in Elastic Search 7

Direct monitoring with Elastic Stack 7

Last days I was exploring several features of Elastic Stack in version 7.2, including some of the available Beats agents. In this case, I played a beat with Heartbeat agent, that it is able to perform direct monitoring via TCP / HTTP / ICMP for a given url / host of a given service. It is a basic direct monitoring where we can ping everything, and then indexing this monitoring data in Elastic Search.

In Kibana, we can find an Uptime section for visualization. It is also available a (useful) custom dashboard from 6.x version too, which can be found in github repo and imported in Kibana.

Monitors configurations may be added on the fly with a minimal setup. The obtained events are usually processed with logstash plugins for alerting via email or slack, normally out of the basic license. 

In Uptime section, we can find an overview of all the pings done:

with a dedicated page overview for a given url:

Finally, this is the aspect of the imported dashboard:

External links:

 

"One night of magic rush, the start a simple touch ,,, ten days of perfect tunes, the colors red and blue" (Heartbeats - Jose Gonzalez)

00

More Blog Entries

thumbnail
thumbnail

2 Comments

SP
Steven Phan 2 Months Ago

Hi Cesar Capillas, Thank you for useful topic, I'm using opendistro and we don't have uptime selection like original elasticsearch kibana. I can import the uptime dashboard via https://github.com/elastic/uptime-contrib/tree/master/dashboard but It's missing some function like Uptime section -  overview of all the pings done

-  page overview for a given url

Do you know where I can find the custom dashboard for that? Thank you

00
Cesar Capillas 2 Months Ago - Edited

Hi Steven:

Thanks for your message, the custom dashboard (for Elastic 6 and 7) may be imported from the github link.

The uptime section only applies to the last versions of Elastic Stack, I think from 7.2 version. The url is like:

app/uptime#/?_g=()

If you are using spaces in Kibana UI, check if this section is activated.

I'm using the official Elastic Search with Basic License, not the Amazon fork. So probably this section is not included in OpenDistro, whose UI is similar to Kibana 6.x. 

Anyway, it is not very difficult to make this section with custom dashboards, visualizations and searches (at least the 95% of this section).

Kind regards.

--C.

00