Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.11 KB

sqs.md

File metadata and controls

28 lines (23 loc) · 1.11 KB

SQS input plugin

Status : core plugin, unit tested and maintained.

This plugin is used to get logs from SQS. This plugin use long polling to get messages faster.

Example 1: get messages from the SQS queue sqs.eu-west-1.amazonaws.com/66171255634/test Config using url: input://sqs://sqs.eu-west-1.amazonaws.com/66171255634/test?aws_access_key_id=key&aws_secret_access_key=secret

Config using logstash format:

input {
  sqs {
    aws_queue => "sqs.eu-west-1.amazonaws.com/66171255634/test"
    aws_access_key_id => key
    aws_secret_access_key => secret
  }
}

Parameters :

  • aws_queue: the aws queue url.
  • aws_access_key_id: your AWS Access Key Id. Required.
  • aws_access_key_id: your AWS Access Key Id. Required.
  • aws_secret_access_key: your AWS Secret Access Key Id. Required.
  • polling_delay: the long polling max delay, in seconds. Default value : 10.
  • unserializer: more doc at unserializers. Default value to json_logstash.