count(), c()

Table of Contents

Definition

count() and its abbreviation c() counts all numeric and string values represented in the selected table column. You can use it with transform commands that support aggregations.

Examples

You can use count() or its abbreviation c() to count all values in the selected column.

%dpl
index=crud earliest=-3y
| spath
| timechart c(operation) by operation
%dpl
index=crud earliest=-3y
| spath
| timechart count(operation) by operation

count() example

Further Reading