Skip to content

Commit

Permalink
Update whitespace attribute descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
dehaansa committed Dec 11, 2024
1 parent 587d4a1 commit 85b2cd0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ The following arguments are supported:
| `one_log_per_packet` | `bool` | Skip log tokenization, improving performance when messages always contain one log and multiline is not used. | `false` | no |
| `add_attributes` | `bool` | Add net.* attributes to log messages according to OpenTelemetry semantic conventions. | `false` | no |
| `encoding` | `string` | The encoding of the syslog messages. | `utf-8` | no |
| `preserve_leading_whitespaces` | `bool` | Trims leading whitespace on messages unless this is set to `true`. | `false` | no |
| `preserve_trailing_whitespaces` | `bool` | Trims trailing whitespace on messages unless this is set to `true`. | `false` | no |
| `preserve_leading_whitespaces` | `bool` | Preserves leading whitespace in messages when set to `true` | `false` | no |
| `preserve_trailing_whitespaces` | `bool` | Preserves trailing whitespace in messages when set to `true` | `false` | no |

The `encoding` argument specifies the encoding of the incoming syslog messages.
`encoding` must be one of `utf-8`, `utf-16le`, `utf-16be`, `ascii`, `big5`, `nop`.
Expand Down Expand Up @@ -145,8 +145,8 @@ The following arguments are supported:
| `one_log_per_packet` | `bool` | Skip log tokenization, improving performance when messages always contain one log and multiline is not used. | `false` | no |
| `add_attributes` | `bool` | Add net.* attributes to log messages according to OpenTelemetry semantic conventions. | `false` | no |
| `encoding` | `string` | The encoding of the syslog messages. | `utf-8` | no |
| `preserve_leading_whitespaces` | `bool` | Trims leading whitespace on messages unless this is set to `true`. | `false` | no |
| `preserve_trailing_whitespaces` | `bool` | Trims trailing whitespace on messages unless this is set to `true`. | `false` | no |
| `preserve_leading_whitespaces` | `bool` | Preserves leading whitespace in messages when set to `true` | `false` | no |
| `preserve_trailing_whitespaces` | `bool` | Preserves trailing whitespace in messages when set to `true` | `false` | no |

The `encoding` argument specifies the encoding of the incoming syslog messages.
`encoding` must be one of `utf-8`, `utf-16le`, `utf-16be`, `ascii`, `big5`, `nop`.
Expand Down

0 comments on commit 85b2cd0

Please sign in to comment.