Sampler Aggregation

(vahid Karami) #1

I Have many visualizations with term aggregation, But I have lots of data so I want to run sampler aggregation before actual term agg.
I couldn't find any options for my use case in Kibana, So I want to ask is there any options for sampler agg at all? And if not how can I manipulate term agg to wrap in sampler agg, by using plugins or changing the source code?

(Thomas Neirynck) #2


this isn't support by Kibana. I'd suggest to submit a feature request:

(vahid Karami) #3

It doesn't seem a difficult implementation, but I couldn't find the proper file to change it. Do you know where term agg requests are built and sent to the elastic? I want to wrap all terms agg requests into a sampler agg