-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0751-snoopy_decoders.xml
46 lines (39 loc) · 1.05 KB
/
0751-snoopy_decoders.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!--
Snoopy Decoders
Author: RedBlue232
Feel free to use/edit this file
Based on the release 2.5.2 of Snoopy Command Logger, focus only on snoopy logs, no current process for CRON/Sudo logs.
-->
<decoder name="snoopy">
<program_name>^snoopy</program_name>
</decoder>
<decoder name="snoopyfield">
<parent>snoopy</parent>
<regex>uid:(\S+)</regex>
<order>snoopy.uid</order>
</decoder>
<decoder name="snoopyfield">
<parent>snoopy</parent>
<regex>sid:(\d+)</regex>
<order>snoopy.sid</order>
</decoder>
<decoder name="snoopyfield">
<parent>snoopy</parent>
<regex type="pcre2">tty:\(?([^)\s]+)\)?</regex>
<order>snoopy.tty</order>
</decoder>
<decoder name="snoopyfield">
<parent>snoopy</parent>
<regex>cwd:(\S+)</regex>
<order>snoopy.cwd</order>
</decoder>
<decoder name="snoopyfield">
<parent>snoopy</parent>
<regex type="pcre2">filename:([^]]+)\]</regex>
<order>snoopy.filename</order>
</decoder>
<decoder name="snoopyfield">
<parent>snoopy</parent>
<regex type="pcre2">\]:\s(.*)$</regex>
<order>snoopy.cmd</order>
</decoder>