From c1825155f61683a945a49beba3f0ae54900db353 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sat, 31 Oct 2020 17:00:42 +0900 Subject: [PATCH] Modify `promtail` config for `nginx`. --- cookbooks/nginx/templates/etc/promtail/nginx.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/nginx/templates/etc/promtail/nginx.yaml b/cookbooks/nginx/templates/etc/promtail/nginx.yaml index 5e14af3..0287fce 100644 --- a/cookbooks/nginx/templates/etc/promtail/nginx.yaml +++ b/cookbooks/nginx/templates/etc/promtail/nginx.yaml @@ -35,7 +35,7 @@ scrape_configs: - template: source: level - template: '{{ regexReplaceAllLiteral "(2|3)[0-9]+" .Value "info" }}' + template: '{{ regexReplaceAllLiteral "(1|2|3)[0-9]+" .Value "info" }}' - template: source: level