This article explains how to gather logs within Contrail Insights (formerly known as AppFormix) to submit when opening a service request with JTAC.
From the AppFormix/Contrail Insights node, which hosts the docker containers, go into /opt/appformix/bin/ .
/opt/appformix/bin/
Run 'sudo bash tac-collect' .
'sudo bash tac-collect'
/opt/appformix/bin
Refer to KB23337 - How to upload large files to a JTAC Service Request (case) using SFTP [juniper.net] or directly attach it to the JTAC service request.
2021-07-09: Corrected the command in step 2 to include a missing dash