Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Log collection using the Elastic Stack at Educa...

Log collection using the Elastic Stack at Education Services Australia

How does Education Services Australia leverage the Elastic Stack for log collection.

Avatar for Elastic Co

Elastic Co

July 13, 2016
Tweet

More Decks by Elastic Co

Other Decks in Technology

Transcript

  1. Back in the good ol' days • Figure out which

    server that the exception occurs. • Look for the logs (based on the date) • Analyse the logs.
  2. Downsides • Takes forever to find the error trace (if

    any) • Not centralised • Only the techies know how to do this • Hard to monitor and especially hard to see how often a particular error may be occurring
  3. App Server File Beat Elasticsearch Kibana Audit Table from Postgres

    Log File Overview of our Logging Architecture Logstash
  4. Overview of our Logging Architecture App Server File Beat Elasticsearch

    Kibana Audit Table from Postgres Log File Logstash Log Retrieval
  5. Overview of our Logging Architecture App Server File Beat Elasticsearch

    Kibana Audit Table from Postgres Log File Logstash Processing
  6. Overview of our Logging Architecture App Server File Beat Elasticsearch

    Kibana Audit Table from Postgres Log File Logstash Storage
  7. Overview of our Logging Architecture App Server File Beat Elasticsearch

    Kibana Audit Table from Postgres Log File Logstash View
  8. Post implementation • Reduce the time needed to debug •

    Ability to see how often an event occurs (with the right logging) • Non techies could use it • Very modular. Any app can join in • No longer need to tail the log during post deployment • Could potentially re-use Elasticsearch for other areas (user authentication, content searching, reporting)
  9. References • https://www.elastic.co/guide/index.html • http://pugnusferreus.github.io/blog/2016/01/03/integrating- logstash-with-your-java-application/ • https://www.digitalocean.com/community/tutorials/how-to-install- elasticsearch-logstash-and-kibana-elk-stack-on-ubuntu-14-04 (

    slightly outdated, but has good reference for setting up Nginx ) • https://www.elastic.co/guide/en/elasticsearch/client/curator/ current/installation.html • https://www.elastic.co/guide/en/elasticsearch/client/curator/ current/command-line.html