Getting "agent logs" from a container

By default, the Instana Agent will log to <instana_install_dir>/data/log/agent.log, which will also be rotated should the file grow too large. If you are running the agent in a container, it logs to the console instead, which is managed by Docker and accessible via docker logs.

You can run the following command to get the logs for the container:

docker logs <container>

Have more questions? Submit a request

Comments