1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
Hello,
Thank you for reaching out.
To exclude terms in log events using metric filters, you can use the "Not Equal" symbol ("!=") before the term or terms which you want to exclude. For example to exclude the term "driver", you can use the filter below:
[w1!=driver, w2].
The above filter matches all other logs but excludes the log events with the term "driver".
You can test using the symbol in your logs and confirm if this works for you. If you have any challenges, I would recommend opening a case with support and share the sample logs for further insight.
回答済み 1年前
関連するコンテンツ
- 質問済み 9ヶ月前
- AWS公式更新しました 2年前
The string "driver" is inside the log stream name not inside the log event itself. I am not sure if I can filter by attributes other than log event. The filter mentioned above isn't working in my case. Thank you