[collectd] Counting activity per user
Geoff Kramer
kramer.geoff at gmail.com
Wed Mar 14 19:53:18 CET 2018
Hoping someone can help me with this
I have a log like
01.01.1970 13:01:01 VIEW user.name [/path/to/the/file/that/they/viewed]
01.01.1970 13:01:01 EDIT another.username
[/path/to/the/file/that/they/edited]
and I am trying to get the count of views and edits per user.
i.e. another.username 23
Im trying to do
<File "/path/to/my/user.log>
Instance "Users"
<Match>
Regex ".*VIEW\ \([A-z\.]+\)\ \[.*"
DSType "CounterInc"
Type "derive"
</Match>
</File>
and assuming I need a group by or other item to get that dynamic instance
naming.if this is even possible.
thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20180314/9f66230c/attachment.html>
More information about the collectd
mailing list