We are planning to implement Kubernetes application monitoring using 
Prometheus. Our application is running in apache and deployed to kubernetes 
cluster. We are developing Custom Apache exporter which will run in same 
POD as my application container & gather metrics from apache and push them 
to Prometheus. As part of this monitoring we need to parse access.log in 
apache to get number of 2xx, 3xx,4xx & 5xx requests. But Our application 
that is deployed in Kubernetes doesnt store any logs inside the POD, but it 
logs to STDOUT. So I can access logs from kubectl logs command. Now my 
Apache exporter that I am building is hosted in same POD as my application 
container. Now my question is How can i get application logs (access.log) 
to be present/accessible to my apache exporter container, so that I can 
parse the logic and comeup with metrics like number of 2xx,3xx,4xx & 5xx.

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/39f98fe5-1e16-46ef-bd84-637ba7260710%40googlegroups.com.

Reply via email to