# fluent-plugin-sqs-poll
fluent input plugin poll data from AWS SQS
## Install
```bash
gem install fluent-plugin-sqs-poll
```
## IMPORTANT
**SQS Poll uses AWS SDK v2, it will cause conflict with other AWS plugins
that uses v1 version 'aws-sdk' gem. It will however be compatible with AWS
plugins that uses 'aws-sdk-v1' gem.**
## Configuration
If either **aws_access_key** or **aws_secret_key** is missing, it will automatically
fall back to use IAM role for access control.
```
```
## Usage
When messages are pulled off SQS queue, it's stored in key **body** of the
emmitted output. If your SQS message is in a known format, you probably want to
use in conjunction with **fluent-plugin-parser**. For example, if your message
from SQS is in JSON format, then you would want to do:
```
type parser
remove_prefix sqs
format json
key_name body
```