Questions tagged [graylog]

Graylog is an integrated Open Source log capture and analysis solution for operational intelligence.

Graylog is an integrated log capture and analysis solution for operational intelligence.

Non Graylog-authored components include MongoDB for metadata and Elasticsearch for log file storage and text search.

Basically is a server that collect log messages and provide an interface for analysis and monitoring

Architectural view

Messages (logs) are only stored in Elasticsearch. If we have data loss on Elasticsearch, the messages are gone.

MongoDB is only storing meta information and will be abstracted with a general database layer in future versions. This will allow you to use other databases like MySQL instead.

321 questions
1
vote
1 answer

Unable to get log messages from GELF appender (graylog) - spring

Graylog web page is running as below: Following the documentation for spring boot: graylog-springboot However, nothing shows in the result. Could you Please advise me if you know what im doing wrong. I have created log4j.xml file as…
gippo
  • 39
  • 5
1
vote
1 answer

Graylog docker installation, /api/api-browser/ page not showing

I installed the default graylog docker installation as the graylog documentation suggests. I just change the graylog version to 4.3.5. Here is my docker-compose.yml file: version: '3.1' services: # MongoDB: https://hub.docker.com/_/mongo …
iBener
  • 469
  • 6
  • 18
1
vote
2 answers

JSON Extractor stops messages from showing up in graylog input

I have an nginx access_log Input that receives logs in json format. I have been trying to get the JSON Extractors working but to no avail. Firstly, I was following this official Graylog tutorial: https://www.graylog.org/videos/json-extractor This is…
1
vote
0 answers

Graylog causes an exception - Message is invalid: short-message not set

Tools & env: php 8.0, laravel 9, docker alpine 3.15, gelf logger package I'm trying to set up graylog for my laravel project. Everything looks ok, but every time it does write logs, it actually writes 2 logs -> the log itself and this error…
devnull Ψ
  • 3,779
  • 7
  • 26
  • 43
1
vote
2 answers

Serilog with Graylog not logging

I have a Web API and I'm trying to log messages into Graylog, using Serilog. Now matter what I do, no messages are shown in my Graylog application. This is what I have so far: This is in my Program.cs var logger = new LoggerConfiguration(). …
Katia S.
  • 197
  • 2
  • 13
1
vote
0 answers

Missing zero byte (\0) character at end of GELF TCP message from docker container's gelf driver

We are using Logback for our Spring boot microservice and pushing logs to graylog using docker logging driver - gelf. We have configured the logging driver to use tcp route to push logs to graylog as the same can be reliable over udp. From the…
sportymsk
  • 43
  • 1
  • 8
1
vote
1 answer

How do I configure Graylog to send Notifications (not Alerts!) via mail?

There are many answers as to how to make email alerts, but I am not interested in those. Instead, I am interested in the kind of 'admin' notifications I get shown in the web interface - things like a node being out of space, or Graylog being an…
Torque
  • 3,319
  • 2
  • 27
  • 39
1
vote
1 answer

Docker logs with log-driver

I am running a new container using the following command: docker run -d --log-driver=gelf --log-opt gelf-address=tcp:// nginx Looking at the documentation, this should send the logs to my_log_server, and if I run the docker logs…
Federico Bellini
  • 365
  • 1
  • 7
  • 18
1
vote
1 answer

How to forward logs from docker container to Graylog server without pre-formatting?

I have a Docker container that sends its logs to Graylog via udp. Previously I just used it to output raw messages, but now I've come up with a solution that logs in GELF format. However, Docker just puts it into "message" field (screen from Graylog…
1
vote
1 answer

How to send logs to GrayLog from T-SQL procedures?

I can send logs to log collectors from C# applications using log4net+GELF appender. But how to send logs to GrayLog from T-SQL procedures? There are code: WinForms app works fine, I run it on the same machine where SQL Server installed. I see all…
ZedZip
  • 5,794
  • 15
  • 66
  • 119
1
vote
2 answers

How to make graylog 4 and elasticticsearch 7 working with docker compose

I am trying to make local setup of graylog 4 with elasticsearch 7 and mongo 4 using docker-compose. I am working on mac. Here is my docker-compose.yml: https://gist.github.com/gandra/dc649b37e165d8e3fc5b20c30a8b5a79 After running: docker-compose up…
gandra404
  • 5,727
  • 10
  • 52
  • 76
1
vote
2 answers

Graylog alerting on specific log occurrence

I have a question on how does one set up an email alert, when a certain error in found in the logs. So basicly i have this sort of error : org.postgresql.util.PSQLException: ERROR: missing FROM-clause entry for table "something". Now when this…
Mairold Kunimägi
  • 125
  • 1
  • 1
  • 10
1
vote
1 answer

Got error "We are experiencing problems connecting to the Graylog server running on http://127.0.0.1:9000/api/. " in Graylog?

I tried to install Graylog service and followed the instructions below in the tutorial. Here is the official documentation : https://docs.graylog.org/en/4.0/pages/installation/os/ubuntu.html But after installed I get the following message on the…
Madura Dissanayake
  • 8,309
  • 5
  • 25
  • 34
1
vote
0 answers

search for messages where two fields have the same value

I am trying to compare two fields a tmestamp and last changed which are both unix timestamps. If they are both the same show me those results of messages found Following the example in the post below I did…
Warren Paul
  • 56
  • 1
  • 5
1
vote
1 answer

How to send log by Log4j2 to Graylog?

I'm trying to integrate a java application with a graylog server on the docker. but I'm not able to send messages from my application to graylog, can someone help me? Here is my Docker Run: $ docker run --name mongo -d mongo:3 $ docker run --name…