Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Syslog-ng Filter-Konfiguration

Empfohlene Antworten

Veröffentlicht

hallo zusammen,

ich habe hier ein kleines Problem, denn ich soll eine vorhandene syslog.conf so anpassen, dass bestimmte Meldungen eines Proxies herausgefiltert und verworfen werden.

Hintergrund ist, dass die Nachrichten in eine Datenbank geschrieben werden und dieser Proxy ungefähr 200k Einträge am Tag mit einer Fehlermeldungen (welche keine ist) vollbläst. Bevor jetzt jemand sagt, dass man sich damit an den Hersteller des Proxies wenden soll, der kennt den Support von Bluecoat nicht ;-)

Momentan sieht das Ganze so aus:


source s_sys { sun-streams ("/dev/log" door("/etc/.syslog_door")); internal(); };


filter f_rasproxy1_deny { host("123.123.123.123") and match(".*290006.Assertion.failed.*");};


log { source(s_sys); filter(f_rasproxy1_deny); flags(final); };

Es ist keine Destination angegeben, weil laut Manual ein "flags(final)" das Ganze sowieso verwirft. Mal davon abgesehen hab ich´s auf die Art auch schonmal probiert:

source s_sys { sun-streams ("/dev/log" door("/etc/.syslog_door")); internal(); };


destination d_devnull {file("/dev/null"); }; 


filter f_rasproxy1_deny { host("123.123.123.123") and match(".*290006.Assertion.failed.*");};


log { source(s_sys); filter(f_rasproxy1_deny); destination(d_devnull); };

Die Fehlermeldung die gefiltert werden soll lautet exakt:

ProxySG: 290006 Assertion failed: "false" ""(2686982) SEVERE_ERROR ../TE_Transaction.cpp 808

Kann mir jemand erklären, warum der Filter nicht zieht?

Danke schonmal

Grüße

Roland

--- edit ---

Bearbeitet von Dukanos

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.