added loki and nginx geolocation

This commit is contained in:
2024-03-18 18:41:04 +00:00
parent c265912b3c
commit 8462077835
6 changed files with 75 additions and 11833 deletions

View 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