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.
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.
Comments
0 comments
Article is closed for comments.