Slide 1

Slide 1 text

ELK stack and application discovery Tony Messias

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

what is a log?

Slide 4

Slide 4 text

- https://en.wikipedia.org/wiki/Logfile “(...) records either events that occur in an operating system or other software runs, or messages (...)”

Slide 5

Slide 5 text

the lifecycle of a log file Event Record Analyse Delete

Slide 6

Slide 6 text

the lifecycle of a log file Event Analyse Record Delete

Slide 7

Slide 7 text

your log can answer a lot of questions

Slide 8

Slide 8 text

what are the most used browsers in our application?

Slide 9

Slide 9 text

which countries we have more users from?

Slide 10

Slide 10 text

how many users have signed up since the marketing campaign started?

Slide 11

Slide 11 text

what is the best time for a deploy?

Slide 12

Slide 12 text

which landing page have converted more users (A/B testing)?

Slide 13

Slide 13 text

check the database, right?

Slide 14

Slide 14 text

check your logs

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

and I have scaled my application...

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

ELK stack to the rescue!

Slide 21

Slide 21 text

what does ELK mean?

Slide 22

Slide 22 text

ELK stands for

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

ELK architecture

Slide 27

Slide 27 text

ELK architecture

Slide 28

Slide 28 text

you can analyse old logs too

Slide 29

Slide 29 text

not just for apache logs ● webserver ● application ● database ● businness (logging commands and events*)

Slide 30

Slide 30 text

kibana is not only a dashboard

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

that’s it! questions?

Slide 33

Slide 33 text

references ● https://www.elastic.co/webinars/introduction-elk-stack ● https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch- logstash-and-kibana-4-on-ubuntu-14-04 ● https://speakerdeck.com/elasticsearch/introduction-to-the-elk-stack ● https://speakerdeck.com/peterskim12/introduction-to-the-elk-stack ● http://www.slideshare.net/GlobalLogicUkraine/the-elk-stack-get-to-know-logs- igor-rudyk ● http://www.slideshare.net/larrycai/learn-elk-in-docker ● https://speakerdeck.com/odolbeau/when-monolog-meet-elk