FilterLogEventsRequest java sdk

0

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

Jbazzo
posta 2 anni fa60 visualizzazioni
Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande