You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the pager duty plugin, there is not enough information in the payload to include extra fields. This change / patch allows for extra information to be placed in the org/graylog/integrations/pagerduty/client/MessageFactory.java class at line 87 - 98
We need this feature very badly. We are currently migrating our alerts from Azure to Graylog and the limitation of not having the fields to include additional info is crippling us. I would like to contribute to this but currently lack documentation on how to set up this project for development. Can you provide me with some documentation? Thank you for your help in advance
Description
When using the pager duty plugin, there is not enough information in the payload to include extra fields. This change / patch allows for extra information to be placed in the org/graylog/integrations/pagerduty/client/MessageFactory.java class at line 87 - 98
What
ImmutableList immutableList = modelData.backlog();
StringBuilder stringBuilder = new StringBuilder();
for (Object objectSummary : immutableList) {
MessageSummary summary = (MessageSummary)objectSummary;
String message = summary.getMessage();
stringBuilder.append(message);
stringBuilder.append("\n");
}
String messageDetails = stringBuilder.toString();
payload.put("custom_details", messageDetails);
Why
Having this custom field allows for clients to publish critical information on the alerts to better route them.
The text was updated successfully, but these errors were encountered: