A gauge visualization tells how your metric considered on the data falls in the predefined range.
A goal visualization tells about your goal and how your metric on your data progresses towards the goal.
Working with Gauge
To start using Gauge, go-to visualization and select Visualize tab from Kibana UI.

Click on Gauge and select the index you want to use.

We are going to work on the medicalvisits-26.01.2019 index.
Select the time range of February 2017

Now you can select the metric and bucket aggregation.

We have selected the metric aggregation as Count.

The bucket aggregation we have selected Terms and the field selected is Number_Home_Visits.
From the Data options Tab, the options selected are shown below −

Gauge Type can be in the form of a circle or arc. We have selected as arc and rest all others as the default values.
The predefined range we have added is shown here −

The color selected is Green To Red.
Now, click on Analyze Button to see the visualization in the form of Gauge as shown below −

Working with Goal
Go to Visualize Tab and select Goal as shown below −

Select Goal and select the index.
Use medical visits-26.01.2019 as the index.

Select the metric aggregation and bucket aggregation.
Metric Aggregation

We have selected Count as the metric aggregation.
Bucket Aggregation

We have selected Terms as the bucket aggregation and the field is Number_Home_Visits.
The options selected are as follows −

The Range selected is as follows −

Click on Analyze and you see the goal displayed as follows −
