Welcome! Log In Create A New Profile

Advanced

udp log graylog

January 18, 2015 09:38AM
Hi,

I'm setting up logging from my Nginx server to a Graylog server.

I folow this short guide https://www.graylog2.org/content-packs/547b5021e4b0a06d87eea01e .
But nothing works...

My iptables are all accept policies, and when I make a udp tcpdump both on nginx server and graylog nothing appear...

Ant idea?

This is what i change on http section of /etc/nginx.conf

log_format graylog2_format '$remote_addr - $remote_user [$time_local] $

# replace the hostnames with the IP or hostname of your Graylog2 server
access_log syslog:server=192.168.15.225:12301 graylog2_format;
error_log syslog:server=192.168.15.225:12302;
# access_log /var/log/nginx/access.log;
# error_log /var/log/nginx/error.log;

types {
text/plain log;
}


Regards,
Subject Author Posted

udp log graylog

Vetsolution.be January 18, 2015 09:38AM

Re: udp log graylog

Vetsolution.be January 18, 2015 11:57AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 231
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready