summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2019-05-29 13:40:26 -0700
committerBryan Newbold <bnewbold@archive.org>2019-05-29 13:40:26 -0700
commite59ae83dd94ca1f468cc507f5d420def0d6983ed (patch)
tree1d74a010d35ba41459b311360da80f8230d792e6
parent4579dc274924ce7987c6990f69a2b735a37ed7b4 (diff)
downloadknowledge-e59ae83dd94ca1f468cc507f5d420def0d6983ed.tar.gz
knowledge-e59ae83dd94ca1f468cc507f5d420def0d6983ed.zip
rsyslog notes
-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
+