Skip to content

Commit 65b4025

Browse files
fix(post): updated promtail config and added comments for clarity
1 parent 92aad95 commit 65b4025

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

_posts/2021-11-20-grafana-loki.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -157,16 +157,16 @@ scrape_configs:
157157

158158
# syslog target
159159

160-
- job_name: syslog
161-
syslog:
162-
listen_address: 0.0.0.0:1514 # make sure you also expose this port on the container
163-
idle_timeout: 60s
164-
label_structured_data: yes
165-
labels:
166-
job: "syslog"
167-
relabel_configs:
168-
- source_labels: ['__syslog_message_hostname']
169-
target_label: 'host'
160+
# - job_name: syslog
161+
# syslog:
162+
# listen_address: 0.0.0.0:1514 # make sure you also expose this port on the container
163+
# idle_timeout: 60s
164+
# label_structured_data: yes
165+
# labels:
166+
# job: "syslog"
167+
# relabel_configs:
168+
# - source_labels: ['__syslog_message_hostname']
169+
# target_label: 'host'
170170
```
171171

172172
## Loki Docker Driver

0 commit comments

Comments
 (0)