Questions tagged [syslog-ng]

The syslog-ng application is a flexible and highly scalable system logging application that is ideal for creating centralized and trusted logging solutions.

The syslog-ng application is a flexible and highly scalable system logging application that is ideal for creating centralized and trusted logging solutions. The main features of syslog-ng are summarized below.

  • Reliable log transfer: The syslog-ng application enables you to send the log messages of your hosts to remote servers using the latest protocol standards. The logs of different servers can be collected and stored centrally on dedicated log servers. Transferring log messages using the TCP protocol ensures that no messages are lost.
  • Secure logging using TLS: Log messages may contain sensitive information that should not be accessed by third parties. Therefore, syslog-ng supports the Transport Layer Security (TLS) protocol to encrypt the communication. TLS also allows the mutual authentication of the host and the server using X.509 certificates.
  • Direct database access: Storing your log messages in a database allows you to easily search and query the messages and interoperate with log analyzing applications. The syslog-ng application supports the following databases: MSSQL, MySQL, Oracle, PostgreSQL, and SQLite.
  • Heterogeneous environments: The syslog-ng application is the ideal choice to collect logs in massively heterogeneous environments using several different operating systems and hardware platforms, including Linux, Unix, BSD, Sun Solaris, HP-UX, Tru64, and AIX.
  • Filter and classify: The syslog-ng application can sort the incoming log messages based on their content and various parameters like the source host, application, and priority. Directories, files, and database tables can be created dynamically using macros. Complex filtering using regular expressions and boolean operators offers almost unlimited flexibility to forward only the important log messages to the selected destinations.
  • Parse and rewrite: The syslog-ng application can segment log messages to named fields or columns, and also modify the values of these fields.
  • IPv4 and IPv6 support: The syslog-ng application can operate in both IPv4 and IPv6 network environments; it can receive and send messages to both types of networks.
195 questions
0
votes
1 answer

Tagging/modifying syslog-ng messages from different sources using same IP

Greetings. First of all, thanks for take your time and read this question; apologies by my poor English. I’m really n00b about syslog-ng, but I did the job and reading syslog-ng-ose-admin-guide.pdf and I still can’t solved my problem. This is my…
rjlara
  • 3
  • 3
0
votes
1 answer

syslog-ng 3.2.5 server stops receiving data, possibly related to logrotate

I asked this question in Unix & Linux but I think it actually fits better here. Currently, I use the following logrotate.d configuration /var/log/messages { daily compress rotate 7 postrotate /bin/kill -HUP `cat…
Jbart
  • 1
  • 1
0
votes
0 answers

How to get data from a port and forward it to other syslog-ng Servers using nginx?

I am sending data to 9516 port on nginx server . From this server I want to forward it to two syslog-ng servers using roundrobin method. I have below nginx.conf file, with this I am able to load balance my kibana webpage but I am not sure where and…
user3332404
  • 411
  • 1
  • 4
  • 7
0
votes
1 answer

Syslog-NG is spooling messages

I am currently using Balabit's Syslog-NG to concentrate my IT logs and convey them in a remote server, via a TCP connection, which can allow one listening port only. Thing is, my log volume is really important (about 15,000 messages/sec), and I can…
moutonjr
  • 498
  • 5
  • 10
0
votes
1 answer

Can't get Freeradius2 to send logs to syslog-ng version 3.5

I have a Syslog-ng 3.5 and freeradius2 Ubuntu server 16.04 both running as virtual machines in a vmware esxi 5.5 HYpervisor. Well from a previous post I got sylog-ng to send logs from /var/log/fereradius/radius.log directory to a remote syslog-ng…
Eddy
  • 7
  • 2
  • 10
0
votes
1 answer

Freeradius not redirecting logs to syslog-ng

Good Afternoon. I have a problem with a Freeradius 2 server in UBuntu 16.04 Is installed from a template in a vmware 5.5 Hypervisor ans since lacks of HHD space, logs start collapsing the system, the load the freeradius server is under is huge…
Eddy
  • 7
  • 2
  • 10
0
votes
2 answers

unable to filter badly-formatted messages in syslog-ng

I am contacting you regarding an issue I have with syslog-NG. some of our devices (mainly HP switches and SANs) are sending syslog messages that do not respect the syslog RFC 5424 it seems. to give you a few examples : if I sniff the network…
olivierg
  • 524
  • 2
  • 8
  • 27
0
votes
2 answers

Can I use syslog-ng to mirror all log files on a remote server without specifying every file?

Can I use syslog-ng to mirror all log files onto a remote server without specifying every file? Both are running syslog-ng OSE version 3.5.2. The file("/var/log/*") setting seems promising, but it does not appear to recurse, and reconstituting the…
tpc1095
  • 5
  • 3
0
votes
1 answer

With syslog-ng how can I reset an environment variable without losing log messages?

On this system, imagine that there is a program that detects whether or not it is day or night and sets and environment variable DAY. My environment variable DAY is picked up and used in this working fragment: log { source { …
tpc1095
  • 5
  • 3
0
votes
1 answer

Match the SourceName set in nxlog in syslog-ng

This one is driving me a bit crazy. How do I route a message from nxlog received by syslog-ng based on the program name? It should be self explanatory but it isn't working correctly. The messages are dropped into my general log file for syslog-ng…
Tim Brigham
  • 15,545
  • 10
  • 75
  • 115
0
votes
1 answer

Extracting values from csv-parser in syslog-ng

I've got a syslog feed in csv format being ingested by syslog-ng using the csv-parser and written to disk. As I understand it, using the csv-parser is supposed to give syslog-ng context into the data coming in and what value means what. I'd like to…
0
votes
1 answer

Syslog-NG version compatibility

I have 3 servers configured to run syslog-ng. We'll call the servers web, jump, and client. Web is CentOS 6 Jump and Client are CentOS 7 Jump is an OpenVPN server Client is an OpenVPN client Web is on the same private network as Jump Connectivity is…
Speeddymon
  • 191
  • 1
  • 10
0
votes
1 answer

syslog-ng does not recognize "python" keyword

I'm trying to use Syslog-ng so that it forwards the messages to a python destination. However, I keep getting a "Error parsing destination, destination plugin python not found ..." message. I am following this tutorial exactly.…
0
votes
1 answer

syslog-ng complaining about plugin 'tfjson'

I keep getting this error from cron every night. I can't figure out what syslog-ng is looking for. I've installed syslog-ng-mod-json module through apt, however the problem persists whenever syslog-ng is restarted. Anyone know the fix for…
Server Fault
  • 3,714
  • 12
  • 54
  • 89
0
votes
1 answer

syslog-ng: filtering uncategorized messages

I set up a configuration where messages are classified and written into corresponding files (destinations). I'm wondering -- is it possible to log to a file messages that are not grabbed by specific filters? For example, there are filters for dhcpd,…
Alexander Sergeyev
  • 253
  • 1
  • 2
  • 10