Comments (8)
@javiermatos What versions of logstash is this tested with?
from logstash-output-sentry.
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.
@javiermatos Aweseome! thanks!
from logstash-output-sentry.
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.
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.
@joshzitting this plugin is not ready to take this value dynamically from the event
@javiermatos please see #2
from logstash-output-sentry.
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.
Thanks for the merge!
from logstash-output-sentry.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logstash-output-sentry.