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?
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
Thank you very much
You're welcome!