Neeraj79 created
Hello There,
I'm working on customer poc that to collect database log and convert it to syslog to send another monitoring tool.
the om_file working as expect, but there are only send on info severity. it there any way that I can process that db log format and make it have severity in syslog ?
thank you , Kriengsak
pissanello created
Neeraj79 created
Ubuntu 16.04 LTS (OS)
I am trying to parse JSON to SYSLOG
There are two issues.
1. the NoCache TRUE does not seem to work. (I also tried SavePOS false) and it always caches the file.
2. When I do get it to work; it uses the localhost (which is not where the logs are from) and the time/date stamp from the JSON file (but no other data is there).
Is there an example of parsing JSON to _syslog_bsd()? for forwarding to a SEIM
```
#######################################
# Global directives #
########################################
User nxlog
Group nxlog
LogFile /var/log/nxlog/nxlog.log
LogLevel DEBUG
NoCache TRUE
########################################
# Modules #
########################################
Module xm_json
Module xm_syslog
SavePos FALSE
Module im_file
File '/tmp/json/*.json'
Exec $Message = to_json(); to_syslog_bsd();
Module om_file
File "/var/log/nxlog/syslog.log"
Exec to_syslog_bsd();
########################################
# Routes #
########################################
Path in => fileout1
```
resulting output is
```
Feb 16 02:43:14 [redacted hostname] {"EventReceivedTime":"2018-02-16 02:43:14","SourceModuleName":"in","SourceModuleType":"im_file"}
```
Date is localtime for the conversion
Source JSON is OKTA logs
cbitterfield created
Currently we can route based off of MessageSourceAddress. But we are interested in routing messages to a folder based off of particular octets.
For example...(this doesn't work...just used to show what we would like to try to do on a conceptual basis).
if ($MessageSourceAddress == "192.*.*.100" ) { reroute("1"); }
We've tried escaping the wildcards, using 0s...I don't think that regex would work there...so what is the prescribed solution? Does anybody have something similar in place? Even just to get a host that ends in a specific octet would be helpful.
Regards,
-Tony
tlay created
Hello,
I'm trying to forward Windows Event logs to a server that uses rsyslog. I've read through the reference manual for configuration but I keep getting the same error when starting the executable.
It says "ERROR apr_sockaddr_info failed for hostname:port#; The requested name is valid, but no data of the requested type was found."
I'm not sure what that means, been stuck on it for over a week now. Have all of my firewalls off so don't think it's that. Does nxlog work with ipv6 addresses? That seems to be the only difference between my systems and the examples I've read
doomfront created
w.schmitt@evidos.nl created
Does someone have a link to the latest source for nxlog-ce-2.9.1716?
spacefuzz created
Hello, I was wondering is there a command where I can tell NXLOG to ignore the first 32 lines of a file that I am wanting to read in? The log file is a dhcp log on Win 2012 R2 and the first 32 lines is info about Event IDs and their meanings. I'd like to to tell NxLog to ignore first 32 lines when reading in the log files. Thanks in advance for any info. Really love nxlog.
Selmack created
Can someone please provide a documentation for nxlog installation ( nxlog-3.99.3269-1aix.ppc.trial.rpm ) in AIX 7.1.
rengithav created
_omar_ created
walilav created
We are currently using im_mark to generate heartbeat events in order for our monitoring to prove that log flow is operational. On several source machines we are having issues where the heartbeats do not appear to be generated in a timely manner, causing significant quantities of false alerts.
The configuration uses im_mark to generate a mark event at (currently) 5 minute intervals which is then used in two routes. The first sends it to the destination along with the log data where it is used by the monitoring software, the second writes it out to a file for debug purposes. On affected machines this file is reporting that (usually) two heartbeats are being generated at 5 minute intervals before a (apparently random) delay of between 15 minutes to approximately 80 minutes. During these periods the service continues running correctly and log data is submitted.
Attempted resolutions: Restart service. No effect. Remove the configcache.dat file. No effect Increased the generation time from 1 to 5 minutes. Issue appeared to go but returned on different machines after a week or so. Increased the number of threads in the configuration. No effect. Tested both the raw Windows API (WaitForSingleObject) and Apache Portable Runtime apr_thread_cond_timedwait methods with a simple test program. Issue was not evident.
Please let me know if you require any additional information.
nmoss created
navdeepsingh83 created
Fibonacci created
is it possible to override the sourcemodulname?
´code line´
Modul OM_SSL ... .... .... Exec $SourceModulName = "Thomas"
Thanks in Advance
Thomas
Thomas created
Hi. I try to send windows events, How can I change the default separator field (tab) for comma?
_omar_ created
ToddChapman created
Hello!
We run NXLog version nxlog-3.2.1991-x86 on Windows Server 2016.
Thanks for a good and well documented product. However, we have an issue when closing down the NXLog service. Sometimes stopping the service fails with the following error message:
"Error 109: The pipe has been ended".
When this happens, no cache file is created (configcache.dat) and at startup the whole table is sent again.
It is easy to reproduce this issue. Just stop the service after 5 seconds of running. However, it also happens after run time of 24 hours.
On this machine we use NXLog for monitoring a table in MS SQL and send the content to syslog over TCP. We have not changed the default setting for table polling interval (every second). As a work around we will lower the polling interval to every 60 second.
Kind regards.
// Erik
bosarebo created
Thomas created