DAP - How do I gather logs for DAP/Conjur?

DAP - How do I gather logs for DAP/Conjur?

86
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:08 PM


Question


How do I gather logs for DAP/Conjur?

Environment


10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;20.7;21.1;21.2

Answer


When the DAP appliance is running as a Docker container, the logs should be retrieved from Docker by running this command on the Docker host:

docker logs {{container_name}}

For example:

$ docker logs dap
...

If the DAP container has been running for a long time, the --since flag can be used to limit the logs and won't take as long to retrieve/parse:

$ docker logs dap --since=20m
$ docker logs dap --since=1d

The logs can also be followed (like tail) in real time during debugging:

$ docker logs -f dap --since=5m

If the log driver for the container has been correctly configured, it should be sending log messages to journald. Logs that are sent to the host for processing by journald can be retrieved by running:

$ journalctl CONTAINER_NAME=dap

If the container is running kubernetes:

kubectl -n <dap-namespace> logs <deployment-name> <container-name(authenticator|appliance|etc)>


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001Sf2CAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail