From 8497937786363c02f2e3beb49108f1929808cb59 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 6 Dec 2020 12:23:39 +0900 Subject: [PATCH] Ignore "Last log rotation time" message. --- cookbooks/vector/templates/etc/promtail/syslog.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/vector/templates/etc/promtail/syslog.yaml b/cookbooks/vector/templates/etc/promtail/syslog.yaml index 558282d..523bb82 100644 --- a/cookbooks/vector/templates/etc/promtail/syslog.yaml +++ b/cookbooks/vector/templates/etc/promtail/syslog.yaml @@ -51,7 +51,7 @@ scrape_configs: action: drop - match: - selector: '{job="syslog", hostname="esxi-new", appname="Rhttpproxy"} |~ "(warning rhttpproxy|->)"' + selector: '{job="syslog", hostname="esxi-new", appname="Rhttpproxy"} |~ "(warning rhttpproxy|->|last log rotation time)"' action: drop - match: