Search found 2 matches

by rodrigoaguilar
Fri Jun 22, 2018 3:28 pm
Forum: Nagios Log Server
Topic: [solved] Create pattern to logs
Replies: 3
Views: 849

Re: Create pattern to logs

tnks man The result \<%{NUMBER:ID}\>%{WORD:model} %{NUMBER:model}\(.*\):\[(?<timestamp>%{MONTHNUM}/%{MONTHDAY}-%{TIME}).*- .*:.*\]-M-CLI-TRACKER\[%{USERNAME}\]:%{GREEDYDATA:message} { "ID": [ [ "184" ] ], "BASE10NUM": [ [ "184", "64000" ] ], "mo...
by rodrigoaguilar
Fri Jun 22, 2018 4:51 am
Forum: Nagios Log Server
Topic: [solved] Create pattern to logs
Replies: 3
Views: 849

[solved] Create pattern to logs

<184>BSR 64000(tm):[05/12-04:45:13.98- 07:tRDNts6586]-M-CLI-TRACKER[peter.parker]: command

Hello everyone, I don't know how to create a pattern for the previous records, I need to identify the user, in this case it is peter.parker

:D