log_events: Log events

Description Usage Arguments Details

Description

Get and create log events

Usage

1
2
3
create_log_events(name, stream, events, token, ...)

get_log_events(name, stream, start, end, ascending, n, token, ...)

Arguments

name

A character string specifying a log group name.

stream

A character string specifying a log stream name.

events

This is a list of two-element lists, where each list contains a character string named message and a unix epoch time in milliseconds (e.g., list(message = "hello world!", timestamp = 1)).

token

A pagination token.

...

Additional arguments passed to cloudwatchHTTP.

start

Unix epoch time in milliseconds.

end

Unix epoch time in milliseconds.

ascending

A logical specifying whether earliest events should be returned first. Default is implicitly FALSE.

n

The maximum number of records to return.

Details

get_log_events retrieves event data. create_log_events adds event data to the log.


cloudyr/aws.cloudwatch documentation built on Jan. 14, 2020, 4:54 a.m.