Skip to content

Commit

Permalink
fixed review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Tero Saarni <[email protected]>
  • Loading branch information
tsaarni committed Aug 25, 2023
1 parent 26aec39 commit 2a85555
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Unreleased
- Added support for RFC5424 structured data.
- Added support for RFC5424 structured data. [#67](https://github.com/logstash-plugins/logstash-output-syslog/pull/67)

## 3.0.5
- Docs: Set the default_codec doc attribute.
Expand Down
4 changes: 2 additions & 2 deletions docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ use priority field if set to false
RFC5424 structured data is a string of one or more structured data elements, including brackets.
The elements need to be formatted according to link:https://datatracker.ietf.org/doc/html/rfc5424#section-6.3[RFC5424 section 6.3], for example:

[source,ruby]
`[exampleSDID@32473 iut="3" eventSource="Application" eventID="1011"][examplePriority@32473 class="high"]`
["source",subs="attributes"]
`[exampleSDID@32473 iut="3" eventSource="Application" eventID="1011"][examplePriority@32473 class="high"]`

The new value can include `%{foo}` strings to help you build a new value from other parts of the event.

Expand Down

0 comments on commit 2a85555

Please sign in to comment.