Read the first item in this Table of Contents if you haven't been here before.
Table of Contents
- The ELKBeats Stack: Sounds Like a Good Idea ...
- The ELKBeats Stack: the Ground Work
- The ELKBeats Stack: L is for Logstash
- The ELKBeats Stack: E is for Elasticsearch
- The ELKBeats Stack: K is for Kibana
- The ELKBeats Stack: Getting E, L, and K to play nice together
- The ELK Stack with Beats: Feeding Logstash with Beats (Insecure - so far)
- The ELK Stack with Beats: Securing the Beats-to-Logstash Connection
Installing Kibana
Similar to previous installs (prerequisites):
apt-get update ; apt-get install kibana
Smallest package yet, although still among the largest on my server at 31M compressed. As with Logstash installing most or all of JRuby, the Kibana packagers seem to have ignored the purpose and function of the package system in favour of installing the entirety of Node.js. No configuration to do apparently.
# systemctl enable kibana # make it a permanent service
# systemctl start kibana # run it now
Kibana doesn't do anything useful on its own (ie. if elasticsearch doesn't have a data source - either logstash or actual logs) but visit it at localhost:5601 to see that it's up and running. We'll give it some data to work with in the next step.
It appears the configuration file is /opt/kibana/config/kibana.yml - as I haven't modified it, I can't guarantee I'm correct on that. Logging is to /var/log/kibana/kibana.stdout and /var/log/kibana/kibana.stderr.
Continue to The ELKBeats Stack: Getting E, L, and K to play nice together, the next article in this series.
Bibliography
(This is the same Bibliography for all of the "ELKBeats Stack" articles.)
- https://en.wikipedia.org/wiki/Elasticsearch
- https://en.wikipedia.org/wiki/Kibana
- https://www.linode.com/docs/databases/elasticsearch/webserver-logs-with-elk-stack ... this is an excellent set of instructions that's significantly out-of-date (old URLs/addresses), which was nevertheless my main source of information
- https://www.elastic.co/guide/en/logstash/current/config-examples.html
- http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html (with the caveat that as of 2016-03, my instructions are more accurate than theirs ...)
- https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-zen.html
- Getting Kibana Up and Running
- Elasticsearch Getting Started
- Elasticsearch Reference >> Installation
- Elasticsearch Repositories (at elastic.co)
- Getting Started with Logstash
- https://www.elastic.co/guide/en/beats/libbeat/1.1/elasticsearch-installation.html
- Logstash Repositories (at elastic.co)
- How To Install Elasticsearch, Logstash, and Kibana (ELK Stack) on Ubuntu 14.04, Digital Ocean's uneven guide to this same subject, occasionally helpful but big on "install this" and short on "understand"
- http://main.justinflowers.ca/web/wordpress/?p=19