I have the following query to get logs of meilisearch.
{forwarder="vector"} | logfmt | __error__ = "" | kubernetes_pod_name =~ "meilisearch.*" | line_format `{{ .message }}`
I tried to use pattern
to further process break down and parse the line here:
{forwarder="vector"} | logfmt | __error__ = "" | kubernetes_pod_name =~ "meilisearch.*" | line_format `{{ .message }}` | pattern `[<_> <log_level> <_>] <ip> "<method> <path> <protocal>" <status> <_>` | __error__ = ""
But I can still see the lines that cannot be broken down by pattern
in the log. Does __error__ = ""
not work with pattern
?