SlideShare a Scribd company logo
1 of 30
Graylog for OpenStack :
3 steps to know WHY
MediTech JSC
https://meditech.vn
Private Cloud
Storage
Monitor
Logging
Managed Services
About me
Dinh Van Manh
● System Integration Department in MediTechJSC
● Member of Hocchudong
● Interested in OpenStack, Linux, Monitoring, Logging
and new technology
● Habbit : “tra da + thuoc lao” with friends
Agenda
1. Log Overview
1.1. Logs : What & Where?
1.2. Why look at Logs
1.3. How to use Logs effectively
2. Log in OpenStack
2.1. OpenStack log statistics
2.2. OpenStack Log Management : in imagionation & in fact
3. Graylog for OpenStack
3.1. Introduce about Graylog
3.2. Key features
3.3. Architecture/Mechanism/Model of Graylog
3.4. Graylog for OpenStack: 3 steps to know WHY?
4. Demo + Q.A
Log Overview
What? Where? Why? How?
1.1. Logs : What & Where
What logs? (from the view of system administrator)
● System event diary
● System status records
● User activities
● Incident notify
Log format
1.1. Logs : What & Where
Log come from WHERE?
● Storage devices
● Application in Linux/Windows
● Cloud Services : OpenStack
● Servers
● Firewalls
● Routers, switches
1.2. Why look at Logs?
Basically :
Incident response
higher
Tracking system event
higher
Measuring security : metrics, trends…
higher and higher
Situational awareness
New threat discovery
Estimating about user habit, trends...
1.3. How to use Logs effectively
Level 1 : Just SSH and view !
● Understanding log location
● Command to view log : tail, more, grep
● Filtering by keyword
Level 2 : Use Syslog
● Collect syslog from client
● Store in log server
Level 3 : Log management Software
● Collect everything
● Retain most everything
● Analyze enough
● Summarize and report
● Advance features : visualize, alert, share...
1.3. How to use Logs effectively
● Facility
○ Application Logs
○ Event Logs
○ Service Logs
○ System Logs
Log Keywords
● Severity
○ 0 - emerg
○ 1 - alert
○ 2 - crit
○ 3 - error
○ 4 - warn
○ 5 - notice
○ 6 - info
○ 7 - debug
● Rotention
○ Time to rotate log
● Retention
○ Delete, archive...log
● Syslog
○ protocol to transfer log
Log in OpenStack
Which level is appropriate?
2.1. OpenStack log statistics
OpenStack System : 3 Controller + 30 Compute
node
● Controller Node
○ 6 log folder per OpenStack service
○ system log : auth, dmesg, kernel…
○ application log : apache, haproxy,
pacemaker…
● Compute Node
○ 2 log folder per OpenStack service
○ system log : auth, dmes, kernel…
○ application log : libvirt
○ log of instances
=> Total :
● ~ 220 log file
● 10 GB log = 30 million messages / day
2.2. OpenStack log management : in imagionation & in fact
Communication think Colleagues think In fact
When i said : My job is OpenStack log management !
So Waste !!! What should we do?
Graylog for OpenStack:
To infinity & beyond !
3.1. Graylog Introduce
● Log centralized management software
● Released in 2010 by Lenart Koopman with name is Graylog2
● In 1/2015 release Graylog v1., Graylog Inc was established
● Big change from Graylog version 2.0
● Newest version is Graylog 2.3.1, stable version is Graylog 2.3.0
3.2. Key features
Various Input & Output Analyze & Search
Visualize metricAlert & Trigger User management
3.3. Architecture/Mechanism/Model of Graylog
Overall architecture
● Server
○ Graylog
● Client
○ Client host
○ Graylog sidecar
○ Nxlog/Filebeat
Filebeat
Graylog Sidecar : Break the
old path
● Configuration management
system
● Config in client host only
ONCE !
● All in Web
● Secure with SSL/TLS
3.3. Architecture/Mechanism/Model of Graylog
Sidecar Work-flow : Easy config in 3 steps
Step 1 : Config in client
● install sidecar
● declare : graylog ip, client hostname, tags
● start service
Step 2 : Config in Graylog Web
● add tags
● chose what logs you want to collect
Step 3 : Checking
● Check colleted log
3.3. Architecture/Mechanism/Model of Graylog
Deep dive in architecture
Graylog Server
● receive log message
● execute log
● communicate with other components
Elasticsearch
● store log message
● search engine
MongoDB
● store meta infomation
● store config data
3.3. Architecture/Mechanism/Model of Graylog
Log execute processing
Step 1 :
● Spooling & store in disk temporarily
● Prepare for buffer process
Step 2 :
● Messages from disk go in to Input Buffer
● Mission : Filter, classify messages
Step 3 :
● Messages go in to Output Buffer
● Onward to Elasticsearch or user defined
output
3.3. Architecture/Mechanism/Model of Graylog
Elasticsearch & Graylog
● Clustering
● Use API to communicate
● Use unicast-discovery to recogize other nodes
● Graylog as a Master Node
MongoDB & Graylog
● Client - Server mechanism
● Graylog use driver to communicate with MongoDB
Internal Graylog components mechanisms
3.3. Architecture/Mechanism/Model of Graylog
None HA - Small production HA - Bigger Production
Code show you HOW !
Log show you WHY !
3.4. Graylog for OpenStack : 3 steps to know WHY?
Just 3 steps to exploiting log in OpenStack
3.4. Graylog for OpenStack : 3 steps to know WHY?
What should i do when instance spawning fail
A. Try to spawn again B. Blame for customer
D. Bug again! I’m quit ! C. Take a search in Graylog
Incident Response
Problem appear ! What should we do?
3.4. Graylog for OpenStack : 3 steps to know WHY?
Step 1 : Collect logs
Take log from :
● nova log
● neutron log
● cinder log
● glance log
● keystone
Step 2 : Analyze
Make a search in Graylog :
Syntax : instance id + ERROR
Step 3 : Now you know WHY
Just solve the problem & Go to sleep !
3.4. Graylog for OpenStack : 3 steps to know WHY?
Tracking a event
My instances was rebooted last night ??? When?
3.4. Graylog for OpenStack : 3 steps to know WHY?
Measuring metric
DEMO & Q.A
Bonus : Graylog vs ELK
Graylog is coming the closest to the Splunk architecture !
VS
Thank you !
ManhDV
manh.dinhvan@meditech.vn
https://meditech.vn/
https://github.com/hocchudong

More Related Content

What's hot

Linking Metrics to Logs using Loki
Linking Metrics to Logs using LokiLinking Metrics to Logs using Loki
Linking Metrics to Logs using LokiKnoldus Inc.
 
OSMC 2018 | Distributed Tracing FAQ by Gianluca Arbezzano
OSMC 2018 | Distributed Tracing FAQ by Gianluca ArbezzanoOSMC 2018 | Distributed Tracing FAQ by Gianluca Arbezzano
OSMC 2018 | Distributed Tracing FAQ by Gianluca ArbezzanoNETWAYS
 
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)Red Hat Developers
 
Loki - like prometheus, but for logs
Loki - like prometheus, but for logsLoki - like prometheus, but for logs
Loki - like prometheus, but for logsJuraj Hantak
 
Easy access to open stack object storage
Easy access to open stack object storageEasy access to open stack object storage
Easy access to open stack object storageJuan José Martínez
 
OSMC 2018 | Logging is coming to Grafana by David kaltschmidt
OSMC 2018 | Logging is coming to Grafana by David kaltschmidtOSMC 2018 | Logging is coming to Grafana by David kaltschmidt
OSMC 2018 | Logging is coming to Grafana by David kaltschmidtNETWAYS
 
Prometheus: From Berlin to Bonanza (Keynote CloudNativeCon+Kubecon Europe 2017)
Prometheus:  From Berlin to Bonanza (Keynote CloudNativeCon+Kubecon Europe 2017)Prometheus:  From Berlin to Bonanza (Keynote CloudNativeCon+Kubecon Europe 2017)
Prometheus: From Berlin to Bonanza (Keynote CloudNativeCon+Kubecon Europe 2017)Brian Brazil
 
End to-end monitoring with the prometheus operator - Max Inden
End to-end monitoring with the prometheus operator - Max IndenEnd to-end monitoring with the prometheus operator - Max Inden
End to-end monitoring with the prometheus operator - Max IndenParis Container Day
 
Prometheus grafana workshop
Prometheus grafana workshopPrometheus grafana workshop
Prometheus grafana workshopDemis Rizzotto
 
The rsyslog v8 engine (developer's view)
The rsyslog v8 engine (developer's view)The rsyslog v8 engine (developer's view)
The rsyslog v8 engine (developer's view)Rainer Gerhards
 

What's hot (10)

Linking Metrics to Logs using Loki
Linking Metrics to Logs using LokiLinking Metrics to Logs using Loki
Linking Metrics to Logs using Loki
 
OSMC 2018 | Distributed Tracing FAQ by Gianluca Arbezzano
OSMC 2018 | Distributed Tracing FAQ by Gianluca ArbezzanoOSMC 2018 | Distributed Tracing FAQ by Gianluca Arbezzano
OSMC 2018 | Distributed Tracing FAQ by Gianluca Arbezzano
 
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
 
Loki - like prometheus, but for logs
Loki - like prometheus, but for logsLoki - like prometheus, but for logs
Loki - like prometheus, but for logs
 
Easy access to open stack object storage
Easy access to open stack object storageEasy access to open stack object storage
Easy access to open stack object storage
 
OSMC 2018 | Logging is coming to Grafana by David kaltschmidt
OSMC 2018 | Logging is coming to Grafana by David kaltschmidtOSMC 2018 | Logging is coming to Grafana by David kaltschmidt
OSMC 2018 | Logging is coming to Grafana by David kaltschmidt
 
Prometheus: From Berlin to Bonanza (Keynote CloudNativeCon+Kubecon Europe 2017)
Prometheus:  From Berlin to Bonanza (Keynote CloudNativeCon+Kubecon Europe 2017)Prometheus:  From Berlin to Bonanza (Keynote CloudNativeCon+Kubecon Europe 2017)
Prometheus: From Berlin to Bonanza (Keynote CloudNativeCon+Kubecon Europe 2017)
 
End to-end monitoring with the prometheus operator - Max Inden
End to-end monitoring with the prometheus operator - Max IndenEnd to-end monitoring with the prometheus operator - Max Inden
End to-end monitoring with the prometheus operator - Max Inden
 
Prometheus grafana workshop
Prometheus grafana workshopPrometheus grafana workshop
Prometheus grafana workshop
 
The rsyslog v8 engine (developer's view)
The rsyslog v8 engine (developer's view)The rsyslog v8 engine (developer's view)
The rsyslog v8 engine (developer's view)
 

Viewers also liked

Why choose VMware vCloud Suite Standard over vSOM
Why choose VMware vCloud Suite Standard over vSOMWhy choose VMware vCloud Suite Standard over vSOM
Why choose VMware vCloud Suite Standard over vSOMAnil Gupta (AJ) - vExpert
 
The Disruption of Big Data - AWS India Summit 2012
The Disruption of Big Data - AWS India Summit 2012The Disruption of Big Data - AWS India Summit 2012
The Disruption of Big Data - AWS India Summit 2012Amazon Web Services
 
Sumo Logic Quickstart - Nv 2016
Sumo Logic Quickstart - Nv 2016Sumo Logic Quickstart - Nv 2016
Sumo Logic Quickstart - Nv 2016Sumo Logic
 
7+1 hiba, amit Te is elkövet(het)sz
7+1 hiba, amit Te is elkövet(het)sz7+1 hiba, amit Te is elkövet(het)sz
7+1 hiba, amit Te is elkövet(het)szCzímer Zoltán
 
Esdm Case Studies
Esdm Case StudiesEsdm Case Studies
Esdm Case StudiesTony Andre
 
Four Strategies to Create a DevOps Culture & System that Favors Innovation & ...
Four Strategies to Create a DevOps Culture & System that Favors Innovation & ...Four Strategies to Create a DevOps Culture & System that Favors Innovation & ...
Four Strategies to Create a DevOps Culture & System that Favors Innovation & ...Amazon Web Services
 
DGIQ 2015 The Fundamentals of Data Quality
DGIQ 2015 The Fundamentals of Data QualityDGIQ 2015 The Fundamentals of Data Quality
DGIQ 2015 The Fundamentals of Data QualityCaserta
 
Pre-Con Ed: Learn What's New in CA Spectrum®
Pre-Con Ed: Learn What's New in CA Spectrum®Pre-Con Ed: Learn What's New in CA Spectrum®
Pre-Con Ed: Learn What's New in CA Spectrum®CA Technologies
 
أساسيات العمل الجماعي
أساسيات العمل الجماعي أساسيات العمل الجماعي
أساسيات العمل الجماعي Ismail Ibrahim
 
IT6701 Information Management Unit-I
IT6701 Information Management Unit-IIT6701 Information Management Unit-I
IT6701 Information Management Unit-IMikel Raj
 
Agile Operations Keynote: Redefine the Role of IT Operations With Digital Tra...
Agile Operations Keynote: Redefine the Role of IT Operations With Digital Tra...Agile Operations Keynote: Redefine the Role of IT Operations With Digital Tra...
Agile Operations Keynote: Redefine the Role of IT Operations With Digital Tra...CA Technologies
 
Azure Large Scale Deployments - Tales from the Trenches
Azure Large Scale Deployments - Tales from the TrenchesAzure Large Scale Deployments - Tales from the Trenches
Azure Large Scale Deployments - Tales from the TrenchesAaron Saikovski
 
Boston Devops Meetup June 22nd
Boston Devops Meetup June 22ndBoston Devops Meetup June 22nd
Boston Devops Meetup June 22ndmdilawari
 
Bioocean1 :Introduction to Biological Oceanography
Bioocean1 :Introduction to Biological Oceanography Bioocean1 :Introduction to Biological Oceanography
Bioocean1 :Introduction to Biological Oceanography Gazi Abdullah
 
Projectmanagement en systemisch werken
Projectmanagement en systemisch werkenProjectmanagement en systemisch werken
Projectmanagement en systemisch werkenOkke Jan Douma
 
BVBA SOSIS van Jeroen Meus kent rustige start
BVBA SOSIS van Jeroen Meus kent rustige startBVBA SOSIS van Jeroen Meus kent rustige start
BVBA SOSIS van Jeroen Meus kent rustige startThierry Debels
 
Next Generation Data Center Strategies
Next Generation Data Center StrategiesNext Generation Data Center Strategies
Next Generation Data Center StrategiesVenkat Nambiyur
 
Security at Scale with AWS - AWS Summit Cape Town 2017
Security at Scale with AWS - AWS Summit Cape Town 2017 Security at Scale with AWS - AWS Summit Cape Town 2017
Security at Scale with AWS - AWS Summit Cape Town 2017 Amazon Web Services
 
20170918 remiqz - big data expo - final
20170918   remiqz - big data expo - final20170918   remiqz - big data expo - final
20170918 remiqz - big data expo - finalBigDataExpo
 

Viewers also liked (20)

Why choose VMware vCloud Suite Standard over vSOM
Why choose VMware vCloud Suite Standard over vSOMWhy choose VMware vCloud Suite Standard over vSOM
Why choose VMware vCloud Suite Standard over vSOM
 
The Disruption of Big Data - AWS India Summit 2012
The Disruption of Big Data - AWS India Summit 2012The Disruption of Big Data - AWS India Summit 2012
The Disruption of Big Data - AWS India Summit 2012
 
Sumo Logic Quickstart - Nv 2016
Sumo Logic Quickstart - Nv 2016Sumo Logic Quickstart - Nv 2016
Sumo Logic Quickstart - Nv 2016
 
7+1 hiba, amit Te is elkövet(het)sz
7+1 hiba, amit Te is elkövet(het)sz7+1 hiba, amit Te is elkövet(het)sz
7+1 hiba, amit Te is elkövet(het)sz
 
Esdm Case Studies
Esdm Case StudiesEsdm Case Studies
Esdm Case Studies
 
Four Strategies to Create a DevOps Culture & System that Favors Innovation & ...
Four Strategies to Create a DevOps Culture & System that Favors Innovation & ...Four Strategies to Create a DevOps Culture & System that Favors Innovation & ...
Four Strategies to Create a DevOps Culture & System that Favors Innovation & ...
 
DGIQ 2015 The Fundamentals of Data Quality
DGIQ 2015 The Fundamentals of Data QualityDGIQ 2015 The Fundamentals of Data Quality
DGIQ 2015 The Fundamentals of Data Quality
 
Pre-Con Ed: Learn What's New in CA Spectrum®
Pre-Con Ed: Learn What's New in CA Spectrum®Pre-Con Ed: Learn What's New in CA Spectrum®
Pre-Con Ed: Learn What's New in CA Spectrum®
 
أساسيات العمل الجماعي
أساسيات العمل الجماعي أساسيات العمل الجماعي
أساسيات العمل الجماعي
 
IT6701 Information Management Unit-I
IT6701 Information Management Unit-IIT6701 Information Management Unit-I
IT6701 Information Management Unit-I
 
Agile Operations Keynote: Redefine the Role of IT Operations With Digital Tra...
Agile Operations Keynote: Redefine the Role of IT Operations With Digital Tra...Agile Operations Keynote: Redefine the Role of IT Operations With Digital Tra...
Agile Operations Keynote: Redefine the Role of IT Operations With Digital Tra...
 
Azure Large Scale Deployments - Tales from the Trenches
Azure Large Scale Deployments - Tales from the TrenchesAzure Large Scale Deployments - Tales from the Trenches
Azure Large Scale Deployments - Tales from the Trenches
 
Boston Devops Meetup June 22nd
Boston Devops Meetup June 22ndBoston Devops Meetup June 22nd
Boston Devops Meetup June 22nd
 
Bioocean1 :Introduction to Biological Oceanography
Bioocean1 :Introduction to Biological Oceanography Bioocean1 :Introduction to Biological Oceanography
Bioocean1 :Introduction to Biological Oceanography
 
Projectmanagement en systemisch werken
Projectmanagement en systemisch werkenProjectmanagement en systemisch werken
Projectmanagement en systemisch werken
 
Sudan tanıtımı
Sudan tanıtımıSudan tanıtımı
Sudan tanıtımı
 
BVBA SOSIS van Jeroen Meus kent rustige start
BVBA SOSIS van Jeroen Meus kent rustige startBVBA SOSIS van Jeroen Meus kent rustige start
BVBA SOSIS van Jeroen Meus kent rustige start
 
Next Generation Data Center Strategies
Next Generation Data Center StrategiesNext Generation Data Center Strategies
Next Generation Data Center Strategies
 
Security at Scale with AWS - AWS Summit Cape Town 2017
Security at Scale with AWS - AWS Summit Cape Town 2017 Security at Scale with AWS - AWS Summit Cape Town 2017
Security at Scale with AWS - AWS Summit Cape Town 2017
 
20170918 remiqz - big data expo - final
20170918   remiqz - big data expo - final20170918   remiqz - big data expo - final
20170918 remiqz - big data expo - final
 

Similar to Graylog for open stack 3 steps to know why

004 - Logging in the Cloud -- hide01.ir.pptx
004 - Logging in the Cloud  --  hide01.ir.pptx004 - Logging in the Cloud  --  hide01.ir.pptx
004 - Logging in the Cloud -- hide01.ir.pptxnitinscribd
 
Sumo Logic Cert Jam - Administration
Sumo Logic Cert Jam - AdministrationSumo Logic Cert Jam - Administration
Sumo Logic Cert Jam - AdministrationSumo Logic
 
Eko10 workshop - OPEN SOURCE DATABASE MONITORING
Eko10 workshop - OPEN SOURCE DATABASE MONITORINGEko10 workshop - OPEN SOURCE DATABASE MONITORING
Eko10 workshop - OPEN SOURCE DATABASE MONITORINGPablo Garbossa
 
Eko10 Workshop Opensource Database Auditing
Eko10  Workshop Opensource Database AuditingEko10  Workshop Opensource Database Auditing
Eko10 Workshop Opensource Database AuditingJuan Berner
 
MongoDB Operational Best Practices (mongosf2012)
MongoDB Operational Best Practices (mongosf2012)MongoDB Operational Best Practices (mongosf2012)
MongoDB Operational Best Practices (mongosf2012)Scott Hernandez
 
Meetup milano #4 log management and anypoint advanced monitoring
Meetup milano #4   log management and anypoint advanced monitoringMeetup milano #4   log management and anypoint advanced monitoring
Meetup milano #4 log management and anypoint advanced monitoringGonzalo Marcos Ansoain
 
Splunk, SIEMs, and Big Data - The Undercroft - November 2019
Splunk, SIEMs, and Big Data - The Undercroft - November 2019Splunk, SIEMs, and Big Data - The Undercroft - November 2019
Splunk, SIEMs, and Big Data - The Undercroft - November 2019Jonathan Singer
 
Logs @ OVHcloud
Logs @ OVHcloudLogs @ OVHcloud
Logs @ OVHcloudOVHcloud
 
Query and audit logging in cassandra
Query and audit logging in cassandraQuery and audit logging in cassandra
Query and audit logging in cassandraVinay Kumar Chella
 
PyConUK 2014 - PostMortem Debugging and Web Development Updated
PyConUK 2014 - PostMortem Debugging and Web Development UpdatedPyConUK 2014 - PostMortem Debugging and Web Development Updated
PyConUK 2014 - PostMortem Debugging and Web Development UpdatedAlessandro Molina
 
Integrating Puppet and Gitolite for sysadmins cooperations
Integrating Puppet and Gitolite for sysadmins cooperationsIntegrating Puppet and Gitolite for sysadmins cooperations
Integrating Puppet and Gitolite for sysadmins cooperationsLuca Mazzaferro
 
Post-Mortem Debugging and Web Development
Post-Mortem Debugging and Web DevelopmentPost-Mortem Debugging and Web Development
Post-Mortem Debugging and Web DevelopmentAlessandro Molina
 
Using Sumo Logic - Apr 2018
Using Sumo Logic - Apr 2018Using Sumo Logic - Apr 2018
Using Sumo Logic - Apr 2018Sumo Logic
 
Google Cloud Platform Special Training
Google Cloud Platform Special TrainingGoogle Cloud Platform Special Training
Google Cloud Platform Special TrainingSimon Su
 
Strata+Hadoop 2017 San Jose: Lessons from a year of supporting Apache Kafka
Strata+Hadoop 2017 San Jose: Lessons from a year of supporting Apache KafkaStrata+Hadoop 2017 San Jose: Lessons from a year of supporting Apache Kafka
Strata+Hadoop 2017 San Jose: Lessons from a year of supporting Apache Kafkaconfluent
 
Node.js Web Apps @ ebay scale
Node.js Web Apps @ ebay scaleNode.js Web Apps @ ebay scale
Node.js Web Apps @ ebay scaleDmytro Semenov
 
Seminario eMadrid 2015 09 10 sobre Serious Games (UCM) Manuel Freire - RAGE:...
Seminario eMadrid 2015 09 10 sobre Serious Games (UCM) Manuel Freire -  RAGE:...Seminario eMadrid 2015 09 10 sobre Serious Games (UCM) Manuel Freire -  RAGE:...
Seminario eMadrid 2015 09 10 sobre Serious Games (UCM) Manuel Freire - RAGE:...eMadrid network
 
EuroPython 2013 - Python3 TurboGears Training
EuroPython 2013 - Python3 TurboGears TrainingEuroPython 2013 - Python3 TurboGears Training
EuroPython 2013 - Python3 TurboGears TrainingAlessandro Molina
 
Analyzing OTM Logs and Troubleshooting
Analyzing OTM Logs and TroubleshootingAnalyzing OTM Logs and Troubleshooting
Analyzing OTM Logs and TroubleshootingMavenWire
 

Similar to Graylog for open stack 3 steps to know why (20)

004 - Logging in the Cloud -- hide01.ir.pptx
004 - Logging in the Cloud  --  hide01.ir.pptx004 - Logging in the Cloud  --  hide01.ir.pptx
004 - Logging in the Cloud -- hide01.ir.pptx
 
Sumo Logic Cert Jam - Administration
Sumo Logic Cert Jam - AdministrationSumo Logic Cert Jam - Administration
Sumo Logic Cert Jam - Administration
 
Eko10 workshop - OPEN SOURCE DATABASE MONITORING
Eko10 workshop - OPEN SOURCE DATABASE MONITORINGEko10 workshop - OPEN SOURCE DATABASE MONITORING
Eko10 workshop - OPEN SOURCE DATABASE MONITORING
 
Eko10 Workshop Opensource Database Auditing
Eko10  Workshop Opensource Database AuditingEko10  Workshop Opensource Database Auditing
Eko10 Workshop Opensource Database Auditing
 
MongoDB Operational Best Practices (mongosf2012)
MongoDB Operational Best Practices (mongosf2012)MongoDB Operational Best Practices (mongosf2012)
MongoDB Operational Best Practices (mongosf2012)
 
Meetup milano #4 log management and anypoint advanced monitoring
Meetup milano #4   log management and anypoint advanced monitoringMeetup milano #4   log management and anypoint advanced monitoring
Meetup milano #4 log management and anypoint advanced monitoring
 
Splunk, SIEMs, and Big Data - The Undercroft - November 2019
Splunk, SIEMs, and Big Data - The Undercroft - November 2019Splunk, SIEMs, and Big Data - The Undercroft - November 2019
Splunk, SIEMs, and Big Data - The Undercroft - November 2019
 
Logs @ OVHcloud
Logs @ OVHcloudLogs @ OVHcloud
Logs @ OVHcloud
 
Query and audit logging in cassandra
Query and audit logging in cassandraQuery and audit logging in cassandra
Query and audit logging in cassandra
 
Docker Logging Webinar
Docker Logging  WebinarDocker Logging  Webinar
Docker Logging Webinar
 
PyConUK 2014 - PostMortem Debugging and Web Development Updated
PyConUK 2014 - PostMortem Debugging and Web Development UpdatedPyConUK 2014 - PostMortem Debugging and Web Development Updated
PyConUK 2014 - PostMortem Debugging and Web Development Updated
 
Integrating Puppet and Gitolite for sysadmins cooperations
Integrating Puppet and Gitolite for sysadmins cooperationsIntegrating Puppet and Gitolite for sysadmins cooperations
Integrating Puppet and Gitolite for sysadmins cooperations
 
Post-Mortem Debugging and Web Development
Post-Mortem Debugging and Web DevelopmentPost-Mortem Debugging and Web Development
Post-Mortem Debugging and Web Development
 
Using Sumo Logic - Apr 2018
Using Sumo Logic - Apr 2018Using Sumo Logic - Apr 2018
Using Sumo Logic - Apr 2018
 
Google Cloud Platform Special Training
Google Cloud Platform Special TrainingGoogle Cloud Platform Special Training
Google Cloud Platform Special Training
 
Strata+Hadoop 2017 San Jose: Lessons from a year of supporting Apache Kafka
Strata+Hadoop 2017 San Jose: Lessons from a year of supporting Apache KafkaStrata+Hadoop 2017 San Jose: Lessons from a year of supporting Apache Kafka
Strata+Hadoop 2017 San Jose: Lessons from a year of supporting Apache Kafka
 
Node.js Web Apps @ ebay scale
Node.js Web Apps @ ebay scaleNode.js Web Apps @ ebay scale
Node.js Web Apps @ ebay scale
 
Seminario eMadrid 2015 09 10 sobre Serious Games (UCM) Manuel Freire - RAGE:...
Seminario eMadrid 2015 09 10 sobre Serious Games (UCM) Manuel Freire -  RAGE:...Seminario eMadrid 2015 09 10 sobre Serious Games (UCM) Manuel Freire -  RAGE:...
Seminario eMadrid 2015 09 10 sobre Serious Games (UCM) Manuel Freire - RAGE:...
 
EuroPython 2013 - Python3 TurboGears Training
EuroPython 2013 - Python3 TurboGears TrainingEuroPython 2013 - Python3 TurboGears Training
EuroPython 2013 - Python3 TurboGears Training
 
Analyzing OTM Logs and Troubleshooting
Analyzing OTM Logs and TroubleshootingAnalyzing OTM Logs and Troubleshooting
Analyzing OTM Logs and Troubleshooting
 

Recently uploaded

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

Graylog for open stack 3 steps to know why

  • 1. Graylog for OpenStack : 3 steps to know WHY
  • 2. MediTech JSC https://meditech.vn Private Cloud Storage Monitor Logging Managed Services About me Dinh Van Manh ● System Integration Department in MediTechJSC ● Member of Hocchudong ● Interested in OpenStack, Linux, Monitoring, Logging and new technology ● Habbit : “tra da + thuoc lao” with friends
  • 3. Agenda 1. Log Overview 1.1. Logs : What & Where? 1.2. Why look at Logs 1.3. How to use Logs effectively 2. Log in OpenStack 2.1. OpenStack log statistics 2.2. OpenStack Log Management : in imagionation & in fact 3. Graylog for OpenStack 3.1. Introduce about Graylog 3.2. Key features 3.3. Architecture/Mechanism/Model of Graylog 3.4. Graylog for OpenStack: 3 steps to know WHY? 4. Demo + Q.A
  • 5. 1.1. Logs : What & Where What logs? (from the view of system administrator) ● System event diary ● System status records ● User activities ● Incident notify Log format
  • 6. 1.1. Logs : What & Where Log come from WHERE? ● Storage devices ● Application in Linux/Windows ● Cloud Services : OpenStack ● Servers ● Firewalls ● Routers, switches
  • 7. 1.2. Why look at Logs? Basically : Incident response higher Tracking system event higher Measuring security : metrics, trends… higher and higher Situational awareness New threat discovery Estimating about user habit, trends...
  • 8. 1.3. How to use Logs effectively Level 1 : Just SSH and view ! ● Understanding log location ● Command to view log : tail, more, grep ● Filtering by keyword Level 2 : Use Syslog ● Collect syslog from client ● Store in log server Level 3 : Log management Software ● Collect everything ● Retain most everything ● Analyze enough ● Summarize and report ● Advance features : visualize, alert, share...
  • 9. 1.3. How to use Logs effectively ● Facility ○ Application Logs ○ Event Logs ○ Service Logs ○ System Logs Log Keywords ● Severity ○ 0 - emerg ○ 1 - alert ○ 2 - crit ○ 3 - error ○ 4 - warn ○ 5 - notice ○ 6 - info ○ 7 - debug ● Rotention ○ Time to rotate log ● Retention ○ Delete, archive...log ● Syslog ○ protocol to transfer log
  • 10. Log in OpenStack Which level is appropriate?
  • 11. 2.1. OpenStack log statistics OpenStack System : 3 Controller + 30 Compute node ● Controller Node ○ 6 log folder per OpenStack service ○ system log : auth, dmesg, kernel… ○ application log : apache, haproxy, pacemaker… ● Compute Node ○ 2 log folder per OpenStack service ○ system log : auth, dmes, kernel… ○ application log : libvirt ○ log of instances => Total : ● ~ 220 log file ● 10 GB log = 30 million messages / day
  • 12. 2.2. OpenStack log management : in imagionation & in fact Communication think Colleagues think In fact When i said : My job is OpenStack log management ! So Waste !!! What should we do?
  • 13. Graylog for OpenStack: To infinity & beyond !
  • 14. 3.1. Graylog Introduce ● Log centralized management software ● Released in 2010 by Lenart Koopman with name is Graylog2 ● In 1/2015 release Graylog v1., Graylog Inc was established ● Big change from Graylog version 2.0 ● Newest version is Graylog 2.3.1, stable version is Graylog 2.3.0
  • 15. 3.2. Key features Various Input & Output Analyze & Search Visualize metricAlert & Trigger User management
  • 16. 3.3. Architecture/Mechanism/Model of Graylog Overall architecture ● Server ○ Graylog ● Client ○ Client host ○ Graylog sidecar ○ Nxlog/Filebeat Filebeat Graylog Sidecar : Break the old path ● Configuration management system ● Config in client host only ONCE ! ● All in Web ● Secure with SSL/TLS
  • 17. 3.3. Architecture/Mechanism/Model of Graylog Sidecar Work-flow : Easy config in 3 steps Step 1 : Config in client ● install sidecar ● declare : graylog ip, client hostname, tags ● start service Step 2 : Config in Graylog Web ● add tags ● chose what logs you want to collect Step 3 : Checking ● Check colleted log
  • 18. 3.3. Architecture/Mechanism/Model of Graylog Deep dive in architecture Graylog Server ● receive log message ● execute log ● communicate with other components Elasticsearch ● store log message ● search engine MongoDB ● store meta infomation ● store config data
  • 19. 3.3. Architecture/Mechanism/Model of Graylog Log execute processing Step 1 : ● Spooling & store in disk temporarily ● Prepare for buffer process Step 2 : ● Messages from disk go in to Input Buffer ● Mission : Filter, classify messages Step 3 : ● Messages go in to Output Buffer ● Onward to Elasticsearch or user defined output
  • 20. 3.3. Architecture/Mechanism/Model of Graylog Elasticsearch & Graylog ● Clustering ● Use API to communicate ● Use unicast-discovery to recogize other nodes ● Graylog as a Master Node MongoDB & Graylog ● Client - Server mechanism ● Graylog use driver to communicate with MongoDB Internal Graylog components mechanisms
  • 21. 3.3. Architecture/Mechanism/Model of Graylog None HA - Small production HA - Bigger Production
  • 22. Code show you HOW ! Log show you WHY !
  • 23. 3.4. Graylog for OpenStack : 3 steps to know WHY? Just 3 steps to exploiting log in OpenStack
  • 24. 3.4. Graylog for OpenStack : 3 steps to know WHY? What should i do when instance spawning fail A. Try to spawn again B. Blame for customer D. Bug again! I’m quit ! C. Take a search in Graylog Incident Response Problem appear ! What should we do?
  • 25. 3.4. Graylog for OpenStack : 3 steps to know WHY? Step 1 : Collect logs Take log from : ● nova log ● neutron log ● cinder log ● glance log ● keystone Step 2 : Analyze Make a search in Graylog : Syntax : instance id + ERROR Step 3 : Now you know WHY Just solve the problem & Go to sleep !
  • 26. 3.4. Graylog for OpenStack : 3 steps to know WHY? Tracking a event My instances was rebooted last night ??? When?
  • 27. 3.4. Graylog for OpenStack : 3 steps to know WHY? Measuring metric
  • 29. Bonus : Graylog vs ELK Graylog is coming the closest to the Splunk architecture ! VS

Editor's Notes

  1. Đưa hình vẽ kiến trúc và các mục để giải thích chức năng - vài trò - luồng làm việc