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.
275 questions
0
votes
1 answer

Syslog-ng not flushing output to python program

I have set up syslog-ng to tail a file and forward each new event to python script which will process it. My syslog-ng.conf looks like this - source s_src { file("/var/log/xyz.log" flags(no_parse); }; destination d_dest { program("python -u…
cmbendre
  • 99
  • 2
  • 11
0
votes
0 answers

How to fix certificate subject does not match configureed hostname issue in SSL

I'm trying to do a secured transfer to syslog server via tcp from a device. I have generated certificates in server side and copied the cacert.pem to client side. When i try to send a message from to server i receive following error. "Certificate…
0
votes
1 answer

Not seeing syslogs when syslog server is added by its host name

I have a Kiwi syslog server running on a PC,when i add the ip address of this sys log server to my device i'm able to see the syslogs on server side. If i add the host name of syslog server to syslog-ng.conf file of my device,i do not see my logs on…
0
votes
1 answer

Can I change syslog or syslog-ng log level at runtime?

Sometimes, there are too many log messages and I have no control over them all. If I can set the log level at runtime, it would be much easier.
Andy
  • 13
  • 4
0
votes
1 answer

log42j and syslog-ng output format

my syslog-ng config is: source s_src { tcp(ip(127.0.0.1) port(1000)); }; destination df_local0 { file ("/var/log/mylog-${YEAR}.${MONTH}.${DAY}.log" template("${YEAR}${MONTH}${DAY}-${HOUR}${MIN}${SEC} ${MESSAGE}\n")); }; filter f_local0 {…
user2071938
  • 2,055
  • 6
  • 28
  • 60
0
votes
1 answer

Bind exception while Flume listen Syslog on another Server

Environment I have two Ubuntu 14.04 servers, running in Oracle Virtual machines on a Windows 7 machine, they can see each other with ping: Server ONE has a SysLog-Ng component (IP:192.168.1.1) listening a Postgresql DB Server TWO has Apache Flume…
Andrea T
  • 3,035
  • 4
  • 23
  • 39
0
votes
1 answer

Running Docker as a syslog-ng destination fails

I have a Vagrant-created VM running stock Ubuntu Trusty 64, with one host CPU allocated to it. Within that VM, I have a Docker image running stock Python 3.4.3: FROM python:3.4.3-slim ENTRYPOINT ["/usr/local/bin/python"] When I execute an…
MerseyViking
  • 389
  • 3
  • 19
0
votes
1 answer

Rsyslog replace newline to
in message part

I am using rsyslog to relay events from a machine to Loggly (cloud log management). I have an application running on that machine that logs to the local rsyslog by using the SyslogAppender of log4net. However, since some of the events are…
Simon S.
  • 563
  • 4
  • 21
0
votes
1 answer

snmp logging through syslog-ng

I want to log snmpd logs by syslog-ng. I added below lines in syslog-ng.conf file filter f_snmpd { program("snmpd"); }; destination df_snmpd { file("/var/log/snmplog"); }; log { source(s_all); filter(f_snmpd); …
user3990393
  • 193
  • 7
0
votes
1 answer

Forwarding a folder in syslog-ng?

I'm trying to forward realtime_01-08-15.log to 192.168.1.132 using syslog-ng. I think I know how to forward traffic from a file but what if the file changes name daily? Source on Jan 8th 2015: realtime_01-08-15.log Source on Jan 9th…
Roboman1723
  • 103
  • 4
0
votes
1 answer

how to check syslog-ng daemon error status ?

I need to check if the logs are successfully sent to the external server by syslog-ng. I am using UDP connection. How do i check if any error occurred ? Thanks in advance.
User2014
  • 1
  • 2
0
votes
1 answer

Convert a syslog message into a mysql insert statement

I am running syslog-ng and I am storing the log entries in mysql. Everything is working ok there. The problem is that I need to break down the field "msg" into columns for further analysis. How can I convert this string: '[997799.060000] ACCEPT…
jangeador
  • 594
  • 1
  • 6
  • 17
0
votes
1 answer

Does anyone have knowledge on context switching - logging from app to disk via FSYNC vs syslog-ng

Recently, one of our most senior engineers asked me about context switching with respect to using syslog-ng vs. writing logs out from our application to disk. Context: I want to use syslog-ng to log & ship output from our application written in…
Armen R.
  • 1
  • 3
0
votes
2 answers

syslog-ng not run script

I want to use syslog-ng to receive netgear log, and use python script process. But syslog-ng didn't run the python script. syslog-ng.config @version:3.2 options { flush_lines (0); time_reopen (10); log_fifo_size (1000); …
0
votes
2 answers

Transport Snort Logs with Syslog-ng

I have been working with Snort IDS and I have successfully managed to generate some test logs. The problem I am facing has to do with their format(alert_fast). Some example logs are provided below. 07/23-20:08:56.631567 [] [1:2002911:4] ET SCAN…
alien35man
  • 11
  • 4