Hi team,
Currently i am using prometheus docker image
prom/prometheus.I wanted to send prometheus logs to kibana, instead of having to ssh to the machines and find find the logs.
Is it possible to change the log format for prometheus, and if it's possible then how can i do it?
Also where is the log directory inside docker?
Currently to find logs i have two ways:
- docker logs {containerId}.
- In host machine inside /var/lib/docker/containers/*/*.log.
Where can i find log directory inside docker so i can map it to a directory in host machine outside docker.