# CtrlB Decompose documentation

This documentation describes CtrlB Decompose’s multi-stage pipeline from raw noisy logs through timestamp normalization, CLP encoding, Drain3 clustering, typed variables such as IPv4 and UUIDs, DDSketch quantiles, HyperLogLog cardinality sketches, and anomaly-oriented cues.

## Metadata

- **Canonical HTML**: https://ctrlb.ai/decompose/docs
- **Last updated**: 2026-05-01

## Stage overview

| Stage | Purpose |
|-------|---------|
| Parsing | Normalize timestamps & tokens |
| Encoding | CLP compression prep |
| Clustering | Drain3 grouping |
| Stats | Quantiles & cardinality sketches |

## Example: CLI invocation

```bash
ctrlb-decompose --help
cat ./samples/*.log | ctrlb-decompose analyze --json > patterns.json
```

## Links

- [Interactive demo](https://ctrlb.ai/decompose)
- [GitHub](https://github.com/ctrlb-hq/ctrlb-decompose)