Generate an Argus aggregation query for ProcessingEventsPerFilter metric records. The result is metric aggregation JSON that can be used to calculate totals, averages, minimums, maximums, weighted averages, or sums of squares for selected metric values.
Arguments
Field
Description
Type
Default
Required
request
ProcessingEventsPerFilter metric aggregation definition the LLM builds from the request.
Bucket size as a number using resolutionUnit. Use 0 to aggregate the full requested time range into one bucket. Values above 10000 are capped at 10000.
number
0
No
resolutionUnit
Unit for resolution. Allowed values: milliseconds, seconds, minutes, hours, days.
Time spent in milliseconds by filter logic while filtering events from the realtime stream.
triggerCount
Number of events matched by the filter.
triggerTimeMS
Time spent in milliseconds by trigger logic on events matched by the filter.
Usage Notes
Use sum for totals, avg for arithmetic averages, min and max for extremes, and wavg only when the user asks for or needs a weighted average.
When wavg is used, weightByValue must identify the metric value that supplies the weight.
resolution = 0 returns one aggregate bucket for the full selected time range unless other grouping is requested.
For time bucketing, choose a resolution that produces at most 10000 buckets over the selected time range.
Group-by limits affect which records are included in the grouped aggregation, not only how many buckets are displayed.
The LLM should only include filters explicitly requested by the user. It should not infer filter IDs, host names, pipeline stages, timestamps, or enum values.