Product Engineer, CTO & a Beer Enthusiast
Experiments, thoughts and scripts documented for posterity.
Dec, 2014
Introduction:
![]() |
Logstash is a free tool for managing events and logs. It has three primary components, an Input module for collecting logs from various sources [http://logstash.net/docs/1.1.13/], a parsing module for tweaking and parsing data and finally a storage/output module to save or pass along the parsed data to other systems [http://logstash.net/docs/1.1.13/]. |
![]() |
ElasticSearch is this awesome distributable, RESTful, free Lucene powered search engine/server. Unlike SOLR, ES is very simple to use and maintain and similar to SOLR, indexing is near realtime. |
![]() |
Kibana is a presentation layer that sits on top of Elasticsearch to analyze and make sense of logs that logstash throws into Elastic search; Kibana is a highly scalable interface for Logstash and ElasticSearch that allows you to efficiently search, graph, analyze and otherwise make sense of a mountain of logs. |
//logstash-simple.conf
input {
file {
path => "c:\Temp\logs\dataLog.log"
format => "json"
type => "string"
}
}
output {
stdout { }
elasticsearch { embedded => true }
}
//on command line
$ java -jar logstash-1.1.13-flatjar.jar agent -f logstash-simple.conf
Show all data flowing thru the system![]() |
Filter by Id![]() |
Get All Error'd ![]() |
Advanced Filter using Lucene Syntax ![]() |