Skip to content

VAveryanov8/fluent-plugin-lambda-ext

 
 

Repository files navigation

fluent-plugin-lambda-ext

Output plugin for AWS Lambda.

Gem Version Build Status

This is a fork of fluent-plugin-lambda

Installation

$ gem install fluent-plugin-lambda-ext

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

About

Output plugin for AWS Lambda.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%