Many of our customers choose to run Cortex application in a self hosted manner. At times backend application logs can be needed to facilitate troubleshooting. To ease collection and packaging of these logs, we offer a script called Brain Dump, which will collect and package the following information:
helm-manifest.yaml
, a YAML representation of the Kubernetes resources that were generated for the release's chart(s).pods.json
, a JSON representation for the list of all Kubernetes pods in the Cortex namespace with respective details.backend-logs.log
, recent backend application logs associated with the Cortex deployment.
Current Instructions
- Navigate to the appropriate directory.
- Download
braindump.sh
from Brain Dump. - Using your favorite text editor, edit
braindump.sh
to make the appropriate edits to reflect your environment on the following variables:HELM_MANIFEST
andCORTEX_BACKEND_DEPLOYMENT
. - Make the shell script executable using
chmod u+x braindump.sh
. - Execute the script
./braindump.sh
. - Upload the tarball file named
braindump.tar.gz
to your ticket for further analysis.
Pilot Log Collection Utility
Instructions can be found here, which are using troubleshoot.sh Open Source project. This utility will generate a support bundle that can be uploaded to your ticket.
Comments
0 comments
Article is closed for comments.