Skip to content

Returns the list of log groups that contain log anomalies

Description

Returns the list of log groups that contain log anomalies.

Usage

devopsguru_list_anomalous_log_groups(InsightId, MaxResults, NextToken)

Arguments

  • InsightId

    [required] The ID of the insight containing the log groups.

  • MaxResults

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

  • NextToken

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

Value

A list with the following syntax:

list(
  InsightId = "string",
  AnomalousLogGroups = list(
    list(
      LogGroupName = "string",
      ImpactStartTime = as.POSIXct(
        "2015-01-01"
      ),
      ImpactEndTime = as.POSIXct(
        "2015-01-01"
      ),
      NumberOfLogLinesScanned = 123,
      LogAnomalyShowcases = list(
        list(
          LogAnomalyClasses = list(
            list(
              LogStreamName = "string",
              LogAnomalyType = "KEYWORD"|"KEYWORD_TOKEN"|"FORMAT"|"HTTP_CODE"|"BLOCK_FORMAT"|"NUMERICAL_POINT"|"NUMERICAL_NAN"|"NEW_FIELD_NAME",
              LogAnomalyToken = "string",
              LogEventId = "string",
              Explanation = "string",
              NumberOfLogLinesOccurrences = 123,
              LogEventTimestamp = as.POSIXct(
                "2015-01-01"
              )
            )
          )
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_anomalous_log_groups(
  InsightId = "string",
  MaxResults = 123,
  NextToken = "string"
)