To visualize metrics data in Kibana, you must create an ELK index pattern.
An index pattern defines the Elasticsearch indices containing the metrics data you want to view and monitor. Kibana uses these index patterns to create visualizations in the dashboard. After you create an index pattern, you can perform the following tasks.
Interactively explore the metrics data
Analyze your data in charts, tables, gauges, tag clouds, and much more
Prerequisites
Verify that you have the deployed blockchain ID.
Procedure
- Log in to the Kibana platform.
- Navigate to the Use Elasticsearch data section.
- Select Connect to your Elasticsearch index.
- In the navigation tab, click Index Patterns.
- Enter the blockchain ID in the index pattern search bar.
The index pattern format is <blockchain_ID>-yyyy.mm.dd.
You can append the date to the blockchain ID in the index pattern to make the data searchable.
- Click Create index pattern.
- In the navigation tab, select the Discover tab.
A log dump appears on the main page.
- In the navigation bar, select metric data and change the available fields to selected fields.
A field represents metric data. When you change the available field to the selected field, a visualization of that field appears. You can save multiple fields for visualization and monitoring in the dashboard.
- Click the Visualize tab.
The visualization is based on your Y-axis and X-axis selection.
- To save the visualization for the dashboard, click Save.
- Click the Dashboard tab.
- Add existing or new visualizations to the dashboard.
For example, a dashboard can show Docker metrics with two visualizations, one for CPU use and one for Docker containers running.
CPU use shows the maximum Docker container CPU use system on the Y-axis in Terabytes. The X-axis is marked with a timestamp of 5 minutes.
Docker container running shows the average Docker containers running on the system.