- Elasticsearch
brew install elasticsearch
elasticsearch
Open http://localhost:9200/
in a browser.
Configuration location: /usr/local/etc/elasticsearch/
- 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/
- 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 }
}