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

Add configuration option for RFC 5424 Structured Data #48

Closed
wants to merge 3 commits into from

Conversation

vernonm
Copy link

@vernonm vernonm commented Jul 2, 2018

In this code the structured_data is string, assumed to meet the RFC, or defaults to a "-". You will have to add the structured data ID and brackets around each structured data element.

Usage example:
structured_data => '[[email protected] position="%{file_pos}" size="%{file_size}" name="%{file_name}"]'

Where file_pos, file_size, and file_name are fields in the event.

vernonm and others added 3 commits June 28, 2018 15:26
…tution values. Default remains "-", but it is no longer hardcoded and unchangeable.

Note that this will not create structured data from a list of fields, but it will allow you to format your own SD block.
…ssage length header as specified in RFC 5425 for TLS (also used by rsyslog and syslog-ng for TCP syslog drivers.
@vernonm
Copy link
Author

vernonm commented Jan 5, 2024

Unnecessary now that #65 has been merged.

@vernonm vernonm closed this Jan 5, 2024
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.

1 participant