promtail: Remove default scrape jobs varlogs, nginx and postfix-bounces
This commit is contained in:
parent
ba32c8ee83
commit
59a76a526b
1 changed files with 0 additions and 21 deletions
|
|
@ -57,13 +57,6 @@ prometheus_agent:
|
||||||
# the default scrape configs. Items with an empty value are ignored.
|
# the default scrape configs. Items with an empty value are ignored.
|
||||||
# The "job_name" field defaults to the item key.
|
# The "job_name" field defaults to the item key.
|
||||||
scrape_jobs:
|
scrape_jobs:
|
||||||
system:
|
|
||||||
static_configs:
|
|
||||||
- targets:
|
|
||||||
- localhost
|
|
||||||
labels:
|
|
||||||
job: varlogs
|
|
||||||
__path__: /var/log/*log
|
|
||||||
journal:
|
journal:
|
||||||
journal:
|
journal:
|
||||||
max_age: 12h
|
max_age: 12h
|
||||||
|
|
@ -77,20 +70,6 @@ prometheus_agent:
|
||||||
pipeline_stages:
|
pipeline_stages:
|
||||||
- structured_metadata:
|
- structured_metadata:
|
||||||
level:
|
level:
|
||||||
nginx:
|
|
||||||
static_configs:
|
|
||||||
- targets:
|
|
||||||
- localhost
|
|
||||||
labels:
|
|
||||||
job: nginx
|
|
||||||
__path__: /var/log/nginx/access-promtail.log
|
|
||||||
postfix-bounces:
|
|
||||||
static_configs:
|
|
||||||
- targets:
|
|
||||||
- localhost
|
|
||||||
labels:
|
|
||||||
job: postfix-bounces
|
|
||||||
__path__: /var/log/mailman3/bounce.log
|
|
||||||
snmp:
|
snmp:
|
||||||
enable: False
|
enable: False
|
||||||
mib_path: /usr/share/snmp/mibs
|
mib_path: /usr/share/snmp/mibs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue