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.

  1. Download the log_collector.py file.

  2. Run the script on the system that runs your kubectl or oc 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
    
Note:
If you get an error because the yaml module is not found, install the pyYAML module with pip install pyyaml.
  1. Upload the resulting tar.gz file containing all the logs to Redis Support.