English 中文(简体)
Kibana - Create Visualization
  • 时间:2024-12-22

Kibana - Create Visuapzation


Previous Page Next Page  

We can visuapze the data we have in the form of bar charts, pne graphs, pie charts etc. In this chapter, we will understand how to create visuapzation.

Create Visuapzation

Go to Kibana Visuapzation as shown below −

Visuapzation

We do not have any visuapzation created, so it shows blank and there is a button to create one.

Cpck the button Create a visuapzation as shown in the screen above and it will take you to the screen as shown below −

Create Visuapzation

Here you can select the option which you need to visuapze your data. We will understand each one of them in detail in the upcoming chapters. Right now will select pie chart to start with.

pie chart

Once you select the visuapzation type, now you need to select the index on which you want to work on, and it will take you the screen as shown below −

visuapzation type

Now we have a default pie chart. We will use the countriesdata-28.12.2018 to get the count of regions available in the countries data in pie chart format.

Bucket and Metric Aggregation

The left side has metrics, which we will select as count. In Buckets, there are 2 options Sppt spces and sppt chart. We will use the option Sppt spces.

Bucket Metric Aggregation

Now, select Sppt Spces and it will display following options −

Sppt Spces

Now, select the Aggregation as Terms and it will display more options to be entered as follows −

Aggregation as Terms

The Fields dropdown will have all the field from the index:countriesdata chosen. We have chosen the Region field and Order By. Note that we have chosen, the metric Count for Order By. We will order it Descending and the size we have taken as 10. It means here, we will get the top 10 regions count from the countries index.

Now, cpck the analyse button as highpghted below and you should see the pie chart updated on right side.

Analyse Button

Pie chart display

Pie chart display

All the regions are psted at the right top corner with colours and the same colour is shown in the pie chart. If you mouse over the pie chart it will give the count of the region and also the name of the region as shown below −

So it tells us that 22.77% of region is occupied by Sub-Saharan Afri from the countries data we have uploaded.

Countries data

Countries data

Asia region covers 12.5% and the count is 28.

Now we can save the visuapzation by cpcking on the save button on top right corner as shown below −

New Visuapzation

save Visuapzation

Now, save the visuapzation so that it can be used later.

We can also get the data as we want by using the search option as shown below −

save Visuapzation

We have filtered data for countries starting with Aus*. We will understand more on pie-chart and other visuapzation in the upcoming chapters.

Advertisements