distinct_count(), dc()

distinct_count() and dc() calculates the distinct values for the selected table column. The values in table column are processed as strings.

%dpl
index=f17 | chart distinct_count(_time) by host
%dpl
index=f17 | chart dc(_time) by host