# Log pattern tester

Test a regular expression against real log lines and see the fields it extracts.

## How it works

Named groups like (?<status>\d{3}) turn each part of a line into a field you can search and chart.

## Questions

### Why doesn’t my line match?

Check spaces, quotes and optional parts. Anchors like ^ and $ require the whole line to match.

### Can I parse JSON logs this way?

Use a JSON parser instead; patterns are for plain-text formats.

## Related tools

- [JSON formatter & validator](https://powertraces.com/tools/json-formatter)
- [Timestamp converter](https://powertraces.com/tools/timestamp-converter)
- [Duration converter](https://powertraces.com/tools/duration-converter)
- [Stack trace formatter](https://powertraces.com/tools/stack-trace-formatter)

[All tools](https://powertraces.com/tools)
