Skip to content

Commit 54651d4

Browse files
authored
Merge pull request #28 from shutter-network/fix/promtail-logging-format
fix: add regex to fix promtail indentation
2 parents 6bc30db + 3006ecb commit 54651d4

File tree

1 file changed

+33
-35
lines changed

1 file changed

+33
-35
lines changed

shutter/promtail_config.yaml

Lines changed: 33 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,44 @@
11
server:
22
http_listen_port: 9080
33
grpc_listen_port: 0
4-
54
positions:
65
filename: /tmp/positions.yaml
7-
86
client:
97
url: https://logs.metrics.shutter.network/insert/loki/api/v1/push
108
basic_auth:
119
username: ${PUSHGATEWAY_USERNAME}
1210
password: ${PUSHGATEWAY_PASSWORD}
13-
1411
scrape_configs:
15-
- job_name: configure
16-
pipeline_stages:
17-
- docker:
18-
static_configs:
19-
- targets:
20-
- localhost
21-
labels:
22-
job: configure
23-
host: ${KEYPER_NAME}
24-
__path__: /tmp/configure.log
25-
26-
- job_name: keyper
27-
pipeline_stages:
28-
- docker:
29-
static_configs:
30-
- targets:
31-
- localhost
32-
labels:
33-
job: keyper
34-
host: ${KEYPER_NAME}
35-
__path__: /tmp/keyper.log
36-
37-
- job_name: chain
38-
pipeline_stages:
39-
- docker:
40-
static_configs:
41-
- targets:
42-
- localhost
43-
labels:
44-
job: chain
45-
host: ${KEYPER_NAME}
46-
__path__: /tmp/chain.log
12+
- job_name: configure
13+
pipeline_stages:
14+
- regex:
15+
expression: '^(?P<_msg>.*)$'
16+
static_configs:
17+
- targets:
18+
- localhost
19+
labels:
20+
job: configure
21+
host: ${KEYPER_NAME}
22+
__path__: /tmp/configure.log
23+
- job_name: keyper
24+
pipeline_stages:
25+
- regex:
26+
expression: '^(?P<_msg>.*)$'
27+
static_configs:
28+
- targets:
29+
- localhost
30+
labels:
31+
job: keyper
32+
host: ${KEYPER_NAME}
33+
__path__: /tmp/keyper.log
34+
- job_name: chain
35+
pipeline_stages:
36+
- regex:
37+
expression: '^(?P<_msg>.*)$'
38+
static_configs:
39+
- targets:
40+
- localhost
41+
labels:
42+
job: chain
43+
host: ${KEYPER_NAME}
44+
__path__: /tmp/chain.log

0 commit comments

Comments
 (0)