Introduction into Elastic Uptime

A presentation at Elastic Community Webinar EMEA in March 2020 in by Alexander Reelsen

Slide 1

Slide 1

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

Slide 2

Slide 2

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

Slide 3

Slide 3

Elastic Stack 5

Slide 4

Slide 4

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

Slide 5

Slide 5

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

Slide 6

Slide 6

Logs 11

Slide 7

Slide 7

Logs 12

Slide 8

Slide 8

Logs 13

Slide 9

Slide 9

14

Slide 10

Slide 10

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

Slide 11

Slide 11

16

Slide 12

Slide 12

17

Slide 13

Slide 13

18

Slide 14

Slide 14

19

Slide 15

Slide 15

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

Slide 16

Slide 16

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

Slide 17

Slide 17

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

Slide 18

Slide 18

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

Slide 19

Slide 19

DEMO 27

Slide 20

Slide 20

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

Slide 21

Slide 21

35

Slide 22

Slide 22

36

Slide 23

Slide 23

Summary 37

Slide 24

Slide 24

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

Slide 25

Slide 25

Location Location Location! 39

Slide 26

Slide 26

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

Slide 27

Slide 27

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

Slide 28

Slide 28

Elastic Cloud 42

Slide 29

Slide 29

Elastic Support Subscriptions 43

Slide 30

Slide 30

Getting help 44

Slide 31

Slide 31

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

Slide 32

Slide 32

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

Slide 33

Slide 33

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

Slide 34

Slide 34

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