SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

Introduction to Kibana
Introduction to KibanaIntroduction to Kibana
Introduction to Kibana
Vineet .
 

La actualidad más candente (20)

Elastic Stack Introduction
Elastic Stack IntroductionElastic Stack Introduction
Elastic Stack Introduction
 
Log analysis using elk
Log analysis using elkLog analysis using elk
Log analysis using elk
 
Centralized Logging System Using ELK Stack
Centralized Logging System Using ELK StackCentralized Logging System Using ELK Stack
Centralized Logging System Using ELK Stack
 
What Is ELK Stack | ELK Tutorial For Beginners | Elasticsearch Kibana | ELK S...
What Is ELK Stack | ELK Tutorial For Beginners | Elasticsearch Kibana | ELK S...What Is ELK Stack | ELK Tutorial For Beginners | Elasticsearch Kibana | ELK S...
What Is ELK Stack | ELK Tutorial For Beginners | Elasticsearch Kibana | ELK S...
 
Log analytics with ELK stack
Log analytics with ELK stackLog analytics with ELK stack
Log analytics with ELK stack
 
ELK Stack
ELK StackELK Stack
ELK Stack
 
ELK introduction
ELK introductionELK introduction
ELK introduction
 
Elastic stack Presentation
Elastic stack PresentationElastic stack Presentation
Elastic stack Presentation
 
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 ...
 
Introduction to elasticsearch
Introduction to elasticsearchIntroduction to elasticsearch
Introduction to elasticsearch
 
Introduction to Kibana
Introduction to KibanaIntroduction to Kibana
Introduction to Kibana
 
The Elastic ELK Stack
The Elastic ELK StackThe Elastic ELK Stack
The Elastic ELK Stack
 
Elasticsearch Tutorial | Getting Started with Elasticsearch | ELK Stack Train...
Elasticsearch Tutorial | Getting Started with Elasticsearch | ELK Stack Train...Elasticsearch Tutorial | Getting Started with Elasticsearch | ELK Stack Train...
Elasticsearch Tutorial | Getting Started with Elasticsearch | ELK Stack Train...
 
Log analysis using Logstash,ElasticSearch and Kibana
Log analysis using Logstash,ElasticSearch and KibanaLog analysis using Logstash,ElasticSearch and Kibana
Log analysis using Logstash,ElasticSearch and Kibana
 
Deep Dive Into Elasticsearch
Deep Dive Into ElasticsearchDeep Dive Into Elasticsearch
Deep Dive Into Elasticsearch
 
ElasticSearch Basic Introduction
ElasticSearch Basic IntroductionElasticSearch Basic Introduction
ElasticSearch Basic Introduction
 
Introduction to ELK
Introduction to ELKIntroduction to ELK
Introduction to ELK
 
Introduction to elasticsearch
Introduction to elasticsearchIntroduction to elasticsearch
Introduction to elasticsearch
 
Logstash
LogstashLogstash
Logstash
 
Grafana introduction
Grafana introductionGrafana introduction
Grafana introduction
 

Similar a 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
 

Similar a 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...
 
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
 
Using Data Lakes
Using Data LakesUsing Data Lakes
Using Data Lakes
 

Último

Último (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
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
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

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