Merge pull request 'Modify `promtail` config for `digdag`.' (#61) from modify-promtail-configs-for-digdag into master
Reviewed-on: #61
This commit is contained in:
commit
df8c3dcdde
|
@ -18,8 +18,11 @@ scrape_configs:
|
||||||
hostname: <%= @HOSTNAME %>
|
hostname: <%= @HOSTNAME %>
|
||||||
__path__: /var/log/supervisor/digdag.log
|
__path__: /var/log/supervisor/digdag.log
|
||||||
|
|
||||||
|
|
||||||
pipeline_stages:
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="digdag"} !~ "^[0-9]+-[0-9]+-[0-9]+"'
|
||||||
|
action: drop
|
||||||
|
|
||||||
- match:
|
- match:
|
||||||
selector: '{job="digdag"} |~ "^[0-9]+-[0-9]+-[0-9]+"'
|
selector: '{job="digdag"} |~ "^[0-9]+-[0-9]+-[0-9]+"'
|
||||||
|
|
||||||
|
@ -52,14 +55,3 @@ scrape_configs:
|
||||||
|
|
||||||
- output:
|
- output:
|
||||||
source: message
|
source: message
|
||||||
|
|
||||||
- match:
|
|
||||||
selector: '{job="digdag"} !~ "^[0-9]+-[0-9]+-[0-9]+"'
|
|
||||||
|
|
||||||
stages:
|
|
||||||
- template:
|
|
||||||
source: level
|
|
||||||
template: 'info'
|
|
||||||
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
|
|
Loading…
Reference in New Issue