]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
json: use packet timestamp if available
authorEric Leblond <eric@regit.org>
Fri, 7 Mar 2014 20:11:47 +0000 (21:11 +0100)
committerEric Leblond <eric@regit.org>
Fri, 7 Mar 2014 21:53:20 +0000 (22:53 +0100)
commit2b39df550fbad944b4aab77617d4272c5d62ba70
tree5169c6b0376a7c1d135333662fa128e06d19a99d
parenteff7b4ef1bed285e54de85d9109aec0f2dbb7c4b
json: use packet timestamp if available

This patch updates the JSON output plugin to have it use the
timestamp of the packet if available. The date format used
for the timestamp is now using ISO 8601 to have an easy
import in most software (tested with logstash and splunk).

Signed-off-by: Eric Leblond <eric@regit.org>
output/ulogd_output_JSON.c