On Wed, Dec 15, 2010 at 08:18:30PM +0100, Rainer Gerhards wrote: > >From phone: i think null is returned if field is not present. Must check > >this b4 using.
Understood. This is really rough PoC code. I know I have a
"ip=" field, but I'm unclear on how to "call" that from
ee_getEventField(event, ??) ...
I'm assuming I inform ee_getEventField to obtain the "ip"
field, then use ee_getFieldValueAsStr to get the value. Correct?
--
Champ Clark III | Softwink, Inc | 800-538-9357 x 101
http://www.softwink.com
GPG Key ID: 58A2A58F
Key fingerprint = 7734 2A1C 007D 581E BDF7 6AD5 0F1F 655F 58A2 A58F
If it wasn't for C, we'd be using BASI, PASAL and OBOL.
pgpUCHTyu4tCX.pgp
Description: PGP signature
_______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

