Use journald for Nomad Docker logging so they can be ingested into Loki
This commit is contained in:
parent
92fd139263
commit
2bde762902
@ -314,6 +314,9 @@
|
||||
volumes:
|
||||
enabled: true
|
||||
selinuxlabel: "z"
|
||||
# Send logs to journald so we can scrape them for Loki
|
||||
logging:
|
||||
type: journald
|
||||
extra_labels:
|
||||
- "job_name"
|
||||
- "job_id"
|
||||
|
Loading…
Reference in New Issue
Block a user