Build, test, and debug regular expressions
This regex parses structured application log entries, commonly used in Splunk for log analysis. It extracts log level, thread ID, internal log level (when present), module name, and the main message from each log line. The pattern handles conditional fields and uses named capture groups for easy field extraction in Splunk queries.