Skip to content

Get Log Fields

cloudwatchlogs_get_log_fields R Documentation

Discovers available fields for a specific data source and type

Description

Discovers available fields for a specific data source and type. The response includes any field modifications introduced through pipelines, such as new fields or changed field types.

Usage

cloudwatchlogs_get_log_fields(dataSourceName, dataSourceType)

Arguments

dataSourceName

[required] The name of the data source to retrieve log fields for.

dataSourceType

[required] The type of the data source to retrieve log fields for.

Value

A list with the following syntax:

list(
  logFields = list(
    list(
      logFieldName = "string",
      logFieldType = list(
        type = "string",
        element = list(),
        fields = list()
      )
    )
  )
)

Request syntax

svc$get_log_fields(
  dataSourceName = "string",
  dataSourceType = "string"
)