Git Product home page Git Product logo

Comments (8)

joshzitting avatar joshzitting commented on August 19, 2024

@javiermatos What versions of logstash is this tested with?

from logstash-output-sentry.

javiermatos avatar javiermatos commented on August 19, 2024

Hi there @joshzitting, I am sorry but I had no time for your question. I tried my code with Logstash 1.x and maybe 2.0, but I did not try it with any newer version. My sentry version was 7.x, but I think it has nothing to do with sentry itself.

I will try to reproduce your scenario this weekend and find what's going on.

from logstash-output-sentry.

joshzitting avatar joshzitting commented on August 19, 2024

@javiermatos Aweseome! thanks!

from logstash-output-sentry.

javiermatos avatar javiermatos commented on August 19, 2024

Hi again @joshzitting. No input, filter or output module is responsible for "interpolating a dynamic config". Logstash is responsible for doing substitutions, so if you do level_tag => "%{sentry_severity}", then Logstash will pass the value of sentry_severity variable to level_tag.

Can you try to simplify your configuration to a minimal case so you can find which step is failing? I mean, I have seen you have defined sentry_severity and [sentry_severity] fields, and sometimes you apply mutate gsub to one or the other. Lastly, you are using level_tag => "%{sentry_severity}" in output but you have added this [sentry_severity] field previously.

Maybe you can try to replace level_tag => "%{sentry_severity}" with level_tag => "%{severity}" and see what happens on Sentry. Can you do this last thing and tell me what you get on Sentry?

from logstash-output-sentry.

joshzitting avatar joshzitting commented on August 19, 2024

well I tried a handful of things and still cannot get it to send the right data.. so I made a ticket in logstash. https://discuss.elastic.co/t/string-interpolation-failing-in-event-dependent-config/50768
Thanks.

from logstash-output-sentry.

wiibaa avatar wiibaa commented on August 19, 2024

@joshzitting this plugin is not ready to take this value dynamically from the event
@javiermatos please see #2

from logstash-output-sentry.

javiermatos avatar javiermatos commented on August 19, 2024

Hey @joshzitting and @wiibaa, I have merged your code and now it is on rubygems.org to download.

Thank you for your help.

from logstash-output-sentry.

joshzitting avatar joshzitting commented on August 19, 2024

Thanks for the merge!

from logstash-output-sentry.

Related Issues (8)

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.