Code Monkey home page Code Monkey logo

fluent-plugin-sqs's Introduction

Amazon SQS output plugin for Fluent

Install

$ gem install fluent-plugin-sqs

Component

SQSOutput

Store fluent-event as queue message to amazon SQS.

SQSInput

Read events from from amazon SQS.

Configuratin

SQSOutput

<match sqs.**>

  type sqs

  # following attibutes are required

  queue_name {queue_instance_key}

  # following attibutes are required if you don't use IAM Role nor export credentials to ENV

  aws_key_id {your_aws_key_id}
  aws_sec_key {your_aws_secret_key}

  # following attibutes are optional
 
  create_queue {boolean}
  sqs_endpoint {endpointURL}

  ### endpoint list ###
  # Asia Pacific (Tokyo) [Default] : sqs.ap-northeast-1.amazonaws.com
  # Asia Pacific (Singapore)       : sqs.ap-southeast-1.amazonaws.com
  # US-East (Virginia)             : sqs.us-east-1.amazonaws.com
  # US-West (Oregon)               : sqs.us-west-2.amazonaws.com
  # US-West (N.California)         : sqs.us-west-1.amazonaws.com
  # EU-West (Ireland)              : sqs.eu-west-1.amazonaws.com
  # South America (São Paulo)      : sns.sa-east-1.amazonaws.com

  delay_seconds {delivery_delay_seconds}

  include_tag {boolean}
  tag_property_name {tag's property name in json}

</match>

SQSInput

<source>

  type sqs

  # following attibutes are required

  sqs_url {queue_url}

  # following attibutes are required if you don't use IAM Role nor export credentials to ENV

  aws_key_id {your_aws_key_id}
  aws_sec_key {your_aws_secret_key}

  # following attibutes are optional
 
  sqs_endpoint {endpointURL}

  ### endpoint list ###
  # Asia Pacific (Tokyo) [Default] : sqs.ap-northeast-1.amazonaws.com
  # Asia Pacific (Singapore)       : sqs.ap-southeast-1.amazonaws.com
  # US-East (Virginia)             : sqs.us-east-1.amazonaws.com
  # US-West (Oregon)               : sqs.us-west-2.amazonaws.com
  # US-West (N.California)         : sqs.us-west-1.amazonaws.com
  # EU-West (Ireland)              : sqs.eu-west-1.amazonaws.com
  # South America (São Paulo)      : sns.sa-east-1.amazonaws.com

  receive_interval {receive_interval_seconds}

  max_number_of_messages {max_number_of_messages}

  wait_time_seconds {receive_message_wait_time_seconds}

</source>

Tool

Copyright

Copyright © 2011- Yuri Odagiri

License

Apache License, Version 2.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.