hostname variable correction
This commit is contained in:
1 parent
72eb0f30a3
commit
aa5584a415
1 file changed
+2
-2
+2
-2
@@ -26,7 +26,7 @@ scrape_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
host: ${HOSTNAME}
|
||||
host: \${HOSTNAME}
|
||||
job: varlogs
|
||||
__path__: /var/log/*log
|
||||
- job_name: journal
|
||||
@@ -35,7 +35,7 @@ scrape_configs:
|
||||
max_age: 24h
|
||||
path: /var/log/journal
|
||||
labels:
|
||||
host: ${HOSTNAME}
|
||||
host: \${HOSTNAME}
|
||||
job: systemd-journal
|
||||
relabel_configs:
|
||||
- source_labels: ['__journal__systemd_unit']
|
||||
|
||||
Reference in new issue
Block a user