Computes the number of fields that this event uses internally for the values. Tags are not fields in most cases.

ParameterTypeRequiredDefault ValueDescription
asstringoptional[a] _eventFieldCount Name of output field.

[a] Optional parameters use their default value unless explicitly set.

Note

The eventFieldCount() function must be used before any aggregate function, otherwise the field count will not be returned.