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.

248 questions
8
votes
1 answer

Creating a serilog file sink later at runtime - how?

I use Serilog on the server side for all my .NETCore services using console, file and Graylog sinks. I also like to use it in my Windows fat clients (WPF applications). With the latter I have a problem since I do not see, how I can add another file…
ThommyB
  • 1,186
  • 11
  • 22
8
votes
1 answer

What's the best practice to send logs to graylog from a JVM application which runs within a docker container?

I'm using graylog as central logging server and i'm using a gelf log4j2-appender to send the log messages to graylog. This works fine. Now i created a docker image of my application and i'm able to run my software as docker container. Using docker i…
whitenexx
  • 1,310
  • 1
  • 22
  • 52
7
votes
1 answer

Graylog vs Fluentd

Out of available open source log management tools, I have come across these two but couldn't figure out which one to use. I tried searching articles for Graylog vs Fluentd but couldn't find. Could someone suggest which one would be good for the…
baig62
  • 159
  • 1
  • 7
6
votes
2 answers

Docker Gelf driver custom fields

I can see in Docker documentation: https://docs.docker.com/config/containers/logging/gelf/ In GELF, every log message is a dict with the following fields: ... any custom fields you configure yourself Does it mean that this driver support custom…
Piotr Kozlowski
  • 849
  • 1
  • 11
  • 24
5
votes
4 answers

How to manually purge data from Graylog 2.1

I have a Graylog 2.1 server that has been running for some time. I hadn't paid attention to my retention rate recently and came in this morning to find Graylog partially crashed because the disk was out of space. Nearly 100% of the disk space is…
Ben Sooter
  • 157
  • 1
  • 2
  • 11
5
votes
1 answer

Finding values that are causing NaN for Mean statistic function in Graylog2

I have a simple request log where each record has an execution time in seconds, under exec_time property. It should always be a number (lower the better). Based on that property I have dashboard widget that shows its Mean value and it was working…
Ilija
  • 3,630
  • 4
  • 30
  • 45
5
votes
1 answer

Docker & Graylog

I've been installing the last version of Docker (1.8). This new version is great because you can set a particular log-driver to send the log to Graylog2 (for example). Here's the blog post from docker : Docker Blog announcing 1.8 Here's the…
Mathieu
  • 275
  • 2
  • 9
4
votes
1 answer

How to configure Graylog Plugin on bootstrap (non interactive)?

I setup a Graylog server based on the official Graylog 3 Docker image and added the SSO plugin. In principle it works but I have to configure the SSO headers using the UI after each container start. I see the options to configure Graylog itself…
Arne Burmeister
  • 18,467
  • 8
  • 50
  • 89
4
votes
0 answers

Graylog - Failed to write to socket: fwrite(): send of 136 bytes failed with errno=111 Connection refused (8)

I am getting this error when log alert with Gelf logger. RuntimeException Failed to write to socket: fwrite(): send of 136 bytes failed with errno=111 Connection refused (8) Code $transport = new UdpTransport("127.0.0.1", 6379,…
Gurpreet Singh
  • 2,681
  • 2
  • 15
  • 34
4
votes
1 answer

Sending logs to Graylog and in Gelf format

I would like to use graylog as central logging server and currently I am just using slf4j Logger "slf4j-api" as Java logging framework for logging in my java application. Can i use SLF4J to send logging to Graylog? or Which additional libraries do i…
orcl user
  • 107
  • 2
  • 8
4
votes
2 answers

How to send logs to Graylog (Docker)?

I'm new to both Docker and Graylog. Can anyone show me an example of how to send log data to the Graylog server?
Shamik Mukherjee
  • 41
  • 1
  • 1
  • 3
4
votes
1 answer

How to import old log files to graylog as input?

I am able to to setup graylog-server and graylog-web and able to setup input for generated log of apache2, tomcat and other applications with the help of graylog-collector e.g. apache-access { type = "file" path =…
Alok Singh Mahor
  • 5,210
  • 5
  • 36
  • 53
3
votes
0 answers

How to retrieve log from graylog over API

Had a rough time to figure that out, so here is the solution for everybody else searching for it. Solution is implemented in PHP: $url = 'https://host.td/api/search/universal/absolute' . '?query=' . urlencode('field:value') …
Klaus
  • 911
  • 1
  • 9
  • 11
3
votes
1 answer

Lower log level for Quartz

I am using Serilog in my .NETCore servers with several sinks such as console, file and graylog (GELF) for my cloud deployments. As soon as I set the log-level to DEBUG I get messages from the quartz scheduler thread every few seconds. How can I turn…
ThommyB
  • 1,186
  • 11
  • 22
3
votes
2 answers

How to Update Graylog version in docker

I am new to graylog, I have installed graylog in docker and after installing it I observed 2 notifications one is related to Graylog Upgrade. Can someone tell me how to update it using docker commands? Note: First in need to take backup of my data…
Dinesh Reddy Alla
  • 1,499
  • 8
  • 20
  • 46
1
2 3
16 17