Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.16 KB

README.md

File metadata and controls

49 lines (35 loc) · 1.16 KB

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