SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Elastic Stack
A deeper dive into the stack
Elastic Stack
● Beats – Files, Metrics, Audit, Packets
● Logstash – Inputs, Groks, Plugins, Ruby code
● Elasticsearch – clusters, routing, security
● Kibana – dashboards, searches, visualizations
● Curator – index management
● Cloud – hosted solutions
Elastic Stack
Cluster design
● Resiliency
● Speed
● Capacity
● Cost
Elastic Stack
Cluster example
Beats
The Lightweight Shipper
● Agent on each endpoint
● Sends to logstash or direct to elasticsearch
● Data shipper – not just logs
● Build your own beat with libbeat
● Community written beats
Beats
Filebeat
● Designed for logfiles
● Modules for Apache, NGINX, System, MySQL, and
more
● Multiline pattern matching
● Adjust volume based on logstash feedback
● Input file glob patterns and harvesters
– Log, stdin, redis, udp, docker, tcp, syslog
● At least once delivery*
Beats
WinLogBeat
● Designed for Windows style event logs
● Multiple fields exported
– Docker and Kubernetes metadata
– Error events
– Beat and host fields
● Processor for events before shipment
– Drop events
– Drop or rename fields
– add metadata and dissect strings
Beats
Metricbeat
● System monitoring – CPU, Memory, I/O, etc.
● Hosted Docker and Kubernetes containers
● Service modules – Metricset
– Apache, MongoDB, Prometheus, MySQL
– Custom built modules in Go
● No aggregation at collection
● Multiple metrics per event and can include strings
Beats
Packetbeat
● Decoders for common protocols
– Http, ICMP, MySQL, Redis, MongoDB, etc
● Dedicated server or on the application server
● Correlates requests and responses into
transactions sent to Logstash/Elasticsearch
● Records interesting fields based on protocol
● Flow statistics including packet and byte counts
Beats
Auditbeat and Heartbeat
● Audit beat
– Linux audit framework shipper
– Similar data as Auditd – user/process
– Spools audit data to disk for resiliency
● Heartbeat
– Uptime monitoring of protocols
– Supports TLS, authentication, and proxies
– Dynamic inventory management
Logstash
Collect, Enrich, Transport
● Inputs, filters, outputs configured in pipelines
● Community extensible
● Multiple input sources
● Powerful and extensible filters
● Multiple output destinations
Logstash
Inputs
● Log/data using beats, log4j, syslog, TCP/UDP
● Metrics/data over TCP/UDP
● Http web hooks, requests, and end point polling
● Datastores with JDBC
● Datastreams with kafka, RabbitMQ, or Amazon
SQS
● Sensor data or custom data
Logstash
Filters to transform
● Grok
– Parse and structure arbitrary text
– 120 default patterns (date, IP, word, URIpath)
– %{SYNTAX:semantic} %{IP:client} %
{DATE:timestamp}
– Saved as strings by default
● kv, mutate, geoip, csv, fingeprint
● Ruby, Json, XML, and more plugins and codecs
Logstash
Output plugins
● More than just elasticsearch
● Monitoring – nagios, zabbix, AWS cloudwatch
● Database – influxDB, MongoDB, openTSDB
● Notification – pagerduty, email, XMPP, Amazon
SNS, kafka
● Logging – greylog, loggly, syslog, timber.io
● Pipe, file, stdout, syslog, tcp/udp
● Custom ruby code output plugin
Logstash
demo - example
● https://grokdebug.herokuapp.com
● https://github.com/agolo/logstash-test-runner
● Debug with stdout {codec: ruby } or json
Kibana
Visualizations
● Query and discovery
● Graphs and dashboards
● Metrics
● Reporting
● Open source dashboards
Kibana
demo - example
● Cloud hosted sample flight data
● Even more examples:
https://github.com/elastic/examples
Other products
● Curator
– Index management
– Reprocessing and routing
– Delete, close, and allocation
● APM (Application Performance Monitoring)
– Language specific agents (node, python, ruby, go, java)
– APM Server to collect performance metrics
● ElasticCloud and Cloud Enterprise
– Hosted and centralized management

Weitere ähnliche Inhalte

Was ist angesagt?

Log analysis with the elk stack
Log analysis with the elk stackLog analysis with the elk stack
Log analysis with the elk stack
Vikrant Chauhan
 

Was ist angesagt? (20)

Introduction to elasticsearch
Introduction to elasticsearchIntroduction to elasticsearch
Introduction to elasticsearch
 
Log analysis using elk
Log analysis using elkLog analysis using elk
Log analysis using elk
 
Log analysis with elastic stack
Log analysis with elastic stackLog analysis with elastic stack
Log analysis with elastic stack
 
The Elastic ELK Stack
The Elastic ELK StackThe Elastic ELK Stack
The Elastic ELK Stack
 
ELK Stack
ELK StackELK Stack
ELK Stack
 
Elastic search overview
Elastic search overviewElastic search overview
Elastic search overview
 
Elk
Elk Elk
Elk
 
Elastic - ELK, Logstash & Kibana
Elastic - ELK, Logstash & KibanaElastic - ELK, Logstash & Kibana
Elastic - ELK, Logstash & Kibana
 
ELK Stack
ELK StackELK Stack
ELK Stack
 
ELK introduction
ELK introductionELK introduction
ELK introduction
 
An Introduction to Elastic Search.
An Introduction to Elastic Search.An Introduction to Elastic Search.
An Introduction to Elastic Search.
 
Introducing ELK
Introducing ELKIntroducing ELK
Introducing ELK
 
Elasticsearch
ElasticsearchElasticsearch
Elasticsearch
 
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
 
Elasticsearch in Netflix
Elasticsearch in NetflixElasticsearch in Netflix
Elasticsearch in Netflix
 
Logstash
LogstashLogstash
Logstash
 
Elasticsearch
ElasticsearchElasticsearch
Elasticsearch
 
Log analysis with the elk stack
Log analysis with the elk stackLog analysis with the elk stack
Log analysis with the elk stack
 
HTTP Analytics for 6M requests per second using ClickHouse, by Alexander Boc...
HTTP Analytics for 6M requests per second using ClickHouse, by  Alexander Boc...HTTP Analytics for 6M requests per second using ClickHouse, by  Alexander Boc...
HTTP Analytics for 6M requests per second using ClickHouse, by Alexander Boc...
 
Elasticsearch presentation 1
Elasticsearch presentation 1Elasticsearch presentation 1
Elasticsearch presentation 1
 

Ähnlich wie Elastic Stack ELK, Beats, and Cloud

Architectures, Frameworks and Infrastructure
Architectures, Frameworks and InfrastructureArchitectures, Frameworks and Infrastructure
Architectures, Frameworks and Infrastructure
harendra_pathak
 
Debugging applications with network security tools
Debugging applications with network security toolsDebugging applications with network security tools
Debugging applications with network security tools
ConFoo
 
Big data conference europe real-time streaming in any and all clouds, hybri...
Big data conference europe   real-time streaming in any and all clouds, hybri...Big data conference europe   real-time streaming in any and all clouds, hybri...
Big data conference europe real-time streaming in any and all clouds, hybri...
Timothy Spann
 

Ähnlich wie Elastic Stack ELK, Beats, and Cloud (20)

'Scalable Logging and Analytics with LogStash'
'Scalable Logging and Analytics with LogStash''Scalable Logging and Analytics with LogStash'
'Scalable Logging and Analytics with LogStash'
 
Data Analytics Service Company and Its Ruby Usage
Data Analytics Service Company and Its Ruby UsageData Analytics Service Company and Its Ruby Usage
Data Analytics Service Company and Its Ruby Usage
 
Architectures, Frameworks and Infrastructure
Architectures, Frameworks and InfrastructureArchitectures, Frameworks and Infrastructure
Architectures, Frameworks and Infrastructure
 
Atmosphere 2014: Centralized log management based on Logstash and Kibana - ca...
Atmosphere 2014: Centralized log management based on Logstash and Kibana - ca...Atmosphere 2014: Centralized log management based on Logstash and Kibana - ca...
Atmosphere 2014: Centralized log management based on Logstash and Kibana - ca...
 
Debugging applications with network security tools
Debugging applications with network security toolsDebugging applications with network security tools
Debugging applications with network security tools
 
Technology behind-real-time-log-analytics
Technology behind-real-time-log-analytics Technology behind-real-time-log-analytics
Technology behind-real-time-log-analytics
 
Scaling ELK Stack - DevOpsDays Singapore
Scaling ELK Stack - DevOpsDays SingaporeScaling ELK Stack - DevOpsDays Singapore
Scaling ELK Stack - DevOpsDays Singapore
 
Kentik Detect Engine - Network Field Day 2017
Kentik Detect Engine - Network Field Day 2017Kentik Detect Engine - Network Field Day 2017
Kentik Detect Engine - Network Field Day 2017
 
H2020 finsec-ibm- aidan-shribman-finsec-skydive 260820
H2020 finsec-ibm- aidan-shribman-finsec-skydive 260820H2020 finsec-ibm- aidan-shribman-finsec-skydive 260820
H2020 finsec-ibm- aidan-shribman-finsec-skydive 260820
 
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
 
Big data conference europe real-time streaming in any and all clouds, hybri...
Big data conference europe   real-time streaming in any and all clouds, hybri...Big data conference europe   real-time streaming in any and all clouds, hybri...
Big data conference europe real-time streaming in any and all clouds, hybri...
 
Music city data Hail Hydrate! from stream to lake
Music city data Hail Hydrate! from stream to lakeMusic city data Hail Hydrate! from stream to lake
Music city data Hail Hydrate! from stream to lake
 
Swift at Scale: The IBM SoftLayer Story
Swift at Scale: The IBM SoftLayer StorySwift at Scale: The IBM SoftLayer Story
Swift at Scale: The IBM SoftLayer Story
 
Real-time Data Processing Using AWS Lambda
Real-time Data Processing Using AWS LambdaReal-time Data Processing Using AWS Lambda
Real-time Data Processing Using AWS Lambda
 
How Netflix Uses Amazon Kinesis Streams to Monitor and Optimize Large-scale N...
How Netflix Uses Amazon Kinesis Streams to Monitor and Optimize Large-scale N...How Netflix Uses Amazon Kinesis Streams to Monitor and Optimize Large-scale N...
How Netflix Uses Amazon Kinesis Streams to Monitor and Optimize Large-scale N...
 
Logstash
LogstashLogstash
Logstash
 
Real time monitoring-alerting: storing 2Tb of logs a day in Elasticsearch
Real time monitoring-alerting: storing 2Tb of logs a day in ElasticsearchReal time monitoring-alerting: storing 2Tb of logs a day in Elasticsearch
Real time monitoring-alerting: storing 2Tb of logs a day in Elasticsearch
 
Log Data Analysis Platform by Valentin Kropov
Log Data Analysis Platform by Valentin KropovLog Data Analysis Platform by Valentin Kropov
Log Data Analysis Platform by Valentin Kropov
 
Log Data Analysis Platform
Log Data Analysis PlatformLog Data Analysis Platform
Log Data Analysis Platform
 
Logs aggregation and analysis
Logs aggregation and analysisLogs aggregation and analysis
Logs aggregation and analysis
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Elastic Stack ELK, Beats, and Cloud

  • 1. Elastic Stack A deeper dive into the stack
  • 2. Elastic Stack ● Beats – Files, Metrics, Audit, Packets ● Logstash – Inputs, Groks, Plugins, Ruby code ● Elasticsearch – clusters, routing, security ● Kibana – dashboards, searches, visualizations ● Curator – index management ● Cloud – hosted solutions
  • 3. Elastic Stack Cluster design ● Resiliency ● Speed ● Capacity ● Cost
  • 5. Beats The Lightweight Shipper ● Agent on each endpoint ● Sends to logstash or direct to elasticsearch ● Data shipper – not just logs ● Build your own beat with libbeat ● Community written beats
  • 6. Beats Filebeat ● Designed for logfiles ● Modules for Apache, NGINX, System, MySQL, and more ● Multiline pattern matching ● Adjust volume based on logstash feedback ● Input file glob patterns and harvesters – Log, stdin, redis, udp, docker, tcp, syslog ● At least once delivery*
  • 7. Beats WinLogBeat ● Designed for Windows style event logs ● Multiple fields exported – Docker and Kubernetes metadata – Error events – Beat and host fields ● Processor for events before shipment – Drop events – Drop or rename fields – add metadata and dissect strings
  • 8. Beats Metricbeat ● System monitoring – CPU, Memory, I/O, etc. ● Hosted Docker and Kubernetes containers ● Service modules – Metricset – Apache, MongoDB, Prometheus, MySQL – Custom built modules in Go ● No aggregation at collection ● Multiple metrics per event and can include strings
  • 9. Beats Packetbeat ● Decoders for common protocols – Http, ICMP, MySQL, Redis, MongoDB, etc ● Dedicated server or on the application server ● Correlates requests and responses into transactions sent to Logstash/Elasticsearch ● Records interesting fields based on protocol ● Flow statistics including packet and byte counts
  • 10. Beats Auditbeat and Heartbeat ● Audit beat – Linux audit framework shipper – Similar data as Auditd – user/process – Spools audit data to disk for resiliency ● Heartbeat – Uptime monitoring of protocols – Supports TLS, authentication, and proxies – Dynamic inventory management
  • 11. Logstash Collect, Enrich, Transport ● Inputs, filters, outputs configured in pipelines ● Community extensible ● Multiple input sources ● Powerful and extensible filters ● Multiple output destinations
  • 12. Logstash Inputs ● Log/data using beats, log4j, syslog, TCP/UDP ● Metrics/data over TCP/UDP ● Http web hooks, requests, and end point polling ● Datastores with JDBC ● Datastreams with kafka, RabbitMQ, or Amazon SQS ● Sensor data or custom data
  • 13. Logstash Filters to transform ● Grok – Parse and structure arbitrary text – 120 default patterns (date, IP, word, URIpath) – %{SYNTAX:semantic} %{IP:client} % {DATE:timestamp} – Saved as strings by default ● kv, mutate, geoip, csv, fingeprint ● Ruby, Json, XML, and more plugins and codecs
  • 14. Logstash Output plugins ● More than just elasticsearch ● Monitoring – nagios, zabbix, AWS cloudwatch ● Database – influxDB, MongoDB, openTSDB ● Notification – pagerduty, email, XMPP, Amazon SNS, kafka ● Logging – greylog, loggly, syslog, timber.io ● Pipe, file, stdout, syslog, tcp/udp ● Custom ruby code output plugin
  • 15. Logstash demo - example ● https://grokdebug.herokuapp.com ● https://github.com/agolo/logstash-test-runner ● Debug with stdout {codec: ruby } or json
  • 16. Kibana Visualizations ● Query and discovery ● Graphs and dashboards ● Metrics ● Reporting ● Open source dashboards
  • 17. Kibana demo - example ● Cloud hosted sample flight data ● Even more examples: https://github.com/elastic/examples
  • 18. Other products ● Curator – Index management – Reprocessing and routing – Delete, close, and allocation ● APM (Application Performance Monitoring) – Language specific agents (node, python, ruby, go, java) – APM Server to collect performance metrics ● ElasticCloud and Cloud Enterprise – Hosted and centralized management