Question about dropping syslog messages before they are sent


I think this is an easy answer, but I am having some issues.  I am trying to read in a log file and send out a syslog message.  If the line in the file contains the word error, I want a syslog message to be sent.  If the file does not contain that word, just drop the message.  What would be the proper way to do this?  Below is what I currently have.


AskedSeptember 2, 2015 - 2:51pm

Data size is over the limit


I am trying to read multiline xml files (results of ELMAH logs in ASP.NET), but for some of them I am unable to do so, as they contain lots of information. This results in errors like this:

2015-09-02 08:50:50 ERROR data size (119671) is over the limit (65000), will be truncated

I tried googling for a resolution to this problem, but I couldn't find any information anywhere about a data size limit in nxlog. Could some please advise what I could do to fix this?

AskedSeptember 2, 2015 - 1:48pm

im_file ; File with lock


Recently, i ran into a problem with file locking. One application here is generating some log file, one per client, when nxlog try to read file, i got error :

ERROR failed to open LOGFILEPATH; Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.

Initaly my configuration was :

AskedSeptember 2, 2015 - 9:51am

Compiling on Solaris 11

Hi ,

I am trying to compile nxlog on solairs 11 sparc platform.

I am encoutering the following errors while compiling.

configure: error: libapr-1 not found

gcc: error: unrecognized command line option '-mt'

I used the following parameters :: ./configure APRCONFIG=/usr/apr/1.3/bin/apr-1-config

Please let me know if any one of you have successfully compiled it on Solaris 11.

Thanking you with regards.



AskedAugust 31, 2015 - 3:02pm

how to get values extracted using regex?


I'm quite new to nxlog, so forgive me if my question is  trivial but I'm having hard time to get the values I extract from my  logs using exec and a regex. I have a very large stash of old windows logs in text file (in multiline format), what I want to do is use nxlog to load them in graylog, but I want to format the log in a different way.

AskedAugust 31, 2015 - 4:17am