I am having trouble getting the new v7 config format to function like our
legacy config. Specifically, the supportoctetcountedframing="off" on the
input statement does not seem to disable the octet framing, but I can't
figure where else it might go. I've tried it on the module statement (not
known -- typo in config file) as well as
"$InputPTCPServerSupportOctetCountedFraming off" (no effect - still get
octet framing error) after the module statement as well as in the ruleset.
The legacy config is:
$ModLoad imptcp
$MaxMessageSize 4k
$template AvayaSMDR, "%timegenerated% %fromhost%
avaya:,%rawmsg:::drop-last-lf%\n"
$RuleSet avaya
$umask 0000
$FileCreateMode 0777
$FileOwner backup
$FileGroup web
$InputPTCPServerSupportOctetCountedFraming off
$InputPTCPServerBindRuleset avaya
$InputPTCPServerRun 10514
*.* /home/vhost/phone-logs/logs/call.log;AvayaSMDR
And my attempt at a v7 format is:
module(load="imptcp")
template(name="AvayaSMDR" type="list") {
property(name="timestamp")
constant(value=" ")
property(name="hostname")
constant(value=" ")
property(name="syslogtag")
constant(value=", ")
property(name="msg" spifno1stsp="on")
property(name="msg" droplastlf="on")
constant(value="\n")
}
ruleset(name="avaya") {
$umask 0000
$FileCreateMode 0777
$FileOwner backup
$FileGroup web
*.* /home/vhost/phone-logs/logs/call.log;AvayaSMDR
}
input(type="imptcp" port="10514" supportoctetcountedframing="off"
ruleset="avaya")
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.