On Wed, 14 Mar 2018 13:53:07 -0500 Geoff Kramer <kramer.ge...@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

_______________________________________________
collectd mailing list
collectd@verplant.org
https://mailman.verplant.org/listinfo/collectd

Reply via email to