By using AWS re:Post, you agree to the Terms of Use

FilterLogEventsRequest java sdk


I'm using the java sdk to filter cloudwatch logs

FilterLogEventsRequest filterLogEventsRequest = FilterLogEventsRequest.builder() .logGroupName(logGroupName) .startTime(startTime) .endTime(endTime) .filterPattern() .build();

But i cannot get the correct format for the filter pattern since i'm trying to filter logs with urls such as http://someurl/someParameters/someOther and i would like to get all those message that contains /someParameters/someOther for instance

Thanks in advance

asked 6 months ago16 views