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 ascloud_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 theroot
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 theroot
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