Google Cloud Platform Logging:如何在所有日志中搜索通配符字符串

Google Cloud Platform Logging: How to search wildcard strings in all logs

如何在所有日志中进行简单的通配符搜索?我讨厌 GCP 的查询语言,他们的文档令人困惑。

我试过了:

text:*MY_STRING_TO_SEARCH_FOR*

无效。

使用regex insteadtext=~".*MY_STRING_TO_SEARCH_FOR.*"