Questions tagged [gelf]

The Graylog Extended Log Format (GELF) is a log format.

The Extended Log Format (GELF) is a log format that avoids the shortcomings of classic plain syslog:

  • Limited to length of 1024 bytes – Not much space for payloads like backtraces
  • No data types in structured syslog. You don’t know what is a number and what is a string.
  • The RFCs are strict enough but there are so many syslog dialects out there that you cannot possibly parse all of them.
  • No compression

There are a number of software libraries that can be used to produce logs in GELF, e.g. .

Links:

87 questions
0
votes
1 answer

Using log4j2 gelflayout, is there a way to suppress adding the underscore in the final payload

We are trying to set a custom field but the GelfLayout with log4j seems to inject an under score when using the Key Value configuration. Is there a way to override that. Here is the configuration:
Berlin Brown
  • 11,504
  • 37
  • 135
  • 203
0
votes
1 answer

Logs not appearing in Graylog

I made an application yesterday and wanted to log the messages in Graylog and for that, I followed the instructions of https://quarkus.io/guides/centralized-log-management, installed a Graylog instance on a remote server and configured my…
Daniel W.
  • 71
  • 7
0
votes
1 answer

Create dynamic indexes in Logstash with the Gelf logback appender

I'm using logback for logging together with biz.paluch.logging.gelf.logback.GelfLogbackAppender. I have 3 services running currently and I want 2 of them to have the output in logstash as logstash-ingest and the other one as…
Alex P.
  • 3,073
  • 3
  • 22
  • 33
0
votes
1 answer

How to run GELF Extension logger?

I run the sample for NET Core: [https://github.com/mattwcole/gelf-extensions-logging/blob/dev/samples/Gelf.Extensions.Logging.Samples.NetCore2/Program.cs][1] Then I have ran…
ZedZip
  • 5,794
  • 15
  • 66
  • 119
0
votes
1 answer

Send GELF messages via HTTP to Logstash

I am trying to send GELF messages (via HTTP client) to Logstash. The logstash.conf file looks like this: input { gelf { use_tcp => true } } output { elasticsearch { hosts => ["10.32.0.80:9200"] } } In Grafana, the log is displayed like…
user7335295
  • 401
  • 2
  • 7
  • 31
0
votes
0 answers

Visualize GELF log messages using Grafana

Setup: I have a data source which logs GELF formatted messages to logstash. Logstash is then feeding ElasticSearch the logs. Furthermore, I would like to visualize the logs within a Grafana instance. The logstash.conf looks like follows: input { …
user7335295
  • 401
  • 2
  • 7
  • 31
0
votes
1 answer

uvicorn suppresses python's syslog for gelf driver

I have a docker container running logging with gelf to a logging instance via udp -- all fine! The container is based on Ubuntu 18 where rsyslog is running as a service, which works well. Inside the container is a FastAPI application running with…
programmar
  • 594
  • 6
  • 19
0
votes
1 answer

Logback and Graylog cannot communicate on a Mac using syslog

I want to send logmessages from a Java application to Graylog, using slf4j on top of logback with a logback GELF-appender on one side and a Graylog GELF-input on the other. To test it, i'm running Graylog in a Docker container (using Docker for Mac)…
HaBa
  • 105
  • 1
  • 7
0
votes
1 answer

Unable to add Gelf config file into Azure function app

I'm trying to setup a Gelf logger in azure function. I'm currently using this logger and trying to add a nlog.config file. I managed to create the file but unable to edit it, does anyone know why?
Eugene
  • 1,013
  • 1
  • 22
  • 43
0
votes
1 answer

fluentd gelf plugin parameters setting

Can someone explain me what each of this means? I tried a lot of search on google but can't get to it. These values are populated in my helmfile dry-run in configmap but I need to know what they are. I am interested in know each of these as to what…
AhmFM
  • 1,552
  • 3
  • 23
  • 53
0
votes
1 answer

How to extend log4j2 gelf appender (biz.paluch.logging) to add a custom GelfSender

I have a log4j2 gelf appender in a Spring Boot project configured in log4j2-spring.xml: