Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new function in log_systemd module to log structured events #565

Merged
merged 2 commits into from Apr 12, 2016

Conversation

camilleoudot
Copy link
Contributor

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 journalctl --output json-pretty to see all the fields for the events in the journal)

@camilleoudot camilleoudot changed the title new function in log_systemd function to log structured events new function in log_systemd module to log structured events Apr 12, 2016
@miconda
Copy link
Member

miconda commented Apr 12, 2016

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.

@camilleoudot camilleoudot merged commit 4885514 into master Apr 12, 2016
@linuxmaniac linuxmaniac deleted the sd_journal_send_xavp branch May 9, 2016 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants