Sampler Aggregation

Hi
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?

@vakarami

this isn't support by Kibana. I'd suggest to submit a feature request: https://github.com/elastic/kibana/issues/new

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

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