Deploy and Configure Kibana for an Elasticsearch Cluster

1.5 hours
  • 4 Learning Objectives

About this Hands-on Lab

Kibana has a lot to offer when it comes to working with and managing an Elasticsearch cluster. Perhaps the most powerful tool when interacting with Elasticsearch is the Kibana Console tool. This provides a friendly user experience to interact directly with Elasticsearch APIs by including syntax highlighting and autocomplete to Elasticsearch API syntax. In this hands-on lab, you will be given the opportunity to exercise the following:

* Deploy Kibana from an RPM
* Configure Kibana’s server port
* Bind Kibana to a specific network address
* Start Kibana
* Inspect Kibana logs
* Use Kibana’s Console tool to interact with Elasticsearch APIs

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install Kibana on the master-1 node.

Using the Secure Shell (SSH), log in to the master-1 node as cloud_user via the public IP address.

Become the root user with:

sudo su -

Download the Kibana 7.6 RPM:

curl -O https://artifacts.elastic.co/downloads/kibana/kibana-7.6.0-x86_64.rpm

Install Kibana:

rpm --install kibana-7.6.0-x86_64.rpm

Configure Kibana to start on system boot:

systemctl enable kibana
Configure Kibana.

Log in to the master-1 node and become the root user with:

sudo su -

Open the /etc/kibana/kibana.yml file:

vim /etc/kibana/kibana.yml

Change the following line:

#server.port: 5601

to

server.port: 8080

Change the following line:

#server.host: "localhost"

to

server.host: "10.0.1.101"
Start Kibana.

Log in to the master-1 node and become the root user:

sudo su -

Start Kibana:

systemctl start kibana
Use Kibana’s Console tool.

After Kibana has finished starting up, which may take a few minutes navigate to http://PUBLIC_IP_ADDRESS_OF_MASTER-1:8080 in your web browser and navigate to Dev Tools > Console.

Check the node status of the cluster via the console tool with:

GET _cat/nodes?v

Additional Resources

You are a system administrator who has been given access to a 3-node Elasticsearch cluster. You would like to install a Kibana instance on the master-1 node in order to better interact with Elasticsearch APIs using Kibana's Console tool. For this, you will need to install Kibana 7.6.0 from an RPM at https://artifacts.elastic.co/downloads/kibana/kibana-7.6.0-x86_64.rpm. Then, you will need to bind Kibana on the private IP address of the master-1 node and port 8080 in order to be able to access it remotely from the internet.

Once Kibana is up and running on the appropriate network address and port, you will need to navigate to http://PUBLIC_IP_ADDRESS_OF_MASTER-1:8080, access the console tool, and use it to interface with Elasticsearch.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?