Syslog-ng.conf csvparsing器丢失了第一列
我尝试使用syslog-ngconfiguration来分割来自IIS服务器的信息。 我创build并填写了syslog-ng.conf,但是我的csvparsing器丢失了第一列。 让我们看看: source s_network { udp(ip(0.0.0.0) port(514)); }; template test { template("test arg1 = $VALUE1 arg2 = $VALUE2 arg3 = $VALUE3\n"); template_escape(yes); }; destination d_file { file("/var/log/me.log" template(test)); }; parser testpars { csv-parser(columns("VALUE1", "VALUE2", "VALUE3") flags(escape-double-char, strip-whitespace) delimiters(" ") quote-pairs('""<>[]')); }; log { source(s_network); parser(testpars); destination(d_file); }; 我用netcat发送testing消息: nc -w0 -u 127.0.0.1 514 <<< […]