request paragon debug logs
Syntax
request paragon debug logs container container-name namespace namespace-name service service-name time duration
request paragon debug logs namespace namespace-name service service-name time duration
Description
Generate a log file for a service within a namespace. You can also generate this log for a specified period of time.
Options
container container-name |
(Optional) Name of the container. |
namespace namespace-name |
(Mandatory) Name of the namespace. See request paragon debug logs namespace for more information. |
service service-name |
(Mandatory) Name of the service within the namespace. See request paragon debug logs namespace for more information. |
time duration |
Get logs for the specified time period. Format: |
Required Privilege Level
view
Output Fields
When you enter this command, a log file is created for the service and for a specified period of time.
Sample Output
- request paragon debug logs namespace healthbot service config-server container config-server time 6s
- request paragon debug logs namespace healthbot service tsdb-shim time 6s
request paragon debug logs namespace healthbot service config-server container config-server time 6s
user@node> request paragon debug logs namespace healthbot service config-server container config-server time 6s Log file for config-server created at: /root/troubleshooting/log/logs-config-server-config-server-2024-04-30_13-42-14.tar.gz
request paragon debug logs namespace healthbot service tsdb-shim time 6s
user@node> request paragon debug logs namespace healthbot service tsdb-shim time 6s Log file for tsdb-shim created at: /root/troubleshooting/log/logs-tsdb-shim-2024-04-16_14-49-39.tar.gz
Release Information
Command introduced in Paragon Automation Release 2.0.0.