Slide 1

Slide 1 text

‹#› And the beats go on! David Pilato Developer | Evangelist @dadoonet

Slide 2

Slide 2 text

2

Slide 3

Slide 3 text

Elastic Subscriptions: Product, Experience, & Support 3 Open Source Elasticsearch Kibana Logstash Beats Elastic Stack Expertise and Support Elasticsearch as a Service (Found) Development Production Plugins Security (Shield) Alerting (Watcher) Monitoring (Marvel) Technical Guidance • Architecture (hardware/software) • Cluster management (tuning) • Index / shard design • Query optimization • Integration with other products • Backup and HA strategy • Dev to production migration / upgrades • Best practices Troubleshooting & Support • Dedicated, hands-on SLA-based support • Analysis of internal logs • Proactively monitoring of clusters • Escalation to engineering team

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Beats are lightweight shippers that collect and ship all kinds of operational data to Elasticsearch

Slide 6

Slide 6 text

Beats are lightweight shippers that collect and ship all kinds of operational data to Elasticsearch

Slide 7

Slide 7 text

Beats are lightweight shippers that collect and ship all kinds of operational data to Elasticsearch

Slide 8

Slide 8 text

Examples of operational data 8 wire data system stats logs Packetbeat Metricbeat Filebeat Winlogbeat

Slide 9

Slide 9 text

Captures insights from network packets 9 Packetbeat

Slide 10

Slide 10 text

Sniffing the network traffic 10 Client Server sniff sniff • Copy traffic at OS or hardware level • Is completely passive • ZERO latency overhead • Not in the request/response path, cannot break your application

Slide 11

Slide 11 text

Packetbeat: Available decoders 11 HTTP MySQL PostgreSQL MongoDB Memcache ICMP + Add your own Thrift-RPC DNS Redis AMQP

Slide 12

Slide 12 text

Like the Unix top command but sends the output periodically to Elasticsearch. Also works on Windows. 12 Metricsbeat

Slide 13

Slide 13 text

Topbeat: Exported data 13 • system load • total CPU usage • CPU usage per core • Swap, memory usage System wide • state • name • command line • pid • CPU usage • memory usage Per process • available disks • used, free space • mounted points Disk usage

Slide 14

Slide 14 text

Forwards log lines to Elasticsearch 14 Filebeat

Slide 15

Slide 15 text

Filebeat: Never lose a log line 15 line line line line line read pointer Filebeat Back-pressure sensitive protocol Yo Filebeat, slow it down a bit, pls K buddy line The original log lines act like a queue

Slide 16

Slide 16 text

Filebeat: Parse logs with Logstash Parse logs with Logstash 16 • Filebeat sends out unparsed log lines • Use filters from Logstash to parse the log lines • Flexible, with conditionals & custom filters • Forward data to other systems using the Logstash output plugins Filebeat Other systems

Slide 17

Slide 17 text

Filebeat: Parse logs with Ingest Node Parse logs with Ingest node in Elasticsearch 17 • Filebeat sends out unparsed log lines directly to Elasticsearch • Use Ingest Node processors (grok, geoip…) to parse the log lines • Easier to setup Filebeat 5.0

Slide 18

Slide 18 text

Forwards Windows Event logs to Elasticsearch 18 Winlogbeat

Slide 19

Slide 19 text

Beats Platform 19 Explore & Visualize Search & Analyze Enrich & Transport Optional libbeat {Community} Beats Elastic Beats Collect, Parse & Ship

Slide 20

Slide 20 text

Architecture Overview - libbeat 20 {Community}Beat libbeat Outputs * Logstash Elasticsearch Config Management Debugging Logging * Syslog File Cmd Line Handling Filtering Testing Testing Environment System Test Framework

Slide 21

Slide 21 text

Produces RPMs, DEBs, … 21 Beats Packer https://github.com/elastic/beats-packer

Slide 22

Slide 22 text

22

Slide 23

Slide 23 text

23

Slide 24

Slide 24 text

‹#› https://github.com/dadoonet/soundbeat metricbeat, packetbeat and soundbeat

Slide 25

Slide 25 text

‹#› https://github.com/dadoonet/soundbeat thanks!