Modify `promtail` config for `nginx`.
This commit is contained in:
parent
22bd0f555e
commit
c1825155f6
|
@ -35,7 +35,7 @@ scrape_configs:
|
||||||
|
|
||||||
- template:
|
- template:
|
||||||
source: level
|
source: level
|
||||||
template: '{{ regexReplaceAllLiteral "(2|3)[0-9]+" .Value "info" }}'
|
template: '{{ regexReplaceAllLiteral "(1|2|3)[0-9]+" .Value "info" }}'
|
||||||
|
|
||||||
- template:
|
- template:
|
||||||
source: level
|
source: level
|
||||||
|
|
Loading…
Reference in New Issue