How to count unique values in histogram chart?


(Chufuyuan) #1

How to count unique values in histogram chart? Or is there other way to create PV and UV charts based on nginx access log?
I think it is a common usage with log data that count unique values of ip/account_id.


(Jan Doberstein) #2

Hello @tuxknight

I’m not totally sure what your mission is, but you might elaborate what you like to have.

Maybe something like http://docs.graylog.org/en/2.2/pages/dashboards.html#field-value-charts is what you like to have.


(Chufuyuan) #4

For instance, a histogram graph of unique count of visitor’s ip. count(distinct(visitor_ip))
Field value charts are only available for numeric fields.
I need something like quick value graph but in time sequence.


#5

Do you mean this: https://github.com/Graylog2/graylog2-server/issues/3649 ?


(Chufuyuan) #6

Correct. It would be a quite useful feature.


(system) #7

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.