Skip to content

Commit

Permalink
minor fix to md docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hovavza committed Oct 14, 2023
1 parent eaa5f73 commit 49aee3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pkg/stanza/docs/operators/udp_input.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The `udp_input` operator listens for logs from UDP packets.
| `preserve_leading_whitespaces` | false | Whether to preserve leading whitespaces. |
| `preserve_trailing_whitespaces` | false | Whether to preserve trailing whitespaces. |
| `encoding` | `utf-8` | The encoding of the file being read. See the list of supported encodings below for available options. |
| `async` | {} | An `async` configuration block. See below for details. |
| `async` | nil | An `async` configuration block. See below for details. |

#### `multiline` configuration

Expand Down Expand Up @@ -50,11 +50,11 @@ for other encodings available.

If set, the `async` configuration block instructs the `udp_input` operator to read and process logs asynchronsouly and concurrently.

**note** If `async` is not set at all, a single thread will receive lines synchronously.
**note** If `async` is not set at all, a single thread will read lines synchronously.

| Field | Default | Description |
| --- | --- | --- |
| `readers` | 1 | Concurrency level - Determines how many go routines read from UDP port (and process logs before sending downstream). |
| `readers` | 1 | Concurrency level - Determines how many go routines read from UDP port (and process logs before sending downstream). |

### Example Configurations

Expand Down
6 changes: 3 additions & 3 deletions receiver/udplogreceiver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Receives logs over UDP.
| `multiline` | | A `multiline` configuration block. See below for details |
| `encoding` | `utf-8` | The encoding of the file being read. See the list of supported encodings below for available options |
| `operators` | [] | An array of [operators](../../pkg/stanza/docs/operators/README.md#what-operators-are-available). See below for more details |
| `async` | {} | An `async` configuration block. See below for details. |
| `async` | nil | An `async` configuration block. See below for details. |

### Operators

Expand Down Expand Up @@ -74,11 +74,11 @@ for other encodings available.

If set, the `async` configuration block instructs the `udp_input` operator to read and process logs asynchronsouly and concurrently.

**note** If `async` is not set at all, a single thread will receive lines synchronously.
**note** If `async` is not set at all, a single thread will read lines synchronously.

| Field | Default | Description |
| --- | --- | --- |
| `readers` | 1 | Concurrency level - Determines how many go routines read from UDP port (and process logs before sending downstream). |
| `readers` | 1 | Concurrency level - Determines how many go routines read from UDP port (and process logs before sending downstream). |

## Example Configurations

Expand Down

0 comments on commit 49aee3a

Please sign in to comment.