ELASTIC HOW-TO

Installation for Mac OS X

  1. Elasticsearch
brew install elasticsearch
elasticsearch

Open http://localhost:9200/ in a browser.

Configuration location: /usr/local/etc/elasticsearch/

  1. Kibana
brew install kibana
kibana

Open http://localhost:5601/ in a browser.

In order to add other indexes other than logstash* ones, uncheck Index contains time-based events.

Configuration location: /usr/local/etc/kibana/

  1. logstash
brew install kibana

Example configuration:

input {
    file {
        path => "/var/log/system.log"
        start_position => beginning 
    }
}

output {
  elasticsearch { 
  host => "localhost"
  cluster => "elasticsearch_lvho"
  }
  stdout { codec => rubydebug }
}

More