2 個答案
- 最新
- 最多得票
- 最多評論
0
Simply put double quotes around the instance id.
已回答 8 個月前
0
You can use the following filter pattern in CloudWatch Logs to search (all logs streams) for either of the two IP addresses in the log group, for example:
- 10.1.1.1 - server 1
- 10.2.2.2 - server 2
like this:
%10\.1\.1\.1|10\.2\.2\.2%
Simply update this with your server IPs.
See more syntax rules here: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html#matching-terms-events
已回答 8 個月前
Does this work for instance IDs as well?
相關內容
- 已提問 6 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 7 個月前
Thank you very much
You're welcome!