Description
As per https://github.com/grafana/loki/issues/4267 it would be useful with Loki to have a numeric field for the log level to simplify usage with rules and alerts. It can be done in post-processing as a workaround.
We can do this as part of the common level mapping filters.