Giter Site home page Giter Site logo

Comments (7)

lukewaite avatar lukewaite commented on July 17, 2024

Hi @danielmcquillen - yes, perhaps clearer documentation is in order.

As it currently stands, start_position is only respected if there is no entry for a given log group in your sincedb.

This allows you to specify how "newly seen" log groups will begin ingesting (from the start, from the end, or via a step-back from the current time).

The default, if you do not specify a start_position, when it sees a new log group, is to start from the first entry in the log group, and work forward. This will update your since-db as it ingests, and subsequent start-ups of ingestion on this log-group will work from the since-db's start point, ignoring the start_position parameter.

Does this clear things up?

from logstash-input-cloudwatch-logs.

danielmcquillen avatar danielmcquillen commented on July 17, 2024

Hi @lukewaite . Ok cool. So if at anytime I want to completely reload everything, I need to remove sincedb. Is that right?

from logstash-input-cloudwatch-logs.

lukewaite avatar lukewaite commented on July 17, 2024

from logstash-input-cloudwatch-logs.

mikejr83 avatar mikejr83 commented on July 17, 2024

Does the path for sincedb need to be created prior to run? At the moment I'm using the default but am not seeing any logs or the .sincedb being created.

from logstash-input-cloudwatch-logs.

kabinfh avatar kabinfh commented on July 17, 2024

Hello @lukewaite

While trying to set start_position => 86400, it is not getting data from one day past.

How can I only ask for today data and onwards from CW data to input into logstash?

Thanking u in advance...

It is super important for me to setup as old data are too big to move and we dont need as well

from logstash-input-cloudwatch-logs.

william-amaral avatar william-amaral commented on July 17, 2024

Is there any solution for it? I have the same question of @kabinfh
start_position seems not work

from logstash-input-cloudwatch-logs.

jeyakumar8 avatar jeyakumar8 commented on July 17, 2024

@lukewaite
Thanks for this awesome plugin.
I also have the same question as of @kabinfh

The logstash pipeline seems to be pulling very older logs even though the start_position => 86400 set.

Is there any work around for this?

Thanks in advance!!

from logstash-input-cloudwatch-logs.

Related Issues (20)

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.