The Redis Enterprise cluster (REC) log collector script (
log_collector.py) creates and fills a directory with the relevant logs for your environment. These logs will help the support team with troubleshooting.
As of version 6.2.18-3, the log collector tool has two modes:
- restricted collects only resources and logs created by the operator and Redis Enterprise deployments
- This is the default for versions 6.2.18-3 and later
- all collects everything from your environment
- This is the default mode for versions 6.2.12-1 and earlier
Download the latest
Have a K8s administrator run the script on the system that runs your
-nparameter to run on a different namespace than the one you are currently on
-mparameter to change the log collector mode (
- Run with
-hto see options
python log_collector.pyNote:If you get an error because the yaml module is not found, install the pyYAML module with
pip install pyyaml.
Upload the resulting
tar.gzfile containing all the logs to Redis Support.