We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we add in custom fields with custom information to allow for more details on the message.
MessageFactory. has a map called payload, can we do something this?
Map<String, String> payload = new HashMap<String, String>(); payload.put("summary", modelData.event().message()); payload.put("source", "Graylog:" + modelData.event().sourceStreams()); payload.put("severity", eventPriority); payload.put("timestamp", modelData.event().eventTimestamp().toString()); payload.put("component", "GraylogAlerts"); payload.put("group", modelData.event().sourceStreams().toString()); payload.put("class", "alerts"); payload.put("details", customDetailsMap.toString());
This will help with event alerting
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Can we add in custom fields with custom information to allow for more details on the message.
What
MessageFactory. has a map called payload, can we do something this?
Why
This will help with event alerting
The text was updated successfully, but these errors were encountered: