Importing Apache logs in ElasticSearch

I needed some way to visualize and analyze logs from webservers.

So, I decided to use the "elasticsearch stack" for that:

Setting up ElasticSearch

Just download, untar and launch:

tar xzvf elasticsearch-1.1.1.tar.gz
cd elasticsearch-1.1.1

Check if everything is ok:

http localhost:9200

Importing logs to ElasticSearch

I used LogStash to import the logs from file to ElasticSearch. That required a bit of configuration.

First, download & unpack logstash:

wget ...

Page 1 / 1