Parsing_exception in kibana


(ssh) #1

hi team

may i know how to solve this bug Error: [parsing_excetion] no [query] registere for [aggs], with {line=1 & col=590}


(David Pilato) #2

Don't use aggs inside the query part.

If you don't succeed, share the full query.


(ssh) #3

yes still don't succeed. let me share

{
"aggs": {
"my_terms_agg": {
"terms": {
"script": {
"inline": "doc['first.keyword']"
}
}
}
}
}

{
"aggs": {
"aggs": {
"terms": {
"field": "first.keyword"
}
}
}
}

i can run dev tool but exception raises at discovery tab when i use as a filter


(David Pilato) #4

You can't define an aggregation as a filter. That's why it is failing I guess.


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.