Fix indentation
This commit is contained in:
parent
e55baff8e6
commit
7593e21cf6
@ -32,28 +32,28 @@ scrape_configs:
|
||||
# per: https://gist.github.com/ruanbekker/c6fa9bc6882e6f324b4319c5e3622460?permalink_comment_id=3764474
|
||||
- job_name: containers
|
||||
entry_parser: raw
|
||||
static_configs:
|
||||
- targets:
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: containerlogs
|
||||
__path__: /var/lib/docker/containers/*/*log
|
||||
pipeline_stages:
|
||||
- json:
|
||||
expressions:
|
||||
stream: stream
|
||||
attrs: attrs
|
||||
tag: attrs.tag
|
||||
- regex:
|
||||
expression: (?P<image_name>(?:[^|]*[^|])).(?P<container_name>(?:[^|]*[^|])).(?P<image_id>(?:[^|]*[^|])).(?P<container_id>(?:[^|]*[^|]))
|
||||
source: "tag"
|
||||
- labels:
|
||||
tag:
|
||||
stream:
|
||||
image_name:
|
||||
container_name:
|
||||
image_id:
|
||||
container_id:
|
||||
labels:
|
||||
job: containerlogs
|
||||
__path__: /var/lib/docker/containers/*/*log
|
||||
pipeline_stages:
|
||||
- json:
|
||||
expressions:
|
||||
stream: stream
|
||||
attrs: attrs
|
||||
tag: attrs.tag
|
||||
- regex:
|
||||
expression: (?P<image_name>(?:[^|]*[^|])).(?P<container_name>(?:[^|]*[^|])).(?P<image_id>(?:[^|]*[^|])).(?P<container_id>(?:[^|]*[^|]))
|
||||
source: "tag"
|
||||
- labels:
|
||||
tag:
|
||||
stream:
|
||||
image_name:
|
||||
container_name:
|
||||
image_id:
|
||||
container_id:
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user