Questions tagged [graylog2]

Graylog2 is an open source log management tool for aggregating, filtering, alerting on, and performing analytics on syslog messages.

279 questions
6
votes
3 answers

How to get GELFJ appender work in log4j?

I need to get my Java application writing logging to a Graylog2 server. The application uses a log4j configuration. Several things I have tried to get the logging writing to the Graylog2 server, the things I got working was sending a test message…
Jochen
  • 121
  • 1
  • 1
  • 5
6
votes
2 answers

log4j2-gelf "ERROR StatusLogger appenders contains an invalid element or attribute "GELF" "

just started to get into Graylog2 and wanted to log some Java-Applications via GELF Input. Therefore I used the library log4j2 and added the graylog2-gelfclient. All dependencies are satisfied and the programm is running. But the initialisation of…
Felix
  • 91
  • 1
  • 5
6
votes
2 answers

How to connect Apache log to graylog2 server

I'm using Graylog2 server as my application log server. But couldn't connect apache log to graylog2. Is there any guide to send apache log to graylog2 server or can someone help me to solve this ?
Batmunkh Moltov
  • 121
  • 2
  • 8
5
votes
1 answer

How to retrieve log from graylog over API

How can I search logs from a graylog server with PHP? Assume the graylog servers is https://host.td/api/search/universal/absolute
Klaus
  • 1,171
  • 1
  • 11
  • 16
5
votes
2 answers

Graylog Search with Regex

In my graylog Server, I want to create a search-value which finds the folowing query: ctxt__Error:"User \"USERNAME\" not found.". But I want to find ANY Error for every USERNAME. My Searchstring dowsnt work when I do this: ctxt__Error:"User \"*\"…
Zwen2012
  • 3,360
  • 9
  • 40
  • 67
5
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
  • 3,061
  • 5
  • 19
  • 36
5
votes
2 answers

How to transfer MDC via gelf to graylog?

We have a logging flow where our java application fills an MDC which is transferred via log4j2 to syslog to a central rsyslog installation. Here we make extensive use of MDC. Our setup is thus:
Martin Schröder
  • 4,176
  • 7
  • 47
  • 81
5
votes
1 answer

Java Tomcat, underlying Netty threads not stopped

I'm trying to use a log4j appender to send logs to GrayLog2 (log4j2-gelf). So I add my dependency to my pom.xml configure the log4j2.xml to configure my appender. Build the whole thing with maven and deploy it to a local tomcat, and everything works…
MaxouMask
  • 985
  • 1
  • 12
  • 33
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
  • 317
  • 1
  • 3
  • 11
5
votes
3 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
  • 51
  • 1
  • 1
  • 3
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
  • 4,105
  • 4
  • 32
  • 46
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
  • 365
  • 2
  • 9
5
votes
1 answer

Setup a graylog2 server with elasticsearch in a vagrant machine

I'm trying to Install graylog2 server on my local dev machine and encountering problems with elasticsearch setup. My elasticsearch is installed as a service on a vagrant machine running on my dev machine. so My elasticsearch isn't installed in…
alonisser
  • 11,542
  • 21
  • 85
  • 139
5
votes
3 answers

Querying distinct results in graylog2

Is there a way to do a search in graylog2 and only return distinct results for a given field? What I'm trying to accomplish is a stream or dashboard widget that will give me the number of IIS errors from distinct ip addresses.
brushwood
  • 115
  • 3
  • 9
5
votes
0 answers

How to use GELF HTTP input

I'm trying to setup a GrayLog2 server and need to use the GELF HTTP input listener. I've made a small C# console program which sends test logs to the server. However it seems that only a couple of messages are actually parsed by gl2 and I cannot…
jaspernygaard
  • 3,098
  • 5
  • 35
  • 52
1
2
3
18 19