public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] suricata: Fixed logs.dat regex for suricata
@ 2019-05-19 13:54 Erik Kapfer
  0 siblings, 0 replies; only message in thread
From: Erik Kapfer @ 2019-05-19 13:54 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]

Fixes: #12084

Since the Suricata regex did not match the messages output, Suricata was not displayed in the "System Logs" section in the WUI.

Signed-off-by: Erik Kapfer <ummeegge(a)ipfire.org>
---
 html/cgi-bin/logs.cgi/log.dat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/cgi-bin/logs.cgi/log.dat b/html/cgi-bin/logs.cgi/log.dat
index 136fed77c..061525382 100644
--- a/html/cgi-bin/logs.cgi/log.dat
+++ b/html/cgi-bin/logs.cgi/log.dat
@@ -67,7 +67,7 @@ my %sections = (
         'openvpn' => '(openvpnserver\[.*\]: |.*n2n\[.*\]: )',
         'pakfire' => '(pakfire:)',
         'red' => '(red:|pppd\[.*\]: |chat\[.*\]|pppoe\[.*\]|pptp\[.*\]|pppoa\[.*\]|pppoa3\[.*\]|pppoeci\[.*\]|ipppd|ipppd\[.*\]|kernel: ippp\d|kernel: isdn.*|ibod\[.*\]|dhcpcd\[.*\]|modem_run\[.*\])',
-        'suricata' => '(suricata\[.*\]: )',
+        'suricata' => '(suricata: )',
         'squid' => '(squid\[.*\]: |squid: )',
         'ssh' => '(sshd(?:\(.*\))?\[.*\]: )',
         'unbound' => '(unbound: \[.*:.*\])(.*:.*$)',
-- 
2.12.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-19 13:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-19 13:54 [PATCH] suricata: Fixed logs.dat regex for suricata Erik Kapfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox