All Projects → airbus-cyber → graylog-plugin-logging-alert

airbus-cyber / graylog-plugin-logging-alert

Licence: other
Alert notification plugin for Graylog to generate log messages from alerts

Programming Languages

java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
typescript
32286 projects
CSS
56736 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to graylog-plugin-logging-alert

graylog-plugin-collector
Collector plugin for Graylog
Stars: ✭ 13 (-18.75%)
Mutual labels:  graylog, graylog-plugin
Graylog Plugin Slack
Graylog alarm callback for Slack
Stars: ✭ 110 (+587.5%)
Mutual labels:  graylog, alerting
graylog-plugin-pipeline-processor
[DEPRECATED] Graylog Pipeline Message Processor Plugins
Stars: ✭ 21 (+31.25%)
Mutual labels:  graylog, graylog-plugin
graylog-plugin-netflow
[DEPRECATED] Graylog NetFlow plugin
Stars: ✭ 35 (+118.75%)
Mutual labels:  graylog, graylog-plugin
graylog-plugin-aws
Several bundled Graylog plugins to integrate with different AWS services like CloudTrail and FlowLogs.
Stars: ✭ 88 (+450%)
Mutual labels:  graylog, graylog-plugin
Graylog-Plugin-AlertManager-Callback
A plugin for Graylog which provides the possibility to send alerts to the Prometheus AlertManager API.
Stars: ✭ 23 (+43.75%)
Mutual labels:  graylog, graylog-plugin
Graylog2 Images
Ready to run machine images
Stars: ✭ 234 (+1362.5%)
Mutual labels:  graylog
terraform-provider-graylog
Terraform Provider for Graylog
Stars: ✭ 21 (+31.25%)
Mutual labels:  graylog
Graypy
Python logging handler for Graylog that sends messages in GELF (Graylog Extended Log Format).
Stars: ✭ 211 (+1218.75%)
Mutual labels:  graylog
Graylog Docker
Official Graylog Docker image
Stars: ✭ 200 (+1150%)
Mutual labels:  graylog
gatus
⛑ Automated service health dashboard
Stars: ✭ 3,018 (+18762.5%)
Mutual labels:  alerting
NLog.Targets.GraylogHttp
NLog target that pushes log messages to Graylog using the Http input.
Stars: ✭ 17 (+6.25%)
Mutual labels:  graylog
gansoi
👽 Awesome Infrastructure Monitoring and Alerting
Stars: ✭ 31 (+93.75%)
Mutual labels:  alerting
Icinga Vagrant
Vagrant boxes for Icinga 2, Icinga Web 2, modules, themes and integrations (Graphite, InfluxDB, Elastic, Graylog, etc.)
Stars: ✭ 248 (+1450%)
Mutual labels:  graylog
Kickoff Docker Php
🐳 🐘 🚀 Easily setup a PHP project with Docker
Stars: ✭ 213 (+1231.25%)
Mutual labels:  graylog
bonfire
A CLI Graylog Client with Follow Mode
Stars: ✭ 72 (+350%)
Mutual labels:  graylog
Collector Sidecar
Manage log collectors through Graylog
Stars: ✭ 209 (+1206.25%)
Mutual labels:  graylog
siren
Siren provides an easy-to-use universal alert, notification, channels management framework for the entire observability infrastructure.
Stars: ✭ 70 (+337.5%)
Mutual labels:  alerting
Alertmanager
Alertmanager for macOS.
Stars: ✭ 49 (+206.25%)
Mutual labels:  alerting
graylog-plugin-oauth2
Oauth2 plugin for graylog project
Stars: ✭ 16 (+0%)
Mutual labels:  graylog

Logging Alert Plugin for Graylog

Continuous Integration License GitHub Release

Alert notification plugin for Graylog to generate log messages from alerts

The alert notification generate a log message when an alert is triggered.

Perfect for example to record alerts as internal log messages in Graylog itself using the Internal Logs Input Plugin for Graylog. Thus you can create a stream to receive and manage alerts.

Also perfect for example to forward alerts via log messages to a Security Incident Response Platform.

Please also take note that if message field values are included in the log message template and these values vary based on the messages that triggered the alert, then multiple log messages may be generated per alert.

Alert example recorded as an internal log message:

Version Compatibility

Plugin Version Graylog Version
4.2.x 4.3.x
4.1.x 4.2.x
4.0.x 4.1.x
2.2.x 3.3.x
2.1.x 3.2.x
2.0.x 3.2.x
1.3.x 3.0.x
1.2.x 3.0.x
1.1.x 2.5.x
1.0.x 2.4.x

Installation

Download the plugin and place the .jar file in your Graylog plugin directory. The plugin directory is the plugins/ folder relative from your graylog-server directory by default and can be configured in your graylog.conf file.

Restart graylog-server and you are done.

Usage

Configure a notification

First you have to select Logging Alert Notification as the notification type.

Then, in the popup that occurs, you can configure the Title of the notification.

You can configure the Alert Severity. You have the choice between 4 levels of severity.

You can also configure the Log Content to log the information you want. Please see the Graylog Documentation

Some plugin-specific fields values can be added to the log content.

Plugin-specific Fields Description
logging_alert.id ID of the alert
logging_alert.severity Severity of the alert
logging_alert.detect_time Timestamp of the first message that triggered the alert
logging_alert.messages_url URI to the retrieve messages that triggered the alert

The parameter Split Fields allow you to split the alert based on message field values. Thus, a different alert id is generated for each value of one or more message fields.

The parameter Aggregation Time Range allow you to aggregate alerts received in the given number of minutes. Thus, the alerts are logged with the same alert id during the time range.

The parameter Single message allow you to sent only one notification by alert

You can optionally add any Comment about the configuration of the notification.

Make sure you also configured alert conditions for the stream so that the alerts are actually triggered.

Configure the plugin parameters

Click on Configure in the System / Configurations section to update the plugin configuration.

In the popup that occurs, you can configure the default value of the parameters that are set when adding a new notification: Default Alert Severity, Default Log Content and Default Aggregation Time Range.

You can define a Line Break Substitution of the log content in order to help parsing log fields and their values. Thus a separator can be inserted between the fields of the log content.

You can also configure the Alerts Stream. This stream must receive the log messages of alerts to enable the alert aggregation feature. Use the Internal Logs Input Plugin for Graylog for this purpose.

You can also set the Alert ID Field which is the field that is checked to get the alert id in the log messages of the Alerts Stream.

You can optionally define an Overflow Limit. From this given number of log messages per triggered alert, all the following log messages generated by the notification are tagged as overflow. This limit prevents you from forwarding too many log messages per alert to a Security Incident Response Platform by filtering the log messages according to their tag. For this purpose you can choose the name of the tags: Alert Tag and Overflow Tag.

Build

This project is using Maven 3 and requires Java 8 or higher.

  • Clone this repository.
  • Run mvn package to build a JAR file.
  • Optional: Run mvn jdeb:jdeb and mvn rpm:rpm to create a DEB and RPM package respectively.
  • Copy generated JAR file in target directory to your Graylog plugin directory.
  • Restart the Graylog.

License

This plugin is released under version 1 of the Server Side Public License (SSPL).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].