request paragon debug insights-kafka-data
Syntax
request paragon debug insights-kafka-data device "device-id" time-period "duration"
Description
Show insights-kafka-data
information for a device and for a
specified period of time. An output file of the information is generated.
Options
device "device-id" |
Device ID of the device. |
time-period "duration" |
Time period (in minutes) for which
Example: 4m |
Required Privilege Level
view
Output Fields
When you enter this command, insights-kafka-data
messages for a
device and for a specified time period is displayed. The location and name of the
output file is also displayed.
Sample Output
request paragon debug insights-kafka-data device "111111" time-period "1m"
user@node> request paragon debug insights-kafka-data device "111111" time-period "1m" kubectl --kubeconfig /etc/kubernetes/admin.conf exec common-utils-7c995f68dc-4vnhf -n common -- /bin/bash -c 'cd /common-utils && ./insights-data-listener -brokers kafka.common:9092 -topics gnmi-data-dev,insights-ingest-data-dev,insights-topic-rule-data-dev -device 111111' /usr/sbin/cli -c "ssh node commands-to-execute \"kubectl --kubeconfig /etc/kubernetes/admin.conf cp common-utils-7c995f68dc-4vnhf:/common-utils/insights-ingest-data-dev /root/troubleshooting/insights_kafka/insights-ingest-data-dev_2024-04-17_02-47-22 -n common\"" tar: Removing leading `/' from member names Writing kafka output at: /root/troubleshooting/insights_kafka/insights-ingest-data-dev_2024-04-17_02-47-22 /usr/sbin/cli -c "ssh node commands-to-execute \"kubectl --kubeconfig /etc/kubernetes/admin.conf cp common-utils-7c995f68dc-4vnhf:/common-utils/insights-topic-rule-data-dev /root/troubleshooting/insights_kafka/insights-topic-rule-data-dev_2024-04-17_02-47-22 -n common\"" tar: Removing leading `/' from member names Writing kafka output at: /root/troubleshooting/insights_kafka/insights-topic-rule-data-dev_2024-04-17_02-47-22 /usr/sbin/cli -c "ssh node commands-to-execute \"kubectl --kubeconfig /etc/kubernetes/admin.conf cp common-utils-7c995f68dc-4vnhf:/common-utils/gnmi-data-dev /root/troubleshooting/insights_kafka/gnmi-data-dev_2024-04-17_02-47-22 -n common\"" tar: Removing leading `/' from member names Writing kafka output at: /root/troubleshooting/insights_kafka/gnmi-data-dev_2024-04-17_02-47-22
Release Information
Command introduced in Paragon Automation Release 2.0.0.