Upload files to "Grafana"

This commit is contained in:
yun9lin9 committed 2026-10-07 10:40:50 +00:00
1 parent 36d7d6b65f
commit 092f736331
5 files changed
+351

No files matched your search

+46
View File
@@ -0,0 +1,46 @@
server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
- url: http://loki:3100/loki/api/v1/push
scrape_configs:
- job_name: mikrotik
static_configs:
- targets:
- localhost
labels:
job: syslog
device: mikrotik
__path__: /var/log/syslog-ng/mikrotik.log
- job_name: synology
static_configs:
- targets:
- localhost
labels:
job: syslog
device: synology
__path__: /var/log/syslog-ng/synology.log
- job_name: proxmox
static_configs:
- targets:
- localhost
labels:
job: syslog
device: proxmox
__path__: /var/log/syslog-ng/proxmox.log
- job_name: terramaster
static_configs:
- targets:
- localhost
labels:
job: syslog
device: terramaster
__path__: /var/log/syslog-ng/terramaster.log