We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b43e6f commit 23fc986Copy full SHA for 23fc986
1 file changed
monitoring/promtail/config.yml
@@ -36,7 +36,7 @@ scrape_configs:
36
selector: '{container_name=~"lastdance-(blue|green)-app"}'
37
stages:
38
- regex:
39
- expression: '^(?P<timestamp>\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z)\s+(?P<level>\S+)\s+\d+\s+---\s+\[.*?\]\s+\[.*?\]\s+(?P<logger>[\w.$]+)\s+:\s+(?P<message>.*)$'
+ expression: '^(?P<timestamp>\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z)\s+(?P<level>\S+)\s+(?P<pid>\d+)\s+---\s+\[(?P<logger>[a-zA-Z0-9.$]+)\]\s+:\s+(?P<message>.*)$'
40
- timestamp:
41
source: timestamp
42
format: RFC3339Nano
0 commit comments