# Transform plugin It transforms events with programs written in a small expression language. A single `transform` action can rename, reshape, parse and delete fields — work that otherwise takes a chain of single-purpose actions. **Example:** ```yaml pipelines: example_pipeline: ... actions: - type: transform source: | # parse lines like "INFO 2025-05-25 11:11:11,222 [shard 1] compaction - done" m = parse_regex(.log, r'^(?P\S+)\s+(?P