Collect logs
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.
Note:
This script requires Python 3.6 or later.
-
Download the
log_collector.py
file. -
Run the script on the system that runs your
kubectl
oroc
commands.- Pass
-n
parameter to run on a different namespace than the one you are currently on. - Run with
-h
to see options.
python log_collector.py
- Pass
Note:
If you get an error because the yaml module is not found, install the pyYAML module with
pip install pyyaml
.- Upload the resulting
tar.gz
file containing all the logs to Redis Support.