commented out old appdaemon config for promtail

This commit is contained in:
John Lancaster
2024-04-02 22:47:23 -05:00
parent 132b74f015
commit da4a933be7

View File

@@ -28,15 +28,15 @@ scrape_configs:
- target_label: 'host' - target_label: 'host'
replacement: '${HOSTNAME}' replacement: '${HOSTNAME}'
pipeline_stages: pipeline_stages:
- match: # - match:
selector: '{container="appdaemon"}' # selector: '{container="appdaemon"}'
stages: # stages:
- regex: # - regex:
expression: "(?P<date>\\\\d{4}-\\\\d{2}-\\\\d{2}) (?P<time>\\\\d{2}:\\\\d{2}:\\\\d{2} [AP)]M) (?P<level>\\\\w+) (?P<app>\\\\w+): (?P<msg>.*?)$" # expression: "(?P<date>\\\\d{4}-\\\\d{2}-\\\\d{2}) (?P<time>\\\\d{2}:\\\\d{2}:\\\\d{2} [AP)]M) (?P<level>\\\\w+) (?P<app>\\\\w+): (?P<msg>.*?)$"
- labels: # - labels:
level: # level:
app: # app:
msg: # msg:
- match: - match:
selector: '{container="zigbee2mqtt"} |= "MQTT publish"' selector: '{container="zigbee2mqtt"} |= "MQTT publish"'
stages: stages: