Initial Commit

This commit is contained in:
Arseniy Kuznetsov
2022-10-17 15:35:36 +01:00
parent 98b0eeb134
commit d970f8a697
16 changed files with 11169 additions and 0 deletions

22
promtail/promtail-config.yml Executable file
View File

@@ -0,0 +1,22 @@
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: syslog
syslog:
listen_address: 0.0.0.0:1514
idle_timeout: 60s
label_structured_data: yes
labels:
job: "syslog"
relabel_configs:
- source_labels: ['__syslog_message_hostname']
target_label: 'host'