loki access_log and error_log

This commit is contained in:
wboughattas
2025-12-29 13:53:20 -05:00
parent c65be8349d
commit ced3c41e7a
2 changed files with 4 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ data:
server_name localhost;
root /usr/share/nginx/html;
index index.html index.htm;
access_log /dev/stdout;
error_log /dev/stderr;
# gzip compression
gzip on;

View File

@@ -44,7 +44,9 @@ kubectl logs -n monitoring -l name=alloy --tail=50
[//]: # (kubectl logs -n monitoring -l name=alloy --tail=50)
[//]: # (kubectl get pod -n monitoring -l app=grafana -o jsonpath='{.items[0].spec.containers[0].env}' | jq)
[//]: # (kubectl apply -f apps/severed-blog-config.yaml)
[//]: # (kubectl rollout restart deployment severed-blog -n severed-apps)
[//]: # (kubectl logs -n severed-apps -l app=severed-blog -f)
* **Internal Handshake:** Use your `access-hub.sh` script and visit `localhost:12345`.
* Find the `prometheus.exporter.nginx.blog` component.