opsgenie / opsgenie-graylog-plugin

OpsGenie Graylog Alarm Callback Plugin
GNU General Public License v2.0
14 stars 10 forks source link

Graylog Show Fields Not Pushing Over to OpsGenie #25

Open goodbar-dev opened 3 years ago

goodbar-dev commented 3 years ago

We have "Show fields" as blank in Graylog, so per the comments we are expecting all fields to push over to ops genie. Looking at the code, it looks like these should populate in the description field, but we are only seeing the the result description, stream and trigger condition. In looking at the code, it's as if it's not passing this line:

if (checkResult.getMatchingMessages().size() > 0) {

However, not sure how to validate what checkResult.getMatchingMessages().size() is?

annakz1 commented 3 years ago

Hi, I'm experiencing the same issue. I'm getting in the Description in Opsgenie the 'Stream: ' and 'Trigger Condition: ' but not the other needed fields ("Matching messages", "Fields" etc.). Please advice how it can be resolved? Thanks