Graylog2 is an open source log management tool for aggregating, filtering, alerting on, and performing analytics on syslog messages.
Questions tagged [graylog2]
279 questions
1
vote
1 answer
How to get message count per stream using graylog2 api?
I am trying to get messages count for each stream in Graylog2 using their rest API. But they haven't given any API for that. How can I achieve this?

Varun Kakumani
- 117
- 1
- 18
1
vote
1 answer
Rails Broadcasting log to Graylog Does not work
I want to forward all logs to graylog server plus I want to maintain my actual Rails Log. I am using ruby gelf gem. https://github.com/Graylog2/gelf-rb and lograge. In my application.rb I have the code
if Rails.env.in? ['production',…

tessie
- 964
- 3
- 14
- 24
1
vote
1 answer
Getting docker logs to graylog2 AND locally
I've been working on this problem for a couple days now and have had no luck finding answers.
The setup is that I have several hosts running groups of docker containers, and I need to have local copies of all container logs AND on a centralized…

Martin
- 119
- 1
- 1
- 10
1
vote
1 answer
Graylog2 mongo profiler plugin won't connect to mongo instance, error: "Exception opening socket" (everything dockerized)
I am trying to play with graylog's mongo profiler plugin using docker to run everything. But I can't get any profiling logs into graylog.
When I start the mongo input from the graylog UI it eventually times out with an error:
Timed out after 30000…

rmin
- 1,018
- 1
- 9
- 18
1
vote
2 answers
How to read multiple servers log files in graylog?
In our application we want to read logs from 2 different servers i.e apache tomcat and Jboss and want to monitor the logs. I have tried to search online to how to configure it but not albe to understand clearly about how can i implement it in…

John
- 258
- 1
- 5
- 21
1
vote
1 answer
How to count messages with different or indifferent field values with graylog?
I'm using graylog to visualize some http request data. I would like to have a widget which shows how many different IPv4 addresses have been accessing a website within the given time range.
The IPv4 address gets saved within a log entry in the…

whitenexx
- 1,350
- 2
- 25
- 53
1
vote
0 answers
How can I use one Graylog stream inside another?
I have some servers logging a whole lot of stuff, including some FTP information that I extract to one stream in Graylog.
I have some other servers that log a bunch of information that relates to the FTP log, but are not FTP log. I extract those to…

Niels2000
- 4,027
- 3
- 16
- 15
1
vote
1 answer
OpenShift › graylog and openshift
somebody put graylog in openshift?
I have tried to take advantage of three ways, but they all receive different errors.
http://docs.graylog.org/en/latest/pages/installation/docker.html
/docker-entrypoint.sh: line 34: exec: graylog: not…

Antonio
- 11
- 5
1
vote
1 answer
Graylog2 sidecar collector logs not showing up on the dashboard
Installed the sidecar collector and configured it with the filebeat backend. It's running successfully. Made an output and attached some inputs to it with general log files. No logs showing up on the dashboard yet. Here's my debug output, which…

user638145
- 57
- 2
- 9
1
vote
1 answer
Colorize Graylog search results
Is there any way to colorize or, in general, apply styles to results table on Graylog 2? I'm talking about the search result table.
Basically, our logs have a level field and we want to add colors on the result table based on its value, so they can…

Gonzalo Matheu
- 8,984
- 5
- 35
- 58
1
vote
1 answer
Does AWS Lambda (python) support external logging?
On my AWS Lambda (Python) script, I have:
~ graypy_handler = graypy.GELFTcpHandler(settings.graylog_host, settings.graylog_port, localname=settings.graylog_app)
env_filter = LogFilter(settings, aws_request_id)
…

David C
- 3,659
- 5
- 34
- 46
1
vote
0 answers
Graylog with Spring Boot. (graylog could not successfully connect)
final Cli cli = builder.build();
final Runnable command = cli.parse("server", "-f", graylogConfigFile);
final Thread graylogThread = new Thread(command);
/*
This is a nasty workaround to get Graylog's Swagger instance…

Govind Jaiswal
- 61
- 7
1
vote
0 answers
How to get graylog running behind a proxy?
I've installed the most graylog, and it all appears to be working - up until I actually try to search for something. Then it complains that it is unable to connect. I believe the problem is that it is trying to use the same ip address to connect…

Benubird
- 18,551
- 27
- 90
- 141
1
vote
1 answer
How get message ID (hash) in GrayLog2 API response?
I use the Graylog2 API to get messages from the Graylog2 server. It will be very helpful for me if I could get gl2 message ID. The GrayLog don`t have any mechanism similiar to auto increment in SQL but ID value of hash is always same and unique for…

MartinP
- 527
- 5
- 17
1
vote
2 answers
Graylog SMTP server without TLS/SSL
I want to start graylog with smtp support via docker. I do it like this:
docker run -d -p 9000:9000 -p 12201:12201 -p 12201:12201/udp \
-e GRAYLOG_NODE_ID=My_Node_Id \
-e GRAYLOG_SMTP_SERVER="Server.name.local --no-tls --no-ssl…

timtos
- 2,225
- 2
- 27
- 39