Skip to content

Get Transformer

cloudwatchlogs_get_transformer R Documentation

Returns the information about the log transformer associated with this log group

Description

Returns the information about the log transformer associated with this log group.

This operation returns data only for transformers created at the log group level. To get information for an account-level transformer, use describe_account_policies.

Usage

cloudwatchlogs_get_transformer(logGroupIdentifier)

Arguments

logGroupIdentifier

[required] Specify either the name or ARN of the log group to return transformer information for. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

Value

A list with the following syntax:

list(
  logGroupIdentifier = "string",
  creationTime = 123,
  lastModifiedTime = 123,
  transformerConfig = list(
    list(
      addKeys = list(
        entries = list(
          list(
            key = "string",
            value = "string",
            overwriteIfExists = TRUE|FALSE
          )
        )
      ),
      copyValue = list(
        entries = list(
          list(
            source = "string",
            target = "string",
            overwriteIfExists = TRUE|FALSE
          )
        )
      ),
      csv = list(
        quoteCharacter = "string",
        delimiter = "string",
        columns = list(
          "string"
        ),
        source = "string"
      ),
      dateTimeConverter = list(
        source = "string",
        target = "string",
        targetFormat = "string",
        matchPatterns = list(
          "string"
        ),
        sourceTimezone = "string",
        targetTimezone = "string",
        locale = "string"
      ),
      deleteKeys = list(
        withKeys = list(
          "string"
        )
      ),
      grok = list(
        source = "string",
        match = "string"
      ),
      listToMap = list(
        source = "string",
        key = "string",
        valueKey = "string",
        target = "string",
        flatten = TRUE|FALSE,
        flattenedElement = "first"|"last"
      ),
      lowerCaseString = list(
        withKeys = list(
          "string"
        )
      ),
      moveKeys = list(
        entries = list(
          list(
            source = "string",
            target = "string",
            overwriteIfExists = TRUE|FALSE
          )
        )
      ),
      parseCloudfront = list(
        source = "string"
      ),
      parseJSON = list(
        source = "string",
        destination = "string"
      ),
      parseKeyValue = list(
        source = "string",
        destination = "string",
        fieldDelimiter = "string",
        keyValueDelimiter = "string",
        keyPrefix = "string",
        nonMatchValue = "string",
        overwriteIfExists = TRUE|FALSE
      ),
      parseRoute53 = list(
        source = "string"
      ),
      parsePostgres = list(
        source = "string"
      ),
      parseVPC = list(
        source = "string"
      ),
      parseWAF = list(
        source = "string"
      ),
      renameKeys = list(
        entries = list(
          list(
            key = "string",
            renameTo = "string",
            overwriteIfExists = TRUE|FALSE
          )
        )
      ),
      splitString = list(
        entries = list(
          list(
            source = "string",
            delimiter = "string"
          )
        )
      ),
      substituteString = list(
        entries = list(
          list(
            source = "string",
            from = "string",
            to = "string"
          )
        )
      ),
      trimString = list(
        withKeys = list(
          "string"
        )
      ),
      typeConverter = list(
        entries = list(
          list(
            key = "string",
            type = "boolean"|"integer"|"double"|"string"
          )
        )
      ),
      upperCaseString = list(
        withKeys = list(
          "string"
        )
      )
    )
  )
)

Request syntax

svc$get_transformer(
  logGroupIdentifier = "string"
)