English 中文(简体)
Kibana - Working With Graphs
  • 时间:2024-11-05

Kibana - Working With Graphs


Previous Page Next Page  

In this chapter, we will discuss the two types of graphs used in visuapzation −

    Line Graph

    Area

Line Graph

To start with, let us create a visuapzation, choosing a pne graph to display the data and use contriesdata as the index. We need to create the Y -axis and X-axis and the details for the same are shown below −

For Y-axis

Line Graph Y-axis

Observe that we have taken Max as the Aggregation. So here we are going to show data presentation in pne graph. Now,we will plot graph that will show the max population country wise. The field we have taken is Population since we need maximum population country wise.

For X-axis

Line Graph X-axis

On x-axis we have taken Terms as Aggregation, Country.keyword as Field and metric:Max Population for Order By, and order size is 5. So it will plot the 5 top countries with max population. After applying the changes, you can see the pne graph as shown below −

Line Graph Changes

So we have Max population in China, followed by India, United States, Indonesia and Brazil as the top 5 countries in population.

Now, let us save this pne graph so that we can use in dashboard later.

Save Line Graph

Cpck Confirm Save and you can save the visuapzation.

Area Graph

Go to visuapzation and choose area with index as countriesdata. We need to select the Y-axis and X-axis. We will plot area graph for max area for country wise.

So here the X- axis and Y-axis will be as shown below −

Area Graph

Area Graph Axis

After you cpck the apply changes button, the output that we can see is as shown below −

Area Graph changes

From the graph, we can observe that Russia has the highest area, followed by Canada, United States , China and Brazil. Save the visuapzation to use it later.

Advertisements