BLEK at section.io - Sydney Elastic Meetup July 2016

10
BLEK at section.io And some other bits

Transcript of BLEK at section.io - Sydney Elastic Meetup July 2016

Page 1: BLEK at section.io - Sydney Elastic Meetup July 2016

BLEK at section.ioAnd some other bits

Page 2: BLEK at section.io - Sydney Elastic Meetup July 2016

•Open•Easy•Give the user control

The Three Tenets

Page 3: BLEK at section.io - Sydney Elastic Meetup July 2016

•Experience•Community•Approachable

Choosing Elastic

Page 4: BLEK at section.io - Sydney Elastic Meetup July 2016

•Syslog•Web access logs•Proxy error logs•Docker container metrics•Provisioning and deployment logs•User events•API calls

All the logs

Page 5: BLEK at section.io - Sydney Elastic Meetup July 2016

Log flow

Delivery

networks

Logstash

receivers

redis

Logstash processor

s

Logstash senders

redis

Ops Elasticsearch

clusterApps

Elasticsearch

cluster

StatsD, Carbon

Optimising to reduce latency here

Page 6: BLEK at section.io - Sydney Elastic Meetup July 2016

Current scale

•About 150,000 log entries received per minute•About 150 million documents indexed per day• Just over 1 billion documents in the Apps ES cluster•One index per day for the last 7 days

Page 7: BLEK at section.io - Sydney Elastic Meetup July 2016

Why StatsD, Carbon, and Graphite?

•Optimisation of frequent queries• Response times• Error rates• Cache hit/miss ratio

•Longer retention of key metrics:• 1 minute granularity for 1 month• 1 hour granularity for 13 months

Page 8: BLEK at section.io - Sydney Elastic Meetup July 2016

•syslog ⇒ logstash-forwarder ⇒ Filebeat•Filebeat restarts•Packetbeat TLS

Beats

Page 9: BLEK at section.io - Sydney Elastic Meetup July 2016

•Elasticsearch API filtering• Just-in-time Kibana containers

Fun with proxies

Page 10: BLEK at section.io - Sydney Elastic Meetup July 2016

Jason Stangroome

Twitter: @jstangroomehttps://blog.stangroome.comhttps://www.section.io/blog

Thank you