23 lines
431 B
YAML
23 lines
431 B
YAML
|
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: system
|
||
|
pipeline_stages:
|
||
|
- replace:
|
||
|
expression: '(?:[0-9]{1,3}\.){3}([0-9]{1,3})'
|
||
|
replace: '***'
|
||
|
static_configs:
|
||
|
- targets:
|
||
|
- localhost
|
||
|
labels:
|
||
|
job: nginx_access_log
|
||
|
__path__: /var/log/nginx/*access.log
|