2022-05-19 00:29:55 +08:00
|
|
|
# Count the occurrence of values in fields.
|
|
|
|
|
[[aggregators.valuecounter]]
|
|
|
|
|
## General Aggregator Arguments:
|
|
|
|
|
## The period on which to flush & clear the aggregator.
|
2024-09-13 05:00:21 +08:00
|
|
|
# period = "30s"
|
|
|
|
|
|
2022-05-19 00:29:55 +08:00
|
|
|
## If true, the original metric will be dropped by the
|
|
|
|
|
## aggregator and will not get sent to the output plugins.
|
2024-09-13 05:00:21 +08:00
|
|
|
# drop_original = false
|
|
|
|
|
|
2022-05-19 00:29:55 +08:00
|
|
|
## The fields for which the values will be counted
|
|
|
|
|
fields = ["status"]
|