Skip to content

How to Create Kibana Dashboards and Visualizations

In order to create dashboards and visualizations in Kibana, the user must follow the below steps:

  1. Login into the server frontend, and then enter the Kibana home page by using the URL name_of_your_server.cultofbits.com/kibana
  2. In the first Kibana homepage, select the Default space

Before creating the dashboard or the visualizations, the user needs to add the recordm definitions that will be plotted in the visualization: 3. Click on the burger menu (3 stacked dashes on the top left corner below the nav bar): Go to Stack Management --> Index Patterns --> ** Create index pattern ** button. A new window will open so that the user chooses the definition to use. The name of the definition must be in the form recordm-<definition_id>, and the user must write it into the Name text box. Then click on Create index pattern. The user can repeat the step to add many more definitions by creating many index patterns.

  1. After adding the definitions, the user must click on the burger menu, and choose the Dashboard option.
  2. Click on the button Create dashboard then Create visualization. When you create on visualization, by the defualt, the lens type will be selected.
  3. A new window will open, on the right choose the definition or index pattern, and on the right choose the definition columns for the y-vertex and for the x-vertex. Besides adding the y and x vertexes columns, the user can also add another recordm column on the Break down by, in this, the values of the column will be represented on the graph vertically. The user can also choose the Visualization type, in the middle, just right on top of the displayed graph. Besides the lens, the user can also explore the Aggregation based visualization, there we have more aggregation functions than in lens.
  4. After creating the graph, the user must click on Save and return then Save to create the dashboard with the visualization.

Creating Index Pattern

Figure 1. Kibana homepage. 1.kibana_homepage_1

Figure 2. Kibana default space. 2.default_space_1

Figure 3. Kibana stack management. 3.stack_management_1

Figure 4. Kibana homepage. 4.1.index_pattern_1

Figure 5. Kibana homepage. 4.2.index_pattern_1

Example

Context: There is a definition in Recordm with the information about the versions of many github repositories called customizations. And we want a graph that will show us the number of version of each customization, and at the same time it will show us all the versions that a customization has.

Figure 6. 0.visualization

Figure 7. 1.visualization

Figure 8. 2.visualization

Figure 9. 3.1.visualization

Figure 10. 3.2.visualization

Figure 11. 3.3.visualization

Figure 12. 3.4.visualization

3.5.visualization Figure 13.

3.6.visualization Figure 14.

3.7.visualization Figure 15.

Example 2

Context: Now, for every customization, we want to know the last version to be created and the date it was created.

In this example, we are going to use the dashboard created in the previous example.

Figure 16. 1.step

Figure 17. 2.step

Figure 18. 3.step

Figure 19. 4.step

Figure 20. 5.step

Figure 21. 7.step

Figure 22. 8.step

Figure 23. 9.step

Figure 24. 10.step

Figure 26. 11.step

Figure 27. 12.step

Figure 28. 13.step

Figure 29. 14.step

TIP

Don't forget to save and return