DPDK Architecture  ->  Bootstrap (v3.0.5)

Graylog
>= v2.10.0

Graylog provides a way to log messages in a centralized way.
This connector allows you to send messages from the backend to a Graylog instance in the GELF format.

GELF Reference Documentation: https://docs.graylog.org/en/4.0/pages/gelf.html

Please note this module is disabled by default!

Config
>= v2.11.0

Below is the default application config for the graylog module:

{
  "graylog": {
    "enabled": false,
    "host": "log.dpdk.com",
    "port": 12201,
    "project_name": "",
    "project_env": "local",
    "middleware": false
  }
}

Usage
>= v2.10.0

const bootstrap = new NextBootstrap(__dirname, process.cwd(), nextConfig);

// Arguments: message, severity, payload
bootstrap.graylog.send("Something went wrong", "error", {
    "arg1": "test",
    "arg2": "test"
});

Additional Graylog Documentation: https://docs.graylog.org/en/4.0/index.html

Last modifiedMonday, July 5, 2021, 1:59:44 PM UTC
Last authorGlenn de Haan
Commit IDa09e214