Parsing_exception in kibana

hi team

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

Don't use aggs inside the query part.

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

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

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

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