Skip to content

Commit

Permalink
adjust rsyslog rules
Browse files Browse the repository at this point in the history
  • Loading branch information
nqb committed Jun 30, 2022
1 parent 5e402ac commit 6674a5c
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions lib/pf/constants/syslog.pm
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ our @SyslogInfo = (
'($programname == "httpd.aaa-docker-wrapper" and not $msg contains "httpd.aaa")',
'($programname == "httpd.portal-docker-wrapper" and not $msg contains "httpd.portal")',
'($programname == "httpd.webservices-docker-wrapper" and not $msg contains "httpd.webservices")',
'($programname == "httpd.dispatcher" and not $msg contains "httpd.dispatcher")',
'($programname == "httpd.admin_dispatcher" and not $msg contains "httpd.admin_dispatcher")',
'($programname == "httpd.dispatcher-docker-wrapper" and not $msg contains "httpd.dispatcher")',
'($programname == "httpd.admin_dispatcher-docker-wrapper" and not $msg contains "httpd.admin_dispatcher")',
'$msg contains "api-frontend-access"',
]
},
Expand Down Expand Up @@ -65,8 +65,9 @@ our @SyslogInfo = (
'($programname == "httpd.aaa-docker-wrapper" and $msg contains "httpd.aaa")',
'($programname == "httpd.portal-docker-wrapper" and $msg contains "httpd.portal")',
'($programname == "httpd.webservices-docker-wrapper" and $msg contains "httpd.webservices")',
'($programname == "httpd.dispatcher" and $msg contains "httpd.dispatcher")',
'($programname == "httpd.admin_dispatcher" and $msg contains "httpd.admin_dispatcher")',
'($programname == "httpd.dispatcher-docker-wrapper" and $msg contains "httpd.dispatcher")',
'($programname == "httpd.admin_dispatcher-docker-wrapper" and $msg contains "httpd.admin_dispatcher")',
'($programname == "pfperl-api-docker-wrapper" and $msg contains "pfperl-api")',
]
},
{
Expand Down Expand Up @@ -193,11 +194,6 @@ our @SyslogInfo = (
'name' => 'haproxy_admin.log',
'conditions' => [ '$programname == "haproxy" and ($msg contains "admin-https" or $msg contains "backend has no server available")' ]
},
{
'description' => 'haproxy admin log',
'name' => 'haproxy_admin.log',
'conditions' => [ '$programname == "haproxy" and ($msg contains "admin-https" or $msg contains "backend has no server available")' ]
},
{
'description' => 'Firewall (iptables) log',
'name' => 'firewall.log',
Expand Down

0 comments on commit 6674a5c

Please sign in to comment.