Complete the code to specify a common visualization type in Elasticsearch.
{
"visualization": {
"type": "[1]"
}
}The line_chart is a common visualization type used to show trends over time in Elasticsearch.
Complete the code to define a visualization type that shows parts of a whole.
{
"visualization": {
"type": "[1]"
}
}The pie_chart visualization shows how different parts make up a whole.
Fix the error in the visualization type to correctly specify a map visualization.
{
"visualization": {
"type": "[1]"
}
}The map visualization is used to display geospatial data in Elasticsearch.
Fill both blanks to create a visualization that shows data distribution over time using a bar chart.
{
"visualization": {
"type": "[1]",
"x_axis": "[2]"
}
}The bar_chart is used to show data distribution, and the date field is commonly used on the x-axis for time-based data.
Fill all three blanks to define a gauge visualization with a field and a threshold value.
{
"visualization": {
"type": "[1]",
"field": "[2]",
"threshold": [3]
}
}The gauge visualization shows a single value like cpu_usage with a threshold of 75 to indicate limits.