Skip to content

jpotts18/logstash-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Logstash demo

System Dependencies

This tutorial has been done on a Macbook running El Capitan 10.11.6 Make sure that you have a minimum of java 1.7.

$ java -version

Let's bag us an ELK!

$ brew install elasticsearch logstash kibana

Let's see what just happened

  • $ brew info elasticsearch
  • $ brew info logstash
  • $ brew info kibana

Let's start up elasticsearch and kibana

  • Use brew services if you don't already - $ brew tap homebrew/services
  • Show the services that are running - $ brew services list
  • Start up elasticsearch -$ brew services start elasticsearch
  • Start up kibana - $ brew services start kibana

Demos

  1. $ logstash -f config/01-hello-world/1.conf learn about stdin and stdout
  2. $ logstash -f config/01-hello-world/2.conf learn about codec
  3. $ logstash -f config/01-hello-world/3.conf learn about multiple outputs
  4. $ logstash -f config/01-hello-world/4.conf
  5. $ logstash -f config/01-hello-world/5.conf
  6. $ logstash -f config/01-hello-world/6.conf

Apache Logs

  1. $ logstash -f config/02-apache/1.conf
  2. $ logstash -f config/02-apache/2.conf

Twitter

  1. $ logstash -f config/03-twitter/1.conf
  2. $ logstash -f config/03-twitter/2.conf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published