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

Elastic{ON} 2018 - What's Brewing in Beats

Elastic Co
March 01, 2018

Elastic{ON} 2018 - What's Brewing in Beats

Elastic Co

March 01, 2018
Tweet

More Decks by Elastic Co

Other Decks in Technology

Transcript

  1. 10

  2. ✓ pod ✓ node ✓ system ✓ container ✓ event

    ✓ volume Monitor Kubernetes cluster 11 ✓ state_container ✓ state_deployment ✓ state_node ✓ state_pod ✓ state_replicated Via the Kubernetes module in Metricbeat
  3. Logs, metrics, APM traces 13 API server pod watcher Pod

    start/stop events 418a913c7076 ……………… c626cfdf3861 ……………… e5563a7cb80e ……………… 73de79be045c ……………… updates Docker logs enrich enriched events Enhanced with Kubernetes metadata add_kubernetes_metadata
  4. Autodiscover 14 Watch Docker or Kubernetes events and react to

    changes metricbeat.autodiscover: providers: - type: kubernetes host: ${HOSTNAME} templates: - condition.contains: kubernetes.container.name: nginx config: - module: nginx period: 10s metricsets: ["stubstatus"] hosts: ["${data.host}:8080"]
  5. Monitor applications instrumented with Prometheus 15 Node 1 Metricbeat Node

    2 Metricbeat Node n Metricbeat App App App pull pull pull
  6. Kubernetes deployment 16 Deploy Filebeat or Metricbeat as DaemonSets Node

    1 Metricbeat Filebeat Node 2 Metricbeat Filebeat Node n Metricbeat Filebeat Filebeat DaemonSet Metricbeat DaemonSet
  7. 17 Kubernetes, Docker, and Containers at Elastic Carlos Pérez-Aradros Software

    Engineer, Beats Thu 1 Mar, 10:30-11:15 Salon 1-7 Tyler Langlois Infrastructure Engineer
  8. 18 Monitoring Anything and Everything with Beats at eBay Vijay

    Samuel Senior Software Engineer @eBay Wed 28 Feb, 13:30-14:15 Salon 1-7
  9. Auditbeat: Linux kernel auditing 23 Auditd Like auditd, but perfectly

    integrated with the Elastic stack • Indexes directly into Elasticsearch • Correlates kernel audit events • Resolves user IDs to user names
  10. Auditbeat: file integrity 24 File integrity Index file hashes and

    watch changes • Performs an initial scan of all files • Computes hashes of the watched files • Watches for file changes • Linux, macOs, Windows
  11. Why Auditbeat? 27 • Detects short lived processes and connections

    • Works on older kernels (2.6+) • Doesn’t require a kernel module
  12. Secrets Keystore (6.2) 32 filebeat modules enable system filebeat keystore

    add cloud.auth filebeat -e -E ‘cloud.auth=${cloud.auth}’ \ -E ‘cloud.id=…’
  13. • Runs as an AWS Lambda function • Collects Cloudwatch

    Logs, Cloudtrail logs, logs from S3 or Kinesis Serverless shippers (6.x) 36
  14. 38 Build Your Own Filebeat Module Noémi Ványi Software Engineer,

    Beats Wed 28 Feb, 13:55-14:15 Golden Gate C
  15. Except where otherwise noted, this work is licensed under http://creativecommons.org/licenses/by-nd/4.0/

    Creative Commons and the double C in a circle are registered trademarks of Creative Commons in the United States and other countries. Third party marks and brands are the property of their respective holders. 41 Please attribute Elastic with a link to elastic.co