Skip to content

Import real data

This section covers three ways to turn real telemetry into a Sonda scenario. Each page handles one input format: a CSV file, a Grafana panel export, or a structured log file. The result is a YAML scenario you can replay for incident reproduction, regression tests, or dashboard validation.

  • From a CSV file

    sonda new --from <csv> reads each numeric column, classifies the pattern, and writes one scenario entry per column.

  • Grafana exports

    Export a Grafana panel as CSV. Point sonda new --from at it and replay the incident at the original cadence.

  • Log files

    Replay a structured log file at the original cadence with csv_replay on a signal_type: logs entry.