News KrakenD CE v2.6 released with OpenTelemetry

Community Documentation

Recent changes

You are viewing a previous version of KrakenD Community Edition (v1.3) , go to the latest version

Graylog and the GELF format

Document updated on Sep 15, 2019

KrakenD supports sending structured events in GELF format to your Graylog Cluster thanks to the krakend-gelf integration.

The setup of GELF is straightforward and requires only to set two parameters:

  • address: The address (including the port) of your Graylog cluster (or any other service that receives GELF inputs).
  • enable_tcp: Set to false (recommended) to use UDP. When using TCP performance might be affected.

Enabling GELF

Add the krakend-gelf integration in the root level of your krakend.json, inside the extra_config section. The gologging needs to be enabled too.

For instance:

"extra_config": {
  "github_com/devopsfaith/krakend-gelf": {
    "address": "myGraylogInstance:12201",
    "enable_tcp": false
  }
  "github_com/devopsfaith/krakend-gologging": {
      "level": "INFO",
      "prefix": "[KRAKEND]",
      "syslog": false,
      "stdout": true
  }
}
Scarf

Unresolved issues?

The documentation is only a piece of the help you can get! Whether you are looking for Open Source or Enterprise support, see more support channels that can help you.

We use cookies to understand how you use our site and to improve your overall experience. By continuing to use our site, you accept our Privacy Policy. More information