Skip to content

Initial import behaviour #118

@calve

Description

@calve

Hi there,

I am wondering what is the behaviour of this plugin on first run.

Looking at the code, it looks like the plugin will fetch every possible file in the s3 bucket if no sincedb can be found

return Time.new(0)

I dont want logstash-input-s3 to pull the entire bucket has it contains tons of data. Is there a way to start #parsing files from a specific date ? (ideally, from now)

I was thinking of invoking ruby -e "puts Time.now()" > $SINCEDB_PATH before the first run. What do you think of it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions