Questions tagged [graylog2]

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

279 questions
3
votes
1 answer

How to run same docker images twice

I am using this docker command for running graylog2. docker run -t -p 9000:9000 -p 12201:12201 graylog2/allinone I want to run another graylog2 in same server and I run new command with different port numbers as docker run -t -p 9001:9000 -p…
maskapsiz
  • 244
  • 5
  • 23
3
votes
2 answers

python graypy simply not sending

import logging import graypy my_logger = logging.getLogger('test_logger') my_logger.setLevel(logging.DEBUG) handler = graypy.GELFHandler('my_graylog_server', 12201) my_logger.addHandler(handler) my_adapter =…
Ohad Perry
  • 1,315
  • 2
  • 15
  • 26
3
votes
3 answers

GrayLog2 Email Alert Callback variables

By default Graylog2 seems to use these variables in it's email alert callbacks: Date: ${check_result.triggeredAt} Stream ID: ${stream.id} Stream title: ${stream.title} Stream URL: ${stream_url} What are the others that are available? Is…
adele dazim
  • 527
  • 9
  • 20
3
votes
0 answers

Graylog: Saving search when there are no results

I just recently setup GrayLog2 and adding searches and streams as we go along. Since it's a relatively new setup, Graylog doesn't have all the logs yet. But we want to save searches for certain kinds of logs. When we search in GrayLog for those now,…
adele dazim
  • 527
  • 9
  • 20
3
votes
0 answers

Graylog2 Server unable to connect to ElasticSearch

I'm trying to install GrayLog2 on my Ubuntu server to manage all logs from multiple location. I have install Mongodb, Java and Elastic Search but it failed to detect the elastic search when I run sudo java -jar…
eugene
  • 638
  • 2
  • 9
  • 19
3
votes
1 answer

Ordering Graylog search results

Is there anyway to view search results in Graylog2 in chronological order? The default seems to be to show them in reverse chronological order. What I really want to do is find the first occurrence (in time) when a particular error happened. At the…
Darragh
  • 2,526
  • 1
  • 23
  • 31
3
votes
1 answer

securing graylog2 http port from spam logs??

I'm not really sure how to word the title. This is what i'm trying to do. I'm fairly new to graylog2. I have graylog2 installed to listen on a specific port number to listen for logs sent over the HTTP. So, how do i avoid someone from spamming my…
user2773013
  • 3,102
  • 8
  • 38
  • 58
3
votes
1 answer

Configuring graylog2 for grails

Has anyone succeeded in this? I am trying to make something in Config.groovy but it is not working. Here is my code: log4j = { appenders { console name:'console', layout:pattern(conversionPattern: '%d %-5p [%t] %c %x -%m%n') …
Ivan Longin
  • 3,207
  • 4
  • 33
  • 42
2
votes
2 answers

Graylog when use multiple input (use case)

When should I use multiple input for my graylog? Do you have a use case? For instance, I have different Symfony (3.x) applications with different environments (integration, prod, ..) and I want all of them into my graylog. What is the best way (or…
PapaSku
  • 112
  • 10
2
votes
0 answers

Graylog: Bad GELF UDP performance

I have a Graylog installation that can handle well over 25.000 msg/sec. I am now experimenting with setting up a dedicated Logstash cluster. So something like this: Filebeat (n hosts) -> Logstash Cluster -> Graylog The biggest issue now is that I…
Frizz
  • 2,524
  • 6
  • 31
  • 45
2
votes
1 answer

Not getting log in graylog server and also not getting any error

I want to use GrayLogs with NodeJS Application. I am using below package for that https://github.com/Wizcorp/node-graylog2 I am using below Code, but I am not getting logs in my graylogs server also I am not getting any Error in Node Console.…
Pankaj Agrawal
  • 193
  • 1
  • 1
  • 11
2
votes
1 answer

Persist graylogs stream and input

I have Graylog put in docker container using docker-compose with elasticSearch and MongoDB. Ofcourse when I configure it once on machine and run docker-compose again configuration stays. Unfortunately when I want to change machines (run on another…
Piotr
  • 569
  • 6
  • 20
2
votes
1 answer

Understand a reverse proxy in combination with docker

I'm using a Nginx-proxy in a docker-container. And I have to run multiple applications on a server. I want to run them all in a docker container except one. I run Jira an Confluence in container. It took me a lot of time to configure the…
SamuelTJackson
  • 1,357
  • 3
  • 19
  • 40
2
votes
0 answers

Nginx UDP load-balance hash from first 8 bytes

I'm using nginx to load-balance logger UDP traffic in front of a set of graylog servers. Large log messages are broken apart into chunks then pieced back together using a message id of 8 bytes starting after a 2 byte header as explained in the GELF…
Michael
  • 3,498
  • 5
  • 27
  • 32
2
votes
2 answers

How to make traefik work with graylog2?

I'm getting this error when entering to web interface url: Server currently unavailable We are experiencing problems connecting to the Graylog server running on http://127.0.0.1:9000/api. Please verify that the server is healthy and working…
holms
  • 9,112
  • 14
  • 65
  • 95