Hey Guys,
I just installed the new Kibana and Elasticsearch (5.2.0) on my env and got some issues with my already created dashboards.
With the previous version 5.1.2 i did not get these errors.
What i try to do is create a vertical bar chart with x-axis:
hostname
severity (include pattern ERROR)
program
Each time when i add the pattern i receive following error in Kibana:
Visualize: [parsing_exception] Expected [START_OBJECT] under [size], but got a [VALUE_NUMBER] in [5], with { line=1 & col=397 }
My visualization:
{
"title":"Error logs/servers",
"type":"histogram",
"params":{
"shareYAxis":true,
"addTooltip":true,
"addLegend":true,
"legendPosition":"right",
"scale":"linear",
"mode":"stacked",
"times":[
],
"addTimeMarker":false,
"defaultYExtents":false,
"setYExtents":false,
"yAxis":{
}
},
"aggs":[
{
"id":"3",
"enabled":true,
"type":"terms",
"schema":"segment",
"params":{
"field":"hostname.keyword",
"include":{
"pattern":""
},
"size":10,
"order":"desc",
"orderBy":"2"
}
},
{
"id":"5",
"enabled":true,
"type":"terms",
"schema":"split",
"params":{
"field":"severity.keyword",
"include":{
"pattern":"ERROR"
},
"size":10,
"order":"desc",
"orderBy":"2",
"row":true
}
},
{
"id":"4",
"enabled":true,
"type":"terms",
"schema":"group",
"params":{
"field":"program.keyword",
"size":5,
"order":"desc",
"orderBy":"2"
}
},
{
"id":"2",
"enabled":true,
"type":"count",
"schema":"metric",
"params":{
}
}
],
"listeners":{
}
}
Any idea why i got this error on 5.2.0 and not on 5.1.2 and how to solve this?
Thx!