SlideShare a Scribd company logo
2
Most read
4
Most read
10
Most read
Graylog
About me
Diwakar Upadhyay
26 Year old, Lead Engineer at KelltonTech
Gurugram India
Skype:derrickindia
Agenda
1. Why Graylog?
2. What is Graylog?
3. How to send your logs?
4. Architecture
5. Extract Information & Analytics
5. FAQ
Why Graylog ?
Free and open source log management system
Existing monitoring solutions (Nagios,Zabbix)
have problems :
-Some of them lack of APIs
-Ingegration with configration managment
is time consuming
-Do not scale well
-High Availability is not considered by the
System Architecture
Pattern detection,interactive visualization,dynamic
queries,anomaly detection,more sharing
Use Case Gorb
What does Graylog?
Receives messages from muliple input protocols
GELF via HTTP/UDP/TCP,Syslog, ....
Assign messages to stream
Trigger user-defined alerts per streams
Stores messages in ElasticSearch for graphing
Provides messages to different outputs based on
streams
Uses MongoDB to store metadata and alerts
How to send your logs?
1.Classic syslog via TCP/UDP
2.GELF via TCP/UDP
3.Write your own input plugin
GELF
Graylog Extended Log Format – Lets you
structure your logs
Many libraries for different systems and language
available
Example GELF message
{
'short_message': 'Something went wrong',
'host':'some-host-1.example.org',
'full_message':'Stacktrace and message',
'file':'some controller',
'line':7,
'_from_load_balancer':'lb-3',
'_user_id':9001,
'_http_response_code':500
}
Architecture
Hosts
Gralog2-server
ElasticSearch MongoDB
Graylog2-web-interface
You
Have fields like user_id,http_response_code,
processed_controller,processed_action, ...
Use Case 1
Give your in-house developers access to the logs
they produce :
_oauth_consumer_key =
‘acbd18db4cc2f85cedef654fccc4a4d8’
_http_response_code = ^(4|5).*
Extract Information & Analytics
...and let them see the errors they produce with one click on the “Errors
from app” stream.
_http_response_code = 404
_from_lb = ‘lb-3’
all.distribution({_from_lb}, _http_response_code = 404)
> lb-1 (5732), lb-2 (69), lb-3 (45), lb-4 (22)
How many signups did you have today?
all.count(_processed_controller = ‘Session’, _processed_action =
‘create’, _http_return_code = 301)
> 294358
...and how many failed? Graph this!
all.count(_processed_controller = ‘Session’, _processed_action =
‘create’, _http_return_code = 200)
> 10452
ThanksDiwakar

More Related Content

PPT
Nagios
PPTX
Introduction to JFrog Artifactory​ Presentation
PDF
Graylog
PPTX
Graylog Engineering - Design Your Architecture
PDF
The basics of fluentd
PDF
PDF
Packer by HashiCorp
PPTX
Log analysis using elk
Nagios
Introduction to JFrog Artifactory​ Presentation
Graylog
Graylog Engineering - Design Your Architecture
The basics of fluentd
Packer by HashiCorp
Log analysis using elk

What's hot (20)

PDF
Graylog for open stack 3 steps to know why
PDF
Monitoring with Graylog - a modern approach to monitoring?
PDF
Grafana Loki: like Prometheus, but for Logs
PDF
How I learned to time travel, or, data pipelining and scheduling with Airflow
PPTX
Prometheus and Grafana
PDF
Grokking TechTalk #33: High Concurrency Architecture at TIKI
PDF
Cloud Monitoring tool Grafana
PDF
OSMC 2021 | Introduction into OpenSearch
PDF
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
PDF
Scaling FreeSWITCH Performance
PPTX
Microservices Architecture & Testing Strategies
PPT
Monitoring using Prometheus and Grafana
PPTX
MySQL Monitoring using Prometheus & Grafana
PPTX
Stability Patterns for Microservices
PDF
[KubeCon EU 2022] Running containerd and k3s on macOS
PDF
Distributed Locking in Kubernetes
PDF
[Pgday.Seoul 2017] 2. PostgreSQL을 위한 리눅스 커널 최적화 - 김상욱
PPTX
Introduction to Redis
PDF
Scaling WebRTC applications with Janus
PDF
Logstash-Elasticsearch-Kibana
Graylog for open stack 3 steps to know why
Monitoring with Graylog - a modern approach to monitoring?
Grafana Loki: like Prometheus, but for Logs
How I learned to time travel, or, data pipelining and scheduling with Airflow
Prometheus and Grafana
Grokking TechTalk #33: High Concurrency Architecture at TIKI
Cloud Monitoring tool Grafana
OSMC 2021 | Introduction into OpenSearch
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
Scaling FreeSWITCH Performance
Microservices Architecture & Testing Strategies
Monitoring using Prometheus and Grafana
MySQL Monitoring using Prometheus & Grafana
Stability Patterns for Microservices
[KubeCon EU 2022] Running containerd and k3s on macOS
Distributed Locking in Kubernetes
[Pgday.Seoul 2017] 2. PostgreSQL을 위한 리눅스 커널 최적화 - 김상욱
Introduction to Redis
Scaling WebRTC applications with Janus
Logstash-Elasticsearch-Kibana
Ad

Similar to Graylog (12)

PDF
GrayLog for Java developers FOSDEM 2018
PPTX
Graylog for open stack 3 steps to know why
PDF
OSDC 2014: Lennart Koopmann - Log Analysis with Graylog2
PDF
OSMC 2015: Monitoring Linux and Windows Logs with the Graylog Collector byBer...
PDF
OSMC 2015 | Monitoring Linux and Windows Logs with the Graylog Collector by B...
ODP
Graylog2 use cases for distributed web applications
ODP
Graylog2 (MongoBerlin/MongoHamburg 2010)
ODP
Turbo charge your logs
DOCX
Debian graylog logging server.docx
PPTX
Log Monitoring Simplified - Get the best out of Graylog2 & Icinga 2
PDF
OSMC 2014: Log monitoring simplified - Get the best out of Graylog2 & Icinga ...
PDF
OSMC 2014 | Log Monitoring simplified - Get the best out of Graylog2 & Icinga...
GrayLog for Java developers FOSDEM 2018
Graylog for open stack 3 steps to know why
OSDC 2014: Lennart Koopmann - Log Analysis with Graylog2
OSMC 2015: Monitoring Linux and Windows Logs with the Graylog Collector byBer...
OSMC 2015 | Monitoring Linux and Windows Logs with the Graylog Collector by B...
Graylog2 use cases for distributed web applications
Graylog2 (MongoBerlin/MongoHamburg 2010)
Turbo charge your logs
Debian graylog logging server.docx
Log Monitoring Simplified - Get the best out of Graylog2 & Icinga 2
OSMC 2014: Log monitoring simplified - Get the best out of Graylog2 & Icinga ...
OSMC 2014 | Log Monitoring simplified - Get the best out of Graylog2 & Icinga...
Ad

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPT
Teaching material agriculture food technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
A Presentation on Artificial Intelligence
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation theory and applications.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Approach and Philosophy of On baking technology
Diabetes mellitus diagnosis method based random forest with bat algorithm
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Review of recent advances in non-invasive hemoglobin estimation
Encapsulation_ Review paper, used for researhc scholars
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
MYSQL Presentation for SQL database connectivity
Teaching material agriculture food technology
Building Integrated photovoltaic BIPV_UPV.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Reach Out and Touch Someone: Haptics and Empathic Computing
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
A Presentation on Artificial Intelligence
Empathic Computing: Creating Shared Understanding
Encapsulation theory and applications.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Approach and Philosophy of On baking technology

Graylog

  • 2. About me Diwakar Upadhyay 26 Year old, Lead Engineer at KelltonTech Gurugram India Skype:derrickindia
  • 3. Agenda 1. Why Graylog? 2. What is Graylog? 3. How to send your logs? 4. Architecture 5. Extract Information & Analytics 5. FAQ
  • 4. Why Graylog ? Free and open source log management system Existing monitoring solutions (Nagios,Zabbix) have problems : -Some of them lack of APIs -Ingegration with configration managment is time consuming -Do not scale well -High Availability is not considered by the System Architecture Pattern detection,interactive visualization,dynamic queries,anomaly detection,more sharing
  • 6. What does Graylog? Receives messages from muliple input protocols GELF via HTTP/UDP/TCP,Syslog, .... Assign messages to stream Trigger user-defined alerts per streams Stores messages in ElasticSearch for graphing Provides messages to different outputs based on streams Uses MongoDB to store metadata and alerts
  • 7. How to send your logs? 1.Classic syslog via TCP/UDP 2.GELF via TCP/UDP 3.Write your own input plugin
  • 8. GELF Graylog Extended Log Format – Lets you structure your logs Many libraries for different systems and language available
  • 9. Example GELF message { 'short_message': 'Something went wrong', 'host':'some-host-1.example.org', 'full_message':'Stacktrace and message', 'file':'some controller', 'line':7, '_from_load_balancer':'lb-3', '_user_id':9001, '_http_response_code':500 }
  • 11. Have fields like user_id,http_response_code, processed_controller,processed_action, ... Use Case 1 Give your in-house developers access to the logs they produce : _oauth_consumer_key = ‘acbd18db4cc2f85cedef654fccc4a4d8’ _http_response_code = ^(4|5).* Extract Information & Analytics
  • 12. ...and let them see the errors they produce with one click on the “Errors from app” stream. _http_response_code = 404 _from_lb = ‘lb-3’ all.distribution({_from_lb}, _http_response_code = 404) > lb-1 (5732), lb-2 (69), lb-3 (45), lb-4 (22) How many signups did you have today? all.count(_processed_controller = ‘Session’, _processed_action = ‘create’, _http_return_code = 301) > 294358 ...and how many failed? Graph this! all.count(_processed_controller = ‘Session’, _processed_action = ‘create’, _http_return_code = 200) > 10452