Hi all,

I have an application which logs multiple lines per request in JSON format. 
 For example:

{"id": "001", "action": "start"}
{"id": "001", "action": "do stuff"}
{"id": "002", "action": "start"}
{"id": "001", "action": "end"}
{"id": "002", "action": "do stuff"}
{"id": "002", "action": "end"}

I would like to produce a histogram of the cardinality of the id field in 
this data over time.  That is to say, I to graph the number of requests to 
the application rather than the number of log lines.  Using the above 
example, that would be a value of 2 and not a value of 6.  I can see how I 
would produce the cardinality value on point in time basis using the 
Statistics panel.  I can also see how I would graph the total number of log 
entries using a histogram.  What I would like to do is produce a histogram 
of the cardinality of a particular field (in this case the id field).

Anybody able to offer any advice on how to achieve this?

Thanks!

Patrick 

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/a0d22b44-c50a-46b0-9507-bf00d90b1a3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to