cloudwatchlogs_get_log_group_fields: Returns a list of the fields that are included in log events...

View source: R/cloudwatchlogs_operations.R

cloudwatchlogs_get_log_group_fieldsR Documentation

Returns a list of the fields that are included in log events in the specified log group

Description

Returns a list of the fields that are included in log events in the specified log group. Includes the percentage of log events that contain each field. The search is limited to a time period that you specify.

See https://www.paws-r-sdk.com/docs/cloudwatchlogs_get_log_group_fields/ for full documentation.

Usage

cloudwatchlogs_get_log_group_fields(
  logGroupName = NULL,
  time = NULL,
  logGroupIdentifier = NULL
)

Arguments

logGroupName

The name of the log group to search.

You must include either logGroupIdentifier or logGroupName, but not both.

time

The time to set as the center of the query. If you specify time, the 8 minutes before and 8 minutes after this time are searched. If you omit time, the most recent 15 minutes up to the current time are searched.

The time value is specified as epoch time, which is the number of seconds since ⁠January 1, 1970, 00:00:00 UTC⁠.

logGroupIdentifier

Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must specify the ARN.

You must include either logGroupIdentifier or logGroupName, but not both.


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.