[collectd] Counting activity per user

Pavel pavel2000 at ngs.ru
Tue Jul 3 11:44:15 CEST 2018


On Wed, 14 Mar 2018 13:53:07 -0500 Geoff Kramer 
<kramer.geoff at gmail.com> wrote:

Hi!

Please open request at GitHub and I will do some work to 
implement this feature.


> 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



More information about the collectd mailing list