CloudWatch Logs
Kubemq cloudwatch-logs target connector allows services using kubemq server to access aws cloudwatch-logs service.
Prerequisites
The following required to run the aws-cloudwatch-logs target connector:
kubemq cluster
aws account with cloudwatch-logs active service
some action will need cloudwatch-logs permission (IAM User)
kubemq-source deployment
Configuration
cloudwatch-logs target connector configuration properties:
Properties Key
Required
Description
Example
aws_key
yes
aws key
aws key supplied by aws
aws_secret_key
yes
aws secret key
aws secret key supplied by aws
region
yes
region
aws region
token
no
aws token ("default" empty string
aws token
Example:
Usage
Create log Stream
create a new log stream
Create log Stream:
Metadata Key
Required
Description
Possible values
method
yes
type of method
"create_log_event_stream"
log_stream_name
yes
aws log stream name
"string"
log_group_name
yes
aws log group name
"string"
Example:
Describe log Stream
describe a selected log stream by group_name
Describe log Stream:
Metadata Key
Required
Description
Possible values
method
yes
type of method
"describe_log_event_stream"
log_group_name
yes
aws log group name
"string"
Example:
Delete log Stream
delete log stream
Delete log Stream:
Metadata Key
Required
Description
Possible values
method
yes
type of method
"delete_log_event_stream"
log_stream_name
yes
aws log stream name
"string"
log_group_name
yes
aws log group name
"string"
Example:
Get log Event
get log event
Get log Stream:
Metadata Key
Required
Description
Possible values
method
yes
type of method
"get_log_event"
log_stream_name
yes
aws log stream name
"string"
log_group_name
yes
aws log group name
"string"
Example:
Create Log Event Group
create a new log event group
Create Log Event Group:
Metadata Key
Required
Description
Possible values
method
yes
type of method
"create_log_group"
log_group_name
yes
aws log group name
"string"
data
no
aws tags
key value pair string string
Example:
Put Log
put a log in log stream
Put Log Event:
Metadata Key
Required
Description
Possible values
method
yes
type of method
"put_log_event"
log_stream_name
yes
aws log stream name
"string"
log_group_name
yes
aws log group name
"string"
sequence_token
yes
aws stream sequence token
"string"
data
yes
key value pair of int-string int-time - string-Message
"string"
Example:
Describe Log Event Group
describe log event group
Describe Log Event Group:
Metadata Key
Required
Description
Possible values
method
yes
type of method
"describe_log_group"
log_group_prefix
yes
aws log group prefix
"string"
Example:
Delete Log Event Group
delete log event group
Delete Log Event Group:
Metadata Key
Required
Description
Possible values
method
yes
type of method
"delete_log_group"
log_group_name
yes
aws log group name
"string"
Example:
Last updated