SlideShare a Scribd company logo
1 of 28
Download to read offline
- Logs, Logs and More Logs!
Cameron Evans Lead Infrastructure Developer cameron@toplog.io
● NSCC IT grad
● Backend Dev at
● Log Management Company
● Log Shipper/Receiver
● Going to say “Logs” a lot
About
● Why are logs so important?
● What can we learn from logs?
● Processing logs efficiently
○ Logstash & Elasticsearch
● Searching & Visualization
● Log analysis demo
Outline
What is a log?
(SysAdmin nightmares are made of these . . .)
Timestamp + Data = Log
Data? Data.
Data!
Timestamp
● Recognize this log?
○ No standard schema
○ Easy for computer to say, hard to read
● What does this mean?
● Is this valuable information?
● What can we do with it?
● TopLog cares.
○ We understand the pain
○ Server diaries
● Troubleshooting Developers
○ “Its broken”
● Your infrastructure
○ Down-time
■ Network
■ Application
Who cares?
Typical Security Company, inc.
● Network captures, firewalls and netflow
Not only network logs
● Firewall, switches, TCP/IP traces, NetFlow
○ Can catch intrusions
○ But how was your infrastructure affected?
● Application level logs
○ See the effects
Security and Logs
Syslog, web server logs, database logs, application logs
● What do we do with them?
○ Corral
○ Analyze
● Which tools to use?
○ “Wait, why should I do this again?” — The Audience
○ BFF: Logstash & Elasticsearch
Application Logs
● Boss: “It’s broken”
● Developer
○ Log into server
○ Figure out the issue (skim through logs)
○ Fix the problem (hopefully)
or
○ Just get it working again
Storytime: “Its broken . . . ”
● Digging through individual servers logs
○ Time consuming
○ Missing the big picture
● Every log tells a story
● “How can we manage x servers sending x/sec
events?”
“There’s got to be a better way!”
● Syslog: Popular but flawed
○ Cannot ensure:
■ Integrity
● UDP based, can lose packets
○ Authentication?
■ No validation of sender
■ Plaintext
● Alternatives:
○ Syslog-ng: TCP, synchronization
○ Nsyslog: TCP, SSL authentication
● Open-source:
○ FluentD
○ Logstash
Lots o’ Log Management Tools
(syslog compatible & active community)
Open source - DIY
FluentD:
● Plugin-based
● SaaS options
● CRuby
● No Windows support
● Less familiar
○ Feel free to chime in
FluentD vs Logstash
Logstash:
● SaaS options
● Plugin-based
● JRuby
○ Java Dependency
● Major OS support
● Lightweight Forwarder
● Great community
○ “If a user has a bad
time, its a bug”
○ IRC
● Elastic Family
● Log-Management tool
● Event-Processing Pipeline
● Queue-based
● Plugins
○ Input (receive logs: file, lumberjack, syslog, redis)
○ Filter (parse, modify, concatenate, conditionals)
○ Output (store logs: elasticsearch, nagios, syslog)
○ Tailor to your system
● Scalable
● Parse log types into filterable/searchable fields
● Open-Source Community
Logstash Server
Example Logstash Input Config
● Files, stdin
● Forwarders,
○ UDP, TCP, Twitter, s3
● Queues
○ Redis, RabbitMQ, ZeroMQ
Example Logstash Filter Config
● How would you like your event?
● Parse, modify, concatenate, conditionals
● Custom filter plugins
● What does this do?
Example Logstash Filter
● Regex!
● Store:
○ Elasticsearch, s3, Hadoop, Redis, Syslog
● Notify:
○ Email, Slack, Hipchat, Pagerduty, Nagios
● React:
○ exec, jira,
● Can tailor to your system
○ Simple or Complicated solutions
Example Logstash Output Config
● Distributed search engine
● Document-based data store
● Open-Source
● Runs on Apache Lucene
● Super-fast full-text filtering & searching
● Visualization
● Aggregations
● Horizontally scalable
● Communicate using HTTP JSON requests
Elastic Search
● Can be compiled anywhere with Go installed
○ Linux, OSX, Windows, etc
● Lightweight footprint
● Own proprietary ‘Lumberjack’ protocol
○ SSL communication channel to server
○ Encrypted & authenticated
● Handles multiple files, stdin
● Reliable & Resilient
○ No data-loss
○ Persistent connection
Logstash Forwarder
Example Logstash-forwarder Config
● User requests the server
● Server logs the request
● Streamed by Logstash-Forwarder
● Processed by Logstash
All Together Now
● Stored in Elasticsearch as
● Search, Filter, & Aggregate all in JSON
● Visualization
○ Toplog, Kibana, Marvel, Graphite
All Together Now
Our Infrastructure
We aren’t the only ones:
Hands on walk through
● Take a peek behind the curtain
● Please ask questions!
Two VMs:
● LEMH web server:
○ Logstash-Forwarder
● Log storage Server:
○ Logstash server
○ Elastic search
Visualizing and interacting
● Can’t just rely on raw HTTP requests
● Interface tools: Kibana, Marvel, Graphite
○ Visualize
○ Filter, Search & Aggregate
○ How do you know what to look for?
● Moving forward:
○ “Meta-meta-data”
○ Knowledge base of patterns & behaviours
○ Predictive Analysis
Let’s talk about us ba-by
● Automated pattern-extraction
● Pattern correlation
● Behaviour detection
● Anomaly detection
More info
● Presentation slides @ https://blog.toplog.io
● FFFound: https://www.found.
no/foundation/elasticsearch-from-the-bottom-
up/
● Logstash IRC
● Think of a question later?
cameron@toplog.io
● More on what we do?
https://toplog.io team@toplog.io

More Related Content

What's hot

Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
Severalnines
 

What's hot (20)

Kibana+ElasticSearch+LogStash to handle Log messages on Prod servers
Kibana+ElasticSearch+LogStash to handle Log messages on Prod serversKibana+ElasticSearch+LogStash to handle Log messages on Prod servers
Kibana+ElasticSearch+LogStash to handle Log messages on Prod servers
 
Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
 
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...
 
Nats
NatsNats
Nats
 
Stream processing using Apache Storm - Big Data Meetup Athens 2016
Stream processing using Apache Storm - Big Data Meetup Athens 2016Stream processing using Apache Storm - Big Data Meetup Athens 2016
Stream processing using Apache Storm - Big Data Meetup Athens 2016
 
SPDY and What to Consider for HTTP/2.0
SPDY and What to Consider for HTTP/2.0SPDY and What to Consider for HTTP/2.0
SPDY and What to Consider for HTTP/2.0
 
Containers and Logging
Containers and LoggingContainers and Logging
Containers and Logging
 
A Cheapskates Guide to AWS
A Cheapskates Guide to AWSA Cheapskates Guide to AWS
A Cheapskates Guide to AWS
 
OSDC 2015: Tudor Golubenco | Application Performance Management with Packetbe...
OSDC 2015: Tudor Golubenco | Application Performance Management with Packetbe...OSDC 2015: Tudor Golubenco | Application Performance Management with Packetbe...
OSDC 2015: Tudor Golubenco | Application Performance Management with Packetbe...
 
Machine Learning with Python
Machine Learning with PythonMachine Learning with Python
Machine Learning with Python
 
Logging for Containers
Logging for ContainersLogging for Containers
Logging for Containers
 
Fluent Bit: Log Forwarding at Scale
Fluent Bit: Log Forwarding at ScaleFluent Bit: Log Forwarding at Scale
Fluent Bit: Log Forwarding at Scale
 
Initial presentation of openstack (for montreal user group)
Initial presentation of openstack (for montreal user group)Initial presentation of openstack (for montreal user group)
Initial presentation of openstack (for montreal user group)
 
Cloud storage: the right way OSS EU 2018
Cloud storage: the right way OSS EU 2018Cloud storage: the right way OSS EU 2018
Cloud storage: the right way OSS EU 2018
 
Log forwarding at Scale
Log forwarding at ScaleLog forwarding at Scale
Log forwarding at Scale
 
Cloud Native Logging / Fluentd Summit Tokyo
Cloud Native Logging / Fluentd Summit TokyoCloud Native Logging / Fluentd Summit Tokyo
Cloud Native Logging / Fluentd Summit Tokyo
 
Conceptos básicos. Seminario web 6: Despliegue de producción
Conceptos básicos. Seminario web 6: Despliegue de producciónConceptos básicos. Seminario web 6: Despliegue de producción
Conceptos básicos. Seminario web 6: Despliegue de producción
 
Building RESTtful services in MEAN
Building RESTtful services in MEANBuilding RESTtful services in MEAN
Building RESTtful services in MEAN
 
A Cheapskates Guide to AWS v2.0
A Cheapskates Guide to AWS v2.0A Cheapskates Guide to AWS v2.0
A Cheapskates Guide to AWS v2.0
 
Blockchain – The future of Internet by Moinur Rahman
Blockchain – The future of Internet by Moinur RahmanBlockchain – The future of Internet by Moinur Rahman
Blockchain – The future of Internet by Moinur Rahman
 

Viewers also liked

Apple capital group training1
Apple capital group training1Apple capital group training1
Apple capital group training1
Timothy Jacquet
 
Innovo Marketing en Negocio Abierto - Enero 2014
Innovo Marketing en Negocio Abierto - Enero 2014Innovo Marketing en Negocio Abierto - Enero 2014
Innovo Marketing en Negocio Abierto - Enero 2014
CIT Marbella
 
Merci Pour Vos Mails
Merci Pour Vos MailsMerci Pour Vos Mails
Merci Pour Vos Mails
megasly
 

Viewers also liked (20)

TIC ( TEC. INFORMACIÓN Y COMUNICACIÓN)
TIC ( TEC. INFORMACIÓN Y COMUNICACIÓN)TIC ( TEC. INFORMACIÓN Y COMUNICACIÓN)
TIC ( TEC. INFORMACIÓN Y COMUNICACIÓN)
 
Revista steviana v4
Revista steviana v4Revista steviana v4
Revista steviana v4
 
Aulas autosuficientes
Aulas autosuficientes Aulas autosuficientes
Aulas autosuficientes
 
Musica per la solidaritat 2014
Musica per la solidaritat 2014Musica per la solidaritat 2014
Musica per la solidaritat 2014
 
Portfólio de Marcas Frajo e Coty
Portfólio de Marcas Frajo e CotyPortfólio de Marcas Frajo e Coty
Portfólio de Marcas Frajo e Coty
 
Apple capital group training1
Apple capital group training1Apple capital group training1
Apple capital group training1
 
Inscripción viaje de fin de curso y campamento multiaventura - junio - 2015 ...
Inscripción  viaje de fin de curso y campamento multiaventura - junio - 2015 ...Inscripción  viaje de fin de curso y campamento multiaventura - junio - 2015 ...
Inscripción viaje de fin de curso y campamento multiaventura - junio - 2015 ...
 
Exposición "50 Años de Acción Social de Cáritas Diocesana de Zaragoza"
Exposición "50 Años de Acción Social de Cáritas Diocesana de Zaragoza"Exposición "50 Años de Acción Social de Cáritas Diocesana de Zaragoza"
Exposición "50 Años de Acción Social de Cáritas Diocesana de Zaragoza"
 
Direccion de fotografia
Direccion de fotografiaDireccion de fotografia
Direccion de fotografia
 
Web We Want: 1 Year of Action for the Open Web
Web We Want: 1 Year of Action for the Open WebWeb We Want: 1 Year of Action for the Open Web
Web We Want: 1 Year of Action for the Open Web
 
Innovo Marketing en Negocio Abierto - Enero 2014
Innovo Marketing en Negocio Abierto - Enero 2014Innovo Marketing en Negocio Abierto - Enero 2014
Innovo Marketing en Negocio Abierto - Enero 2014
 
Julia For Smart IoT
Julia For Smart IoTJulia For Smart IoT
Julia For Smart IoT
 
Almirall Pharma TV
Almirall  Pharma TVAlmirall  Pharma TV
Almirall Pharma TV
 
Chapter 8 agent-oriented software engineering ch8-prometheus research methodo...
Chapter 8 agent-oriented software engineering ch8-prometheus research methodo...Chapter 8 agent-oriented software engineering ch8-prometheus research methodo...
Chapter 8 agent-oriented software engineering ch8-prometheus research methodo...
 
Merci Pour Vos Mails
Merci Pour Vos MailsMerci Pour Vos Mails
Merci Pour Vos Mails
 
operar y preservar el equipo de computo
operar y preservar el equipo de computooperar y preservar el equipo de computo
operar y preservar el equipo de computo
 
Curriculum vt corto ricapar 2015
Curriculum vt corto ricapar 2015Curriculum vt corto ricapar 2015
Curriculum vt corto ricapar 2015
 
Sublimacion textil en Argentina
Sublimacion textil en ArgentinaSublimacion textil en Argentina
Sublimacion textil en Argentina
 
Presentación Comunidad Club de la Farmacia
Presentación Comunidad Club de la FarmaciaPresentación Comunidad Club de la Farmacia
Presentación Comunidad Club de la Farmacia
 
Identificación de sitios prioritarios para la conservación de comunidades mar...
Identificación de sitios prioritarios para la conservación de comunidades mar...Identificación de sitios prioritarios para la conservación de comunidades mar...
Identificación de sitios prioritarios para la conservación de comunidades mar...
 

Similar to Log Management: AtlSecCon2015

AWS Big Data Demystified #1.2 | Big Data architecture lessons learned
AWS Big Data Demystified #1.2 | Big Data architecture lessons learned AWS Big Data Demystified #1.2 | Big Data architecture lessons learned
AWS Big Data Demystified #1.2 | Big Data architecture lessons learned
Omid Vahdaty
 
Mp26 : Tachyon, sloppiness is bliss
Mp26 : Tachyon, sloppiness is blissMp26 : Tachyon, sloppiness is bliss
Mp26 : Tachyon, sloppiness is bliss
Montreal Python
 
kranonit S06E01 Игорь Цинько: High load
kranonit S06E01 Игорь Цинько: High loadkranonit S06E01 Игорь Цинько: High load
kranonit S06E01 Игорь Цинько: High load
Krivoy Rog IT Community
 

Similar to Log Management: AtlSecCon2015 (20)

Eko10 - Security Monitoring for Big Infrastructures without a Million Dollar ...
Eko10 - Security Monitoring for Big Infrastructures without a Million Dollar ...Eko10 - Security Monitoring for Big Infrastructures without a Million Dollar ...
Eko10 - Security Monitoring for Big Infrastructures without a Million Dollar ...
 
AWS big-data-demystified #1.1 | Big Data Architecture Lessons Learned | English
AWS big-data-demystified #1.1  | Big Data Architecture Lessons Learned | EnglishAWS big-data-demystified #1.1  | Big Data Architecture Lessons Learned | English
AWS big-data-demystified #1.1 | Big Data Architecture Lessons Learned | English
 
Activity feeds (and more) at mate1
Activity feeds (and more) at mate1Activity feeds (and more) at mate1
Activity feeds (and more) at mate1
 
PGConf APAC 2018 - High performance json postgre-sql vs. mongodb
PGConf APAC 2018 - High performance json  postgre-sql vs. mongodbPGConf APAC 2018 - High performance json  postgre-sql vs. mongodb
PGConf APAC 2018 - High performance json postgre-sql vs. mongodb
 
Ledingkart Meetup #2: Scaling Search @Lendingkart
Ledingkart Meetup #2: Scaling Search @LendingkartLedingkart Meetup #2: Scaling Search @Lendingkart
Ledingkart Meetup #2: Scaling Search @Lendingkart
 
Security Monitoring for big Infrastructures without a Million Dollar budget
Security Monitoring for big Infrastructures without a Million Dollar budgetSecurity Monitoring for big Infrastructures without a Million Dollar budget
Security Monitoring for big Infrastructures without a Million Dollar budget
 
Protecting the Web at a scale using consul and Elk / Valentin Chernozemski (S...
Protecting the Web at a scale using consul and Elk / Valentin Chernozemski (S...Protecting the Web at a scale using consul and Elk / Valentin Chernozemski (S...
Protecting the Web at a scale using consul and Elk / Valentin Chernozemski (S...
 
AWS Big Data Demystified #1: Big data architecture lessons learned
AWS Big Data Demystified #1: Big data architecture lessons learned AWS Big Data Demystified #1: Big data architecture lessons learned
AWS Big Data Demystified #1: Big data architecture lessons learned
 
WebCamp 2016: Python. Вячеслав Каковский: Real-time мессенджер на Python. Осо...
WebCamp 2016: Python. Вячеслав Каковский: Real-time мессенджер на Python. Осо...WebCamp 2016: Python. Вячеслав Каковский: Real-time мессенджер на Python. Осо...
WebCamp 2016: Python. Вячеслав Каковский: Real-time мессенджер на Python. Осо...
 
OpenSearch.pdf
OpenSearch.pdfOpenSearch.pdf
OpenSearch.pdf
 
Logs @ OVHcloud
Logs @ OVHcloudLogs @ OVHcloud
Logs @ OVHcloud
 
TRHUG 2015 - Veloxity Big Data Migration Use Case
TRHUG 2015 - Veloxity Big Data Migration Use CaseTRHUG 2015 - Veloxity Big Data Migration Use Case
TRHUG 2015 - Veloxity Big Data Migration Use Case
 
Building a Unified Logging Layer with Fluentd, Elasticsearch and Kibana
Building a Unified Logging Layer with Fluentd, Elasticsearch and KibanaBuilding a Unified Logging Layer with Fluentd, Elasticsearch and Kibana
Building a Unified Logging Layer with Fluentd, Elasticsearch and Kibana
 
The Professional Programmer
The Professional ProgrammerThe Professional Programmer
The Professional Programmer
 
AWS Big Data Demystified #1.2 | Big Data architecture lessons learned
AWS Big Data Demystified #1.2 | Big Data architecture lessons learned AWS Big Data Demystified #1.2 | Big Data architecture lessons learned
AWS Big Data Demystified #1.2 | Big Data architecture lessons learned
 
Mp26 : Tachyon, sloppiness is bliss
Mp26 : Tachyon, sloppiness is blissMp26 : Tachyon, sloppiness is bliss
Mp26 : Tachyon, sloppiness is bliss
 
WebCamp Ukraine 2016: Instant messenger with Python. Back-end development
WebCamp Ukraine 2016: Instant messenger with Python. Back-end developmentWebCamp Ukraine 2016: Instant messenger with Python. Back-end development
WebCamp Ukraine 2016: Instant messenger with Python. Back-end development
 
Scalable, good, cheap
Scalable, good, cheapScalable, good, cheap
Scalable, good, cheap
 
kranonit S06E01 Игорь Цинько: High load
kranonit S06E01 Игорь Цинько: High loadkranonit S06E01 Игорь Цинько: High load
kranonit S06E01 Игорь Цинько: High load
 
Handout: 'Open Source Tools & Resources'
Handout: 'Open Source Tools & Resources'Handout: 'Open Source Tools & Resources'
Handout: 'Open Source Tools & Resources'
 

Recently uploaded

Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
amitlee9823
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
gajnagarg
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night StandCall Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
amitlee9823
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
amitlee9823
 

Recently uploaded (20)

Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night StandCall Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - Almora
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
 

Log Management: AtlSecCon2015

  • 1. - Logs, Logs and More Logs! Cameron Evans Lead Infrastructure Developer cameron@toplog.io
  • 2. ● NSCC IT grad ● Backend Dev at ● Log Management Company ● Log Shipper/Receiver ● Going to say “Logs” a lot About
  • 3. ● Why are logs so important? ● What can we learn from logs? ● Processing logs efficiently ○ Logstash & Elasticsearch ● Searching & Visualization ● Log analysis demo Outline
  • 4. What is a log? (SysAdmin nightmares are made of these . . .)
  • 5. Timestamp + Data = Log Data? Data. Data! Timestamp ● Recognize this log? ○ No standard schema ○ Easy for computer to say, hard to read ● What does this mean? ● Is this valuable information? ● What can we do with it?
  • 6. ● TopLog cares. ○ We understand the pain ○ Server diaries ● Troubleshooting Developers ○ “Its broken” ● Your infrastructure ○ Down-time ■ Network ■ Application Who cares?
  • 7. Typical Security Company, inc. ● Network captures, firewalls and netflow Not only network logs ● Firewall, switches, TCP/IP traces, NetFlow ○ Can catch intrusions ○ But how was your infrastructure affected? ● Application level logs ○ See the effects Security and Logs
  • 8. Syslog, web server logs, database logs, application logs ● What do we do with them? ○ Corral ○ Analyze ● Which tools to use? ○ “Wait, why should I do this again?” — The Audience ○ BFF: Logstash & Elasticsearch Application Logs
  • 9. ● Boss: “It’s broken” ● Developer ○ Log into server ○ Figure out the issue (skim through logs) ○ Fix the problem (hopefully) or ○ Just get it working again Storytime: “Its broken . . . ”
  • 10. ● Digging through individual servers logs ○ Time consuming ○ Missing the big picture ● Every log tells a story ● “How can we manage x servers sending x/sec events?” “There’s got to be a better way!”
  • 11. ● Syslog: Popular but flawed ○ Cannot ensure: ■ Integrity ● UDP based, can lose packets ○ Authentication? ■ No validation of sender ■ Plaintext ● Alternatives: ○ Syslog-ng: TCP, synchronization ○ Nsyslog: TCP, SSL authentication ● Open-source: ○ FluentD ○ Logstash Lots o’ Log Management Tools (syslog compatible & active community)
  • 12. Open source - DIY FluentD: ● Plugin-based ● SaaS options ● CRuby ● No Windows support ● Less familiar ○ Feel free to chime in FluentD vs Logstash Logstash: ● SaaS options ● Plugin-based ● JRuby ○ Java Dependency ● Major OS support ● Lightweight Forwarder ● Great community ○ “If a user has a bad time, its a bug” ○ IRC ● Elastic Family
  • 13. ● Log-Management tool ● Event-Processing Pipeline ● Queue-based ● Plugins ○ Input (receive logs: file, lumberjack, syslog, redis) ○ Filter (parse, modify, concatenate, conditionals) ○ Output (store logs: elasticsearch, nagios, syslog) ○ Tailor to your system ● Scalable ● Parse log types into filterable/searchable fields ● Open-Source Community Logstash Server
  • 14. Example Logstash Input Config ● Files, stdin ● Forwarders, ○ UDP, TCP, Twitter, s3 ● Queues ○ Redis, RabbitMQ, ZeroMQ
  • 15. Example Logstash Filter Config ● How would you like your event? ● Parse, modify, concatenate, conditionals ● Custom filter plugins ● What does this do?
  • 17. ● Store: ○ Elasticsearch, s3, Hadoop, Redis, Syslog ● Notify: ○ Email, Slack, Hipchat, Pagerduty, Nagios ● React: ○ exec, jira, ● Can tailor to your system ○ Simple or Complicated solutions Example Logstash Output Config
  • 18. ● Distributed search engine ● Document-based data store ● Open-Source ● Runs on Apache Lucene ● Super-fast full-text filtering & searching ● Visualization ● Aggregations ● Horizontally scalable ● Communicate using HTTP JSON requests Elastic Search
  • 19. ● Can be compiled anywhere with Go installed ○ Linux, OSX, Windows, etc ● Lightweight footprint ● Own proprietary ‘Lumberjack’ protocol ○ SSL communication channel to server ○ Encrypted & authenticated ● Handles multiple files, stdin ● Reliable & Resilient ○ No data-loss ○ Persistent connection Logstash Forwarder
  • 21. ● User requests the server ● Server logs the request ● Streamed by Logstash-Forwarder ● Processed by Logstash All Together Now
  • 22. ● Stored in Elasticsearch as ● Search, Filter, & Aggregate all in JSON ● Visualization ○ Toplog, Kibana, Marvel, Graphite All Together Now
  • 24. We aren’t the only ones:
  • 25. Hands on walk through ● Take a peek behind the curtain ● Please ask questions! Two VMs: ● LEMH web server: ○ Logstash-Forwarder ● Log storage Server: ○ Logstash server ○ Elastic search
  • 26. Visualizing and interacting ● Can’t just rely on raw HTTP requests ● Interface tools: Kibana, Marvel, Graphite ○ Visualize ○ Filter, Search & Aggregate ○ How do you know what to look for? ● Moving forward: ○ “Meta-meta-data” ○ Knowledge base of patterns & behaviours ○ Predictive Analysis
  • 27. Let’s talk about us ba-by ● Automated pattern-extraction ● Pattern correlation ● Behaviour detection ● Anomaly detection
  • 28. More info ● Presentation slides @ https://blog.toplog.io ● FFFound: https://www.found. no/foundation/elasticsearch-from-the-bottom- up/ ● Logstash IRC ● Think of a question later? cameron@toplog.io ● More on what we do? https://toplog.io team@toplog.io