Giter Site home page Giter Site logo

Comments (9)

cdenneen avatar cdenneen commented on June 30, 2024 3

@codekitchen @robbavey can anyone tackle adding the dynamodb alternative to sincedb to this input?

from logstash-input-s3.

jpuskar avatar jpuskar commented on June 30, 2024 1

The kinesis plugin uses a dynamodb row that just assigns different data streams to different logstash instances.

https://github.com/logstash-plugins/logstash-input-kinesis

This isn't the most efficient method, but for deployments with logstash-as-cattle, this type of implementation at least moves the plugin from: "we can't use it", to, "okay this will work".

from logstash-input-s3.

alangalvino avatar alangalvino commented on June 30, 2024

Any update on this?

from logstash-input-s3.

joshuaspence avatar joshuaspence commented on June 30, 2024

+1

from logstash-input-s3.

webmstr avatar webmstr commented on June 30, 2024

Happy one-year anniversary.

from logstash-input-s3.

jordansissel avatar jordansissel commented on June 30, 2024

Logstash currently has no mechanism for internode coordination (two logstash nodes coordinating work efforts), and my best guess is that we would need a coordination mechanism in order to achieve what is proposed in this issue. The one external system that this input knows about is S3, and as far as I can tell, S3 can't be used for coordination because it lacks atomic operations that could make coordination possible.

At this time, I don't' have a solution, so this issue will wait until someone can come up with a solution that other S3 input users find agreeable.

from logstash-input-s3.

cdenneen avatar cdenneen commented on June 30, 2024

If the sincedb path was added to a shared source would logstash honor that it would there be collisions?
I think if we can't do proper locking the only other option would be to use some other external source as sincedb to enable coordination mechanism. So whether for file or s3 inputs the external resource would handle managing which broker grabs which file.
Extending the sincedb logic would only suggestion I could think of to enable making inputs like this redundant across multiple brokers.
Seems like a large under taking if someone wants to suggest some plugable options (mongo, dynamo, db, etc)

from logstash-input-s3.

nunofernandes avatar nunofernandes commented on June 30, 2024

Yeah.. that would be awesome to change the sincedb to an "outside" system so that we can treat s3-input as cattle.

from logstash-input-s3.

evanvin avatar evanvin commented on June 30, 2024

we've thought about utilizing EFS to achieve this, but for the time being, we settled on just boosting our logstash workers/mem/cpu/batch.size. But we need more.

UPDATE:
we will be trying out the logstash-input-s3-sns-sqs plugin for (if we can get it to work with out system) this should allow us to horizontally without worrying about the same files being processed per new container

from logstash-input-s3.

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.