How to collect Portnox Docker container logs for support
In this topic, you will learn how to access and collect Portnox Docker container log files using the SSH protocol and the PuTTY application on Windows so that you can attach them to your support ticket.
This topic applies to logs from the following Portnox Docker images:
- Local RADIUS Docker container
- Local TACACS+ Docker container
- DHCP relay Docker container
- Remote Private Access Docker container
These instructions assume that you are running your Docker containers on Linux and we tested them using Ubuntu 22. If you are running your Docker containers on a different operating system, you may need to modify the shell commands.
- Install and run the PuTTY application on your Windows computer.
-
Use the PuTTY application to connect to the virtual or physical machine that you use to run your Docker image.
Note: The exact steps needed to connect to the machine depend fully on your environment.
-
Collect the Docker container logs by copying them to a temporary file:
-
Local RADIUS:
sudo docker logs portnox-radius > /tmp/docker.log
-
Local TACACS+:
sudo docker logs portnox-tacacs > /tmp/docker.log
-
DHCP relay:
sudo docker logs portnox-dhcp-relay > /tmp/docker.log
-
Remote Private Access:
sudo docker logs portnox-gateway_name > /tmp/docker.log
where gateway_name is the name of your Remote Private Access gateway as configured on the Private Access screen.
-
-
Collect the internal logs by copying them to a temporary compressed file:
Note: Skip this step for the DHCP relay.
-
Copy the log file from the Docker host machine to your Windows machine:
Note: You can use any SCP or SFTP client to copy the file to your Windows machine. In this example, we are showing you how to do it using PuTTY’s command-line client.
Result: Your Downloads folder on your Windows machine contains either the docker.log or the logs.tgz file, which you can attach to your support ticket.