Journald can store arbitrary **KEY=>values[]** properties for each log event. The `sd_journal_send_xavp()` function is a binding on journald's `sd_journal_sendv()` function, that allows pushing structured events in journald, using the fields from a xavp.
(use `journald --output json-pretty` to see all the fields for the events in the journal) You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/565
-- Commit Summary --
* log_systemd: new function `sd_journal_send_xavp` * log_systemd: refresh README
-- File Changes --
M modules/log_systemd/README (39) M modules/log_systemd/doc/log_systemd_admin.xml (56) A modules/log_systemd/journal_send.c (123) A modules/log_systemd/journal_send.h (31) M modules/log_systemd/log_systemd_mod.c (16)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/565.patch https://github.com/kamailio/kamailio/pull/565.diff
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/565
Thanks, the PR can me merged.
And good to see the module is useful for further enhancements, I implemented it more like a proof of concept without much testing.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/565#issuecomment-208882384
Merged #565.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/565#event-624084722