diff --git a/logs_apps_k8s.json b/logs_apps_k8s.json index fe0c611..4633153 100644 --- a/logs_apps_k8s.json +++ b/logs_apps_k8s.json @@ -134,7 +134,7 @@ }, "direction": "backward", "editorMode": "code", - "expr": "sum(count_over_time({job=~\"$env/$app\", cluster=\"$cluster\"} |= \"$search\" [$__interval]))", + "expr": "sum(count_over_time({job=~\"$env/$app\", cluster=\"$cluster\"} json | (__error__!=\"JSONParserErr\") |= \"$search\" [$__interval]))", "legendFormat": "", "queryType": "range", "refId": "A" @@ -180,7 +180,7 @@ }, "direction": "backward", "editorMode": "code", - "expr": "{job=~\"$env/$app\", cluster=\"$cluster\"} |= \"$search\" | logfmt", + "expr": "{job=~\"$env/$app\", cluster=\"$cluster\"} |= \"$search\" | json | (__error__!=\"JSONParserErr\")", "hide": false, "legendFormat": "", "queryType": "range",