UPDATE: Don’t follow ANY of this. None of it worked for me. New post coming.


Long time since I posted anything since no one cares but this post will be about setting up ELK (Elasticsearch/Logstash/Kibana) and some syslogd and Magento logging stuff.

Installing ElasticSearch:

I’m going to use Debian packages when ever I can. I’m using the instructions from here. It works as advertised but I prefer to put my repos in their own files. This is a small gotcha, you have to install openjdk-7-jdk.

netstat -ntlp | grep ::9
tcp6       0      0 :::9200                 :::*                    LISTEN      13362/java
tcp6       0      0 :::9300                 :::*                    LISTEN      13362/java

Installing Logstash:

Used the repo instructions from here. It worked. Had to change the Debian default file but still get this due no config files yet:

/etc/init.d/logstash start
[FAIL] There aren’t any configuration files in /etc/logstash/conf.d … failed!

 Next up, Installing Kibana:

It is pretty much a direct download from here.

wget https://download.elastic.co/kibana/kibana/kibana-4.0.2-linux-x64.tar.gz
–2015-04-29 17:37:50–  https://download.elastic.co/kibana/kibana/kibana-4.0.2-linux-x64.tar.gz
Resolving download.elastic.co (download.elastic.co)…,,, …
Connecting to download.elastic.co (download.elastic.co)||:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 13880245 (13M) [application/octet-stream]
Saving to: `kibana-4.0.2-linux-x64.tar.gz’

100%[===============================================================================================================>] 13,880,245  7.28M/s   in 1.8s

2015-04-29 17:37:54 (7.28 MB/s) – `kibana-4.0.2-linux-x64.tar.gz’ saved [13880245/13880245]


Unpack it in a dir, I choose /usr/local/src/

Then run it, ./$PATH/bin/kibana . I had to run it a few times with strace before it steady up. I have no data going into ElasticSearch yet, so Kibana has nothing to see but here is a screen shot.

Screen Shot 2015-04-29 at 6.45.46 PM


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.