Book Image

Elasticsearch for Hadoop

By : Vishal Shukla
Book Image

Elasticsearch for Hadoop

By: Vishal Shukla

Overview of this book

Table of Contents (15 chapters)
Elasticsearch for Hadoop
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up and getting started


In order to try out the examples in this chapter, we will set up Kibana as well as the example dataset. Elasticsearch Kibana 4 provides a web interface to search and visualize logs. It is packaged with an embedded web server to get you up and running quickly.

Setting up Kibana

Let's download the latest version of Kibana with the following command:

$ cd /opt
$ sudo wget https://download.elastic.co/kibana/kibana/kibana-4.1.0-linux-x64.tar.gz

Next, extract the archive contents to the Kibana directory using the following commands:

$ sudo tar -xvf kibana-4.1.0-linux-x64.tar.gz
$ sudo mv kibana-4.1.0-linux-x64 kibana

Now, let's make our Kibana server point to our Elasticsearch instance. Open the Kibana configuration file located at /opt/kibana/config/kibana.yml in an editor of your choice. Locate the configurations mentioned in the following code to change the values of port, host, and elasticsearch_url to the values applicable for your setup. The following example...