sudo cscli collections install schiz0phr3ne/sonarrInstalls 1 parser and 1 scenario.
View Sonarr - Bruteforce Protection →sudo cscli parsers install schiz0phr3ne/sonarr-logsThen reload CrowdSec: sudo systemctl reload crowdsec
Sign in to see which of your engines run it →Hover a line or a note to see what each field does.
onsuccess: next_stagefilter: "evt.Parsed.program in ['mono', 'Sonarr']"name: schiz0phr3ne/sonarr-logsdescription: "Parse Sonarr Logs"pattern_syntax:DATE_YMD: "%{YEAR:year}-%{MONTHNUM:month}-%{MONTHDAY:day}"nodes:- grok:pattern: '^\[Warn\] Auth: Auth-Failure ip %{IP:source_ip} username %{DATA:username}$'apply_on: message- grok:pattern: "%{DATE_YMD:date} %{TIME:time}\\|%{WORD:log_level}\\|Auth\\|Auth-Failure ip %{IPORHOST:source_ip} username '%{NOTDQUOTE:username}'"apply_on: messagestatics:- target: evt.Parsed.timestampexpression: "evt.Parsed.date + ' ' + evt.Parsed.time"onsuccess: next_stagestatics:- meta: log_typevalue: sonarr_failed_authentication- meta: servicevalue: sonarr- meta: source_ipexpression: "evt.Parsed.source_ip"- target: evt.StrTimeexpression: "evt.Parsed.timestamp"- meta: usernameexpression: evt.Parsed.username
Sign in to see the Security Engines that run this log parser, the version they run and whether it was modified locally.
Parser for Sonarr Logs.
1---2source: file3filenames:4 - /var/log/syslog5labels:6 type: syslog7---8source: file9filenames:10 - /var/log/sonarr.txt11labels:12 type: Sonarr