6/11
This commit is contained in:
parent
8a4596576e
commit
5123a547d9
@ -17,3 +17,10 @@ scrape_configs:
|
||||
job: docker
|
||||
__path__: /var/lib/docker/containers/*/*.log
|
||||
|
||||
- job_name: system_logs
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: syslog
|
||||
__path__: /var/log/*.log
|
||||
@ -6,7 +6,7 @@ PROMTAIL_VERSION="v3.1.1"
|
||||
PROMTAIL_DIR="/opt/promtail"
|
||||
CONFIG_DIR="/etc/promtail"
|
||||
TOMCAT_LOG_DIR="/opt/tomcat/logs"
|
||||
LOKI_URL="http://192.168.56.20:3100/loki/api/v1/push"
|
||||
LOKI_URL="http://192.168.56.16:3100/loki/api/v1/push"
|
||||
PROMTAIL_USER="promtail"
|
||||
PROMTAIL_GROUP="promtail"
|
||||
TOMCAT_GROUP="tomcatlogs"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user