This website works better with JavaScript.
首頁
探索
登入
threefold_public
/
public
關註
5
收藏
1
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
hostname variable correction
master
Coesens Bert
5 月之前
父節點
72eb0f30a3
當前提交
aa5584a415
共有
1 個文件被更改
,包括
2 次插入
和
2 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
loki-system-logs.sh
+ 2
- 2
loki-system-logs.sh
查看文件
@@ -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…
取消
儲存