Importing Bucket Filters

Hi,

I am new to Elasticsearch and i've been playing around with the aggregation within the visualise section. I am trying to aggregate off key indicators (i have around 50 - 60) and its going to be something i want to repeat... Right now i have the metrics sorted to aggregate on certain fields and i have a bucket aggregation set to filters with a new filter for each key indicator... but adding them manually is a long process, is there a way to import them to the search?

Hey,

maybe you could reuse the search template feature for this kind of use-case?

--Alex

Can you just add the arguments into a POST?

"aggs": {
"2": {
"filters": {
"filters": {
"84.2.3.1": {
"query": {
"query_string": {
"query": "84.2.3.1",
"analyze_wildcard": true
}
}
},