Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Juniper Paragon Automation User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

request paragon debug logs

date_range 18-Jun-24

Syntax

content_copy zoom_out_map
request paragon debug logs container container-name namespace namespace-name service service-name time duration
content_copy zoom_out_map
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: [0-9]+(s/m/h/d). For example: 5s or 10m

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

content_copy zoom_out_map
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

content_copy zoom_out_map
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.

footer-navigation