Kibana
Kibana is a powerful web interface for viewing and managing your Elasticsearch data.
In this lesson, we'll learn how to access Kibana and locate our indexes, which will be valuable for monitoring and managing the restaurant data in our application.
Accessing Kibana
Kibana typically runs on port 5601 by default.
You can access it by opening your web browser and navigating to http://localhost:5601.
When you first visit Kibana, you'll need to log in using your Elasticsearch credentials.
Enter the username elastic and the password you set during the Elasticsearch installation.
Finding Your Indexes
Once logged in, Kibana presents a dashboard with many features, but we'll focus on finding our indexes.
To view your indexes:
- Click on the hamburger menu (☰) in the top-left corner
- Select "Management" from the menu
- Click on "Stack Management"
- In the left sidebar, under "Data", click on "Index Management"
This section shows all your Elasticsearch indexes, including the ones we'll create for our restaurant reviews.
You can see details like:
- Index name
- Health status
- Number of documents
- Size on disk
- Status (open/closed)
Working with Index Management
The Index Management page offers several useful features:
You can filter indexes using the search bar at the top, which helps when you have many indexes.
Each index has actions available through the actions menu (···) including:
- Close/Open index
- Force merge
- Refresh
- Flush
- Clear cache
Viewing Index Details
To see more information about an index:
Click on an index name to expand its details.
This shows additional information like:
- Mapping configuration
- Settings
- Statistics
- Status information
This information will be helpful when we start adding our restaurant data and want to verify our index structure.
Summary
- Successfully accessed Kibana through the web interface at port 5601
- Located the Index Management section in Stack Management
- Explored available index actions and management features