GithubHelp home page GithubHelp logo

Comments (8)

fbaligand avatar fbaligand commented on June 2, 2024

Actually, since version 2.4.0, if taskid pattern is not the same, aggregate map is not shared.
If you want sharing, you have to use the same taskid pattern so have to keep same value in same field name

from logstash-filter-aggregate.

mrchang7 avatar mrchang7 commented on June 2, 2024

Okay, I see. Then I will try to following the rule. It would be nicer to have that in the document. Currently, it says for the task_id, "This value must uniquely identify the task in the system."

Thanks for your quick help!

from logstash-filter-aggregate.

fbaligand avatar fbaligand commented on June 2, 2024

You are right.
I have to explain it in documentation.

That said, I truly think you should use version 2.3.1 :

  • in this version, aggregate maps are nicely stored to configured path at shutdown
  • and there is not this "new behavior" which annoy you.

from logstash-filter-aggregate.

mrchang7 avatar mrchang7 commented on June 2, 2024

As I made the patterns the same even with the field names, it worked as before. Can I ask why you made this change? Wondering.. the value of task_id should matter if the map keeps based on it.

Thanks!

from logstash-filter-aggregate.

mrchang7 avatar mrchang7 commented on June 2, 2024

The problem using 2.3.1 is we have multiple task_id's and like to set different time_out values to them.

from logstash-filter-aggregate.

fbaligand avatar fbaligand commented on June 2, 2024

To allow this new 2.4 feature (timeout options per task id pattern), I had to tie aggregate maps to their taskid pattern ; so that timeout management for one task id pattern process only associated aggregate maps.

from logstash-filter-aggregate.

mrchang7 avatar mrchang7 commented on June 2, 2024

That makes sense. Thanks!

from logstash-filter-aggregate.

fbaligand avatar fbaligand commented on June 2, 2024

@mrchang7
As it was a simple question, and the question is answered, could you close this issue ?

from logstash-filter-aggregate.

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.