Details
-
Story
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
-
Security Level: Default (Default Security Scheme)
-
None
-
Horizon 2020 - April 1st, Horizon 2020 - April 15th, Horizon 2020 - April 29th
Description
In order to leverage pre-aggregated metrics we would like update the search queries in the ElasticFlowRepository to use alternate indices based on the duration of the time range filter.
To do this let's define new properties called timeRangeAggregateThresholdMs (defaults to 0) and aggregateIndexPrefix (defaults to 'aggregated-flows'). When timeRangeAggregateThresholdMs is set to a value greater than 0 and the duration of the timestamp in the given query exceeds this value then we should use aggregateIndexPrefix as the index prefix instead of indexPrefix.