I'm kind of a new user for ES and Kibana.
I have a question about the Bucket Script Aggregation
I'm trying to do some calculations with ES, the division of 2 queries ( the ratio).
when I send the queries , it's working .
when I'm using the bucket script aggs to do the devison , it gives me an erorr
"type": "parsing_exception", "reason": "Unknown key for a START_OBJECT in [news_attention].", "line": 31, "col": 21
this is my query : photo attached