1
answer

WARNING SQLExecDirect failed; HY000:1:0:[Devart][ODBC][PostgreSQL]在字段 "timestamp" 中空值违反了非空约束

When I use im_file and om_odbc,from the log,I get this message:WARNING SQLExecDirect failed; HY000:1:0:[Devart][ODBC][PostgreSQL]在字段 "timestamp" 中空值违反了非空约束
<Input in>
Module im_file
File "C:\\Users\\jiang.dengjie\\Desktop\\log1.txt"
ReadFromLast False
SavePos False
<Exec>
if $raw_event =~ /^(\w+ \d+ \S+ \S+) (\S+) (\S+):(.+)$/
{
$timestamp = $1;

AskedJune 11, 2019 - 4:06am
1
answer

use im_file and om_file on windows

I use im_file and om_file on windows,But throgh om_file,I get a file that is empty
<Extension _syslog>
Module xm_syslog
</Extension>
<Extension _json>
Module xm_json
</Extension>
<Input in>
Module im_file
File "C:\\Users\\jiang.dengjie\\Desktop\\log.txt"
Exec parse_syslog();
</Input>
<Output out>
Module om_file

AskedJune 10, 2019 - 7:30am
1
answer

ERROR SSL error, failed to load ca cert

I use nxlog in windows,from the log,I get this question:ERROR SSL error, failed to load ca cert from 'C:\Program Files\nxlog\cert\agent-ca.pem', reason: No such file or directory, no such file, system lib
Then I find I do not have the agent-ca.pem.
And in my environment,my pgsql do not get any data.
below is my config.
<Input in>
Module im_file
File "C:\\Users\\xxx\\Desktop\\log.txt"
<Exec>

AskedJune 6, 2019 - 7:58am

Pages