Sosparser is a Python-based tool designed to parse and analyze ARTESCA sosreports. It extracts detailed information such as usage statistics, topology configurations, active alerts, and pod details, providing insights into the health and performance of the environment.
python3 -m venv env source env/bin/activate pip install -r requirements.txt
Run the main script parse-sos.py
to analyze a sosreport.
Run a comprehensive analysis of all available statistics:
python parse-sos.py /path/to/extracted/sosreport --stat ALL
Run the script with the following flags to extract specific data:
- Usage Statistics:
python parse-sos.py /path/to/extracted/sosreport --stat USAGE
- Topology Information:
python parse-sos.py /path/to/extracted/sosreport --stat TOPO
- Alerts:
python parse-sos.py /path/to/extracted/sosreport --stat ALERTS
- Pod Details:
python parse-sos.py /path/to/extracted/sosreport --stat PODS
- S3 TRAFFIC Details:
python parse-sos.py /path/to/extracted/sosreport --stat TRAFFIC