Promtail : Filter based on response time in logs

Is it possible to filter log lines based on some conditions like (greater than or less than) in promtail?

For example:
Log line 1: http response time 200
Log line 2: http response time 10

I would like to only store log line 1(i.e. having response time greater than 100 ) in loki.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.