added loki and nginx geolocation
This commit is contained in:
20
docker/promtail/rootfs/promail/config.yml
Normal file
20
docker/promtail/rootfs/promail/config.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
server:
|
||||
http_listen_port: 9080
|
||||
grpc_listen_port: 0
|
||||
|
||||
positions:
|
||||
filename: /tmp/positions.yaml
|
||||
|
||||
clients:
|
||||
- url: ${PROMTAIL_LOKISERVER_ADDRESS}/loki/api/v1/push
|
||||
|
||||
scrape_configs:
|
||||
- job_name: nginx
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: nginx
|
||||
host: wanreverseproxy
|
||||
agent: promtail
|
||||
__path__: /mnt/nginx-logs/access_json_analytics.log
|
||||
Reference in New Issue
Block a user