diff options
author | bnewbold <bnewbold@robocracy.org> | 2022-06-23 10:35:06 -0700 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2022-06-23 10:35:06 -0700 |
commit | c1def3cdf5569c892a75e84b8b23963371f3819d (patch) | |
tree | 225060a76fa55fd8e224c643e4cd7e3d88995505 /software/rsyslog.page | |
parent | 5be0eb7d31d792366eb1e1be0a6de477a348b723 (diff) | |
parent | 9eff4d99afc1ba861ae32dcd46d88ff6b3ef222f (diff) | |
download | knowledge-c1def3cdf5569c892a75e84b8b23963371f3819d.tar.gz knowledge-c1def3cdf5569c892a75e84b8b23963371f3819d.zip |
Merge branch 'master' of adze:knowledge
Diffstat (limited to 'software/rsyslog.page')
-rw-r--r-- | software/rsyslog.page | 20 |
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 + |