Skip to content

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.

mvernon-vsat 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.

2 participants