Created
March 24, 2022 10:40
-
-
Save bearice/c9e8a437beb9c1c9d27fefc064f3f5e1 to your computer and use it in GitHub Desktop.
Loki LogQL for istio log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{app="istio-ingressgateway",namespace="istio-system"}|pattern `[<START_TIME>] "<METHOD> <PATH> <PROTOCOL>" <RESPONSE_CODE> <RESPONSE_FLAGS> <RESPONSE_CODE_DETAILS> <CONNECTION_TERMINATION_DETAILS> "<UPSTREAM_TRANSPORT_FAILURE_REASON>" <BYTES_RECEIVED> <BYTES_SENT> <DURATION> <UPSTREAM_SERVICE_TIME> "<X_FORWARDED_FOR>" "<USER_AGENT>" "<X_REQUEST_ID>" "<AUTHORITY>" "<UPSTREAM_HOST>" <UPSTREAM_CLUSTER> <UPSTREAM_LOCAL_ADDRESS> <DOWNSTREAM_LOCAL_ADDRESS> <DOWNSTREAM_REMOTE_ADDRESS> <REQUESTED_SERVER_NAME> <ROUTE_NAME>` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found this after 30 min of regexp 'ing istio logs; thanks!