fluent-plugin-lambda-ext
Output plugin for AWS Lambda.
This is a fork of fluent-plugin-lambda
Installation
$ gem install fluent-plugin-lambda-ext(not exists yet)
Configuration
<match lambda.**>
type lambda
#profile ...
#credentials_path ...
#aws_key_id ...
#aws_sec_key ...
region us-east-1
#endpoint ...
#qualifier staging
function_name my_func
# Set 'group_events' true for making batch requests
#group_events true
# Pass the function name in the key of record if the function name is not set
# include_time_key false
# include_tag_key false
</match>
Usage
When the function name is set:
echo '{"key":"value"}' | fluent-cat lambda.foo
When the function name is not set:
echo '{"function_name":"my_func", "key":"value"}' | fluent-cat lambda.bar