summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--software/rsyslog.page20
1 files changed, 20 insertions, 0 deletions
diff --git a/software/rsyslog.page b/software/rsyslog.page
new file mode 100644
index 0000000..b55c127
--- /dev/null
+++ b/software/rsyslog.page
@@ -0,0 +1,20 @@
+
+Put these in files like `/etc/rsyslog.d/40-grobid-skip.conf`.
+
+Filter out lines from a given program:
+
+ :programname, isequal, "GROBID" ~
+
+Or matching a pattern:
+
+ :msg, startswith, "inserting line to HBase: sha1:"
+ :msg, contains, " INFO GET http"
+
+For list of operations ("isequal", "regex", "contains"):
+
+ https://www.rsyslog.com/doc/v8-stable/configuration/filters.html
+
+For list of properties (":msg", ":programname"):
+
+ https://www.rsyslog.com/doc/v8-stable/configuration/properties.html
+