We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a24091 commit d707c92Copy full SHA for d707c92
promtail/promtail-config.yml
@@ -6,26 +6,10 @@ positions:
6
filename: /positions.yaml
7
8
scrape_configs:
9
- - job_name: all
+ - job_name: application
10
static_configs:
11
- targets:
12
- localhost
13
labels:
14
- job: all_logs
15
- __path__: /var/logs/all/*.log
16
-
17
- - job_name: warn
18
- static_configs:
19
- - targets:
20
- - localhost
21
- labels:
22
- job: warn_logs
23
- __path__: /var/logs/warn/*.log
24
25
- - job_name: error
26
27
28
29
30
- job: error_logs
31
- __path__: /var/logs/error/*.log
+ job: application_logs
+ __path__: logs/application*.log
0 commit comments