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.

Click + next to an example below to get the full details.

Search For Events by Number of Fields in Repository

Search for events with a certain number of fields in a repository using eventFieldCount() function