Problem with logstash input kinesis plugin while reading data from the stream

Hi all..

I am trying to access kinesis stream i mean to read data from the stream

here is my conf

input
{
kinesis {
    application_name => "logstash"
    kinesis_stream_name => "apple"
    region => "xxxxxx"
    codec => "json"
}
}
output
{
 stdout { codec => rubydebug }
  }

I am getting the below error...don't understand why is it so

Dec 15, 2017 5:45:48 PM com.amazonaws.services.kinesis.clientlibrary.lib.worker.InitializeTask call
SEVERE: Caught exception: 
com.amazonaws.services.kinesis.model.InvalidArgumentException: StartingSequenceNumber 495788662778xxxxxxxxxxxxxxxxxxxxxx used in GetShardIterator on shard shardId-000000000003 in stream apple under account xxxxxxxxxxx is invalid because it did not come from this stream. (Service: AmazonKinesis; Status Code: 400; Error Code: InvalidArgumentException; Request ID: fe38e3xxxxxxxx)

please help me to overcome the above issue

Thank You.

Moved to #logstash

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.