forked from Nova-reward/Nova-Rewards
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpromtail-config.yml
More file actions
50 lines (44 loc) · 1.27 KB
/
Copy pathpromtail-config.yml
File metadata and controls
50 lines (44 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
clients:
- url: http://loki:3100/loki/api/v1/push
tenant_id: nova-rewards
positions:
filename: /tmp/positions.yaml
scrape_configs:
- job_name: journal
journal:
path: /var/log/journal
labels:
job: systemd-journal
relabel_configs:
- source_labels: ['__journal__systemd_unit']
target_label: 'unit'
- job_name: docker
docker: {}
relabel_configs:
- source_labels: ['__meta_docker_container_name']
target_label: 'container'
- source_labels: ['__meta_docker_container_log_stream']
target_label: 'stream'
- job_name: kubernetes
kubernetes_sd_configs:
- role: pod
relabel_configs:
- source_labels: [__meta_kubernetes_pod_namespace]
target_label: namespace
- source_labels: [__meta_kubernetes_pod_name]
target_label: pod
- source_labels: [__meta_kubernetes_pod_container_name]
target_label: container
- job_name: syslog
syslog:
listen_address: 0.0.0.0:514
relabel_configs:
- source_labels: ['__syslog_message_hostname']
target_label: 'hostname'
- job_name: windows
windows_events:
- system
- application
relabel_configs:
- source_labels: ['__meta_windows_event_type']
target_label: 'event_type'