Uptime Introduction Alexander Reelsen Community Advocate alex@elastic.co | spinscale 2

Agenda What is the Elastic Stack? Installing Heartbeat Deep Dive Uptime in the Kibana UI Next steps 4

Elastic Stack 5

Elastic Stack - Data flows Beats Logs Metrics Packets … Logstash Datastore 6 JMX Elasticsearch Kibana

Observability with the Elastic Stack 7 • Logs • Metrics • APM • Infrastructure • Uptime

Logs 11

Logs 12

Logs 13

14

Uptime in 1 minute 15 • Metrics, Logs, APM == Internal application state • User perception and SLAs == External application state • Host reachability • Service reachability • Service response • Response times outside of your data center? • TCP connection durations, load balancing, TLS handshake duration

16

17

18

19

Heartbeat 20 • Lightweight data shipper • Configure hosts, TCP/HTTP endpoints • Periodically poll endpoints • Index results into Elasticsearch

Heartbeat 21 • Spool results into file in case of availability issues • Resolve all IPs of a DNS name and check • YAML based configuration can be checked into VCS • Keystore to handle secrets/passwords

Installation Elasticsearch + Kibana 22 • Elastic Cloud • ECE • ECK • Self-Hosted (docker, rpm, deb, tar.gz)

Installation heartbeat 23 • Self-Hosted (docker, rpm, deb, tar.gz) • Multiple instances ‒ Cross data center ‒ Cross continents ‒ Where your customers are

DEMO 27

Installation & Start # https://www.elastic.co/downloads/beats/heartbeat wget https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-7.5.2-darwin-x86_64.tar.gz # wget https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-7.5.2-linux-x86_64.tar.gz # wget https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-7.5.2-windows-x86_64.zip tar zxvf heartbeat-7.5.2-darwin-x86_64.tar.gz cd heartbeat-7.5.2-darwin-x86_64 28

35

36

Summary 37

Summary 38 • External state knowledge is important • Understand up/down states • Understand response times • Visualize changes over time

Location Location Location! 39

Next steps 40 • Autodiscovery • Configure custom CAs • Configure scheduler limit and timezone • Add processors like add_locale, add_observer_metadata • Security privileges

In development 41 • Kibana Alerting Integration • ML Integration • CCS support • Central management

Elastic Cloud 42

Elastic Support Subscriptions 43

Getting help 44

Discuss forum https://discuss.elastic.co 45

Community & Meetups https://community.elastic.co 46

Official Elastic Training https://training.elastic.co 47

Thanks for listening! Q&A Alexander Reelsen Community Advocate alex@elastic.co | spinscale 48