Hi,
in logstash version 6.1.0 there is option of aggregation_fields to read aggregation response in elasticSearch filter plugin.
filter {
elasticsearch {
aggregation_fields => {
"my_agg_name" => "my_ls_field"
}
}
}
While aggregation_fields option not available in version 6.0.0. How to get/read agregation results in version 6.0.0. I am unable to get any aggregation response using query.json. I can see output as nil. However i can read simple query response without aggregation. Any help will be much appreciated.