SlideShare a Scribd company logo
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
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

ODP
PDF
Monitoring with Graylog - a modern approach to monitoring?
PPTX
Graylog Engineering - Design Your Architecture
PDF
Kubernetes Docker Container Implementation Ppt PowerPoint Presentation Slide ...
PDF
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
PDF
OpenStack Architecture
PDF
Meshing OpenStack and Bare Metal Networks with EVPN - David Iles, Mellanox Te...
PDF
The Service Mesh: It's about Traffic
Monitoring with Graylog - a modern approach to monitoring?
Graylog Engineering - Design Your Architecture
Kubernetes Docker Container Implementation Ppt PowerPoint Presentation Slide ...
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
OpenStack Architecture
Meshing OpenStack and Bare Metal Networks with EVPN - David Iles, Mellanox Te...
The Service Mesh: It's about Traffic

What's hot (20)

PPTX
Load Balancing and Scaling with NGINX
PDF
PostgreSQL WAL for DBAs
PDF
Docker, Linux Containers (LXC), and security
PDF
Observability
PDF
High Availability PostgreSQL with Zalando Patroni
PDF
Exploring the power of OpenTelemetry on Kubernetes
PDF
High Availability With DRBD & Heartbeat
PDF
Secret Management with Hashicorp’s Vault
PPTX
High Availability Content Caching with NGINX
PPTX
OpenStack Architecture and Use Cases
PDF
[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개
PPTX
Introduction to linux containers
PDF
오픈스택 기반 클라우드 서비스 구축 방안 및 사례
PDF
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
PDF
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
PDF
[KubeCon EU 2022] Running containerd and k3s on macOS
PDF
[242]open stack neutron dataplane 구현
PPTX
Data Con LA 2022 - Making real-time analytics a reality for digital transform...
PPTX
Apache Kafka Best Practices
PDF
OpenStack networking (Neutron)
Load Balancing and Scaling with NGINX
PostgreSQL WAL for DBAs
Docker, Linux Containers (LXC), and security
Observability
High Availability PostgreSQL with Zalando Patroni
Exploring the power of OpenTelemetry on Kubernetes
High Availability With DRBD & Heartbeat
Secret Management with Hashicorp’s Vault
High Availability Content Caching with NGINX
OpenStack Architecture and Use Cases
[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개
Introduction to linux containers
오픈스택 기반 클라우드 서비스 구축 방안 및 사례
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
[KubeCon EU 2022] Running containerd and k3s on macOS
[242]open stack neutron dataplane 구현
Data Con LA 2022 - Making real-time analytics a reality for digital transform...
Apache Kafka Best Practices
OpenStack networking (Neutron)
Ad

Viewers also liked (20)

PDF
Curso: SIGA
PPTX
Ironic - Vietnam OpenStack Technical Meetup #12
PDF
[Viet openstack] 20160625_openstack summit austin 2016 recap
PDF
VietOpenStack meetup 7th High Performance VM
PDF
An approach for migrating applications to interoperability cloud
PDF
[Vietstack meetup 1st] demo openstack juno
PDF
Viet stack 2nd meetup - BigData in Cloud Computing
PPTX
[OSS Upstream Training] 3 how open stack is made
PPT
HA in OpenStack service - meetup #9
PPTX
PPTX
[OSS Upstream Training] 2 viet openstack_upsteam_training_info
PDF
VietOpenStack meetup 7th Auto-scaling
PPTX
Viet stack 2nd meetup - Tong ket tinh hinh sau 1st meetup
PDF
[Viet openstack] cloud computing - openstack meetup v2
PPTX
[OSS Upstream Training] 9 kirigami contribution_simulation
PPTX
Portgroups support in ironic
PPTX
PPTX
Viet stack 2nd meetup - Virtualization & Nova in OpenStack
PDF
Deploying IPv6 on OpenStack
Curso: SIGA
Ironic - Vietnam OpenStack Technical Meetup #12
[Viet openstack] 20160625_openstack summit austin 2016 recap
VietOpenStack meetup 7th High Performance VM
An approach for migrating applications to interoperability cloud
[Vietstack meetup 1st] demo openstack juno
Viet stack 2nd meetup - BigData in Cloud Computing
[OSS Upstream Training] 3 how open stack is made
HA in OpenStack service - meetup #9
[OSS Upstream Training] 2 viet openstack_upsteam_training_info
VietOpenStack meetup 7th Auto-scaling
Viet stack 2nd meetup - Tong ket tinh hinh sau 1st meetup
[Viet openstack] cloud computing - openstack meetup v2
[OSS Upstream Training] 9 kirigami contribution_simulation
Portgroups support in ironic
Viet stack 2nd meetup - Virtualization & Nova in OpenStack
Deploying IPv6 on OpenStack
Ad

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

PPTX
004 - Logging in the Cloud -- hide01.ir.pptx
PPTX
Sumo Logic Cert Jam - Administration
PPTX
Eko10 workshop - OPEN SOURCE DATABASE MONITORING
PPTX
Eko10 Workshop Opensource Database Auditing
PDF
Docker Logging Webinar
PPTX
Logs @ OVHcloud
PDF
Splunk, SIEMs, and Big Data - The Undercroft - November 2019
PDF
Query and audit logging in cassandra
PDF
MongoDB Operational Best Practices (mongosf2012)
PDF
PyConUK 2014 - PostMortem Debugging and Web Development Updated
PPTX
Meetup milano #4 log management and anypoint advanced monitoring
PDF
Integrating Puppet and Gitolite for sysadmins cooperations
PDF
Post-Mortem Debugging and Web Development
PDF
Google Cloud Platform Special Training
PPTX
Node.js Web Apps @ ebay scale
PDF
Seminario eMadrid 2015 09 10 sobre Serious Games (UCM) Manuel Freire - RAGE:...
PDF
More Than Just The Tip Of The Iceberg.pdf
PPTX
Using Sumo Logic - Apr 2018
PPTX
Open Source TCP or Netflow Log Server Using Graylog
ODP
Turbo charge your logs
004 - Logging in the Cloud -- hide01.ir.pptx
Sumo Logic Cert Jam - Administration
Eko10 workshop - OPEN SOURCE DATABASE MONITORING
Eko10 Workshop Opensource Database Auditing
Docker Logging Webinar
Logs @ OVHcloud
Splunk, SIEMs, and Big Data - The Undercroft - November 2019
Query and audit logging in cassandra
MongoDB Operational Best Practices (mongosf2012)
PyConUK 2014 - PostMortem Debugging and Web Development Updated
Meetup milano #4 log management and anypoint advanced monitoring
Integrating Puppet and Gitolite for sysadmins cooperations
Post-Mortem Debugging and Web Development
Google Cloud Platform Special Training
Node.js Web Apps @ ebay scale
Seminario eMadrid 2015 09 10 sobre Serious Games (UCM) Manuel Freire - RAGE:...
More Than Just The Tip Of The Iceberg.pdf
Using Sumo Logic - Apr 2018
Open Source TCP or Netflow Log Server Using Graylog
Turbo charge your logs

More from Vietnam Open Infrastructure User Group (20)

PDF
Room 3 - 5 - Nguyễn Văn Hoàn - 101 Bugs, issues when I work with Ceph
PDF
Room 2 - 3 - Nguyễn Hoài Nam & Nguyễn Việt Hùng - Terraform & Pulumi Comparin...
PDF
Room 3 - 6 - Nguyễn Văn Thắng & Dzung Nguyen - Ứng dụng openzfs làm lưu trữ t...
PDF
Room 3 - 4 - Lê Quang Hiếu - How to be a cool dad: Leverage DIY Home Automati...
PDF
Room 3 - 2 - Trần Tuấn Anh - Defending Software Supply Chain Security in Bank...
PPTX
Room 3 - 7 - Nguyễn Như Phúc Huy - Vitastor: a fast and simple Ceph-like bloc...
PDF
Room 3 - 1 - Nguyễn Xuân Trường Lâm - Zero touch on-premise storage infrastru...
PPTX
Room 2 - 2 - Giang Thiên Phú - Kinh nghiệm tối ưu mongodb với database hơn 10...
PDF
Room 2 - 6 - Đinh Tuấn Phong - Migrate opensource database to Kubernetes easi...
PPTX
Room 2 - 4 - Juncheng Anthony Lin - Redhat - A Practical Approach to Traditio...
PDF
Room 2 - 7 - Lã Mạnh Hà - Agile + DevOps = A great combination
PPTX
Room 2 - 1 - Phạm Quang Minh - A real DevOps culture in practice
PDF
Room 2 - 5 - Seong Soo - NHN Cloud - Upstream contribution mentoring program ...
PDF
Room 1 - 2 - Nguyễn Văn Thắng & Dzung Nguyen - Proxmox VE và ZFS over iscsi
PPTX
Room 1 - 6 - Trần Quốc Sang - Autoscaling for multi cloud platform based on S...
PPTX
Room 1 - 3 - Lê Anh Tuấn - Build a High Performance Identification at GHTK wi...
PPTX
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
PDF
Room 1 - 5 - Thủy Đặng - Load balancing k8s services on baremetal with Cilium...
PDF
Room 1 - 4 - Phạm Tường Chiến & Trần Văn Thắng - Deliver managed Kubernetes C...
PDF
Room 1 - 1 - Benoit TELLIER - On premise email inbound service with Apache James
Room 3 - 5 - Nguyễn Văn Hoàn - 101 Bugs, issues when I work with Ceph
Room 2 - 3 - Nguyễn Hoài Nam & Nguyễn Việt Hùng - Terraform & Pulumi Comparin...
Room 3 - 6 - Nguyễn Văn Thắng & Dzung Nguyen - Ứng dụng openzfs làm lưu trữ t...
Room 3 - 4 - Lê Quang Hiếu - How to be a cool dad: Leverage DIY Home Automati...
Room 3 - 2 - Trần Tuấn Anh - Defending Software Supply Chain Security in Bank...
Room 3 - 7 - Nguyễn Như Phúc Huy - Vitastor: a fast and simple Ceph-like bloc...
Room 3 - 1 - Nguyễn Xuân Trường Lâm - Zero touch on-premise storage infrastru...
Room 2 - 2 - Giang Thiên Phú - Kinh nghiệm tối ưu mongodb với database hơn 10...
Room 2 - 6 - Đinh Tuấn Phong - Migrate opensource database to Kubernetes easi...
Room 2 - 4 - Juncheng Anthony Lin - Redhat - A Practical Approach to Traditio...
Room 2 - 7 - Lã Mạnh Hà - Agile + DevOps = A great combination
Room 2 - 1 - Phạm Quang Minh - A real DevOps culture in practice
Room 2 - 5 - Seong Soo - NHN Cloud - Upstream contribution mentoring program ...
Room 1 - 2 - Nguyễn Văn Thắng & Dzung Nguyen - Proxmox VE và ZFS over iscsi
Room 1 - 6 - Trần Quốc Sang - Autoscaling for multi cloud platform based on S...
Room 1 - 3 - Lê Anh Tuấn - Build a High Performance Identification at GHTK wi...
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
Room 1 - 5 - Thủy Đặng - Load balancing k8s services on baremetal with Cilium...
Room 1 - 4 - Phạm Tường Chiến & Trần Văn Thắng - Deliver managed Kubernetes C...
Room 1 - 1 - Benoit TELLIER - On premise email inbound service with Apache James

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
MYSQL Presentation for SQL database connectivity
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Cloud computing and distributed systems.
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Electronic commerce courselecture one. Pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Big Data Technologies - Introduction.pptx
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPT
Teaching material agriculture food technology
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
cuic standard and advanced reporting.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
Approach and Philosophy of On baking technology
Unlocking AI with Model Context Protocol (MCP)
MYSQL Presentation for SQL database connectivity
NewMind AI Monthly Chronicles - July 2025
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Cloud computing and distributed systems.
Network Security Unit 5.pdf for BCA BBA.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Electronic commerce courselecture one. Pdf
Review of recent advances in non-invasive hemoglobin estimation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Diabetes mellitus diagnosis method based random forest with bat algorithm
Big Data Technologies - Introduction.pptx
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Advanced methodologies resolving dimensionality complications for autism neur...
Teaching material agriculture food technology
GamePlan Trading System Review: Professional Trader's Honest Take
cuic standard and advanced reporting.pdf
Per capita expenditure prediction using model stacking based on satellite ima...

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