0
answers

ODBC ASSERTION FAILED

Hello everyone! 

When I using im_odbc I get an error in log file:

2016-03-17 11:57:38 INFO nxlog-2.10.1577-trial started
2016-03-17 11:57:45 ERROR ### ASSERTION FAILED at line 480 in im_odbc.c/im_odbc_execute(): "imconf->results.num_col > 0" ###

Anybody know what is mean and what  I should to do? 
I am using nxlog-2.10.1577 with next config:
 

AskedMarch 17, 2016 - 7:02pm
1
answer

How to convert local time to UTC before sending logs to Logstash

I have the following output config:

 

<Output out>
    Module      om_tcp
    Host        10.36.52.62
    Port        12201
    Exec     $EventTime = strftime($EventTime, '%Y-%m-%d %H:%M:%S %Z'); \
                to_json();
</Output>

Which is sending the EventTime in the local time zone of the server. This is how it looks like at Logstash side:

AskedMarch 3, 2016 - 10:15am
1
answer

How to drop the incoming logs based on the severity

I am fairly new to nxlog. I am looking for a help to complete my task. How do i drop the log message based on log levels (severity). The incoming log messages have different log levels (debug, info, warning, error, critical).
For example, If i set severity as warning, the nxlog should drop info and debug log messages. Please provide some examples of nxlog.conf to make use of it.

Thanks for the help in advance.

AskedFebruary 29, 2016 - 12:53pm

Pages