This website works better with JavaScript.
Home
Explore
Sign In
threefold_public
/
public
Watch
6
Star
1
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
hostname variable correction
master
Coesens Bert
6 months ago
parent
72eb0f30a3
commit
aa5584a415
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
loki-system-logs.sh
+ 2
- 2
loki-system-logs.sh
View File
@@ -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']
Write
Preview
Loading…
Cancel
Save