Amazon.CloudWatchLogs.AmazonCloudWatchLogsClient.FilterLogEvents C# (CSharp) Method

FilterLogEvents() public method

Lists log events from the specified log group. You can list all the log events or filter the results using a filter pattern, a time range, and the name of the log stream.

By default, this operation returns as many log events as can fit in 1MB (up to 10,000 log events), or all the events found within the time range that you specify. If the results include a token, then there are more log events available, and you can get additional results by specifying the token in a subsequent call.

/// A parameter is specified incorrectly. /// /// The specified resource does not exist. /// /// The service cannot complete the request. ///
public FilterLogEvents ( FilterLogEventsRequest request ) : FilterLogEventsResponse
request Amazon.CloudWatchLogs.Model.FilterLogEventsRequest Container for the necessary parameters to execute the FilterLogEvents service method.
return Amazon.CloudWatchLogs.Model.FilterLogEventsResponse
        public FilterLogEventsResponse FilterLogEvents(FilterLogEventsRequest request)
        {
            var marshaller = new FilterLogEventsRequestMarshaller();
            var unmarshaller = FilterLogEventsResponseUnmarshaller.Instance;

            return Invoke<FilterLogEventsRequest,FilterLogEventsResponse>(request, marshaller, unmarshaller);
        }
AmazonCloudWatchLogsClient