GCP Loggingで該当のurlのみのログを取得する
GCPのLoggingにて、文字列の部分一致で検索をする方法がわからなかったので調べました。
結論
httpRequest.requestUrl:"https://hogehoge.com/"
httpRequest.requestUrl:"https://hogehoge.com/"
:
でつなぐことで部分一致になる。
=
にすると完全一致。
https://cloud.google.com/logging/docs/view/advanced-queries?hl=ja#searching_examples
Author And Source
この問題について(GCP Loggingで該当のurlのみのログを取得する), 我々は、より多くの情報をここで見つけました https://qiita.com/shigeru10/items/f54455e02e9d93e9ba4c著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .