Skip to content

thomasdanan/sosparser

Repository files navigation

sosparser

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.

Set up the environment:

python3 -m venv env source env/bin/activate pip install -r requirements.txt

Usage

Run the main script parse-sos.py to analyze a sosreport.

Full Analysis

Run a comprehensive analysis of all available statistics:

python parse-sos.py /path/to/extracted/sosreport --stat ALL

Specific Analysis

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

About

Tools to parse and analyze sosreport

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages