Skip to content

Commit 108994b

Browse files
esmerelgguillotte
andauthored
Apply suggestions from code review
Co-authored-by: Garrett Guillotte <[email protected]> Signed-off-by: Lynette Miles <[email protected]>
1 parent 6f5d550 commit 108994b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pipeline/filters/expect.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
description: Testing your records for expected key and values
2+
description: Testing records to ensure they contain an expected key and values
33
---
44

55
# Expect
66

77
The _expect_ filter plugin lets you validate that records match certain criteria in their structure, like validating that a key exists or it has a specific value.
88

9-
For a detailed explanation of its usage and use cases, refer to [Validating and your Data and Structure](../../local-testing/validating-your-data-and-structure.md).
9+
For a detailed explanation of its usage and use cases, see [Validating and your Data and Structure](../../local-testing/validating-your-data-and-structure.md).
1010

1111
## Configuration parameters
1212

@@ -20,4 +20,4 @@ The plugin supports the following configuration parameters:
2020
| `key_val_is_not_null` | Check that the value of the key is `NOT NULL`. |
2121
| `key_val_eq` | Check that the value of the key equals the given value in the configuration. |
2222
| `action` | Action to take when a rule doesn't match. Available options are `warn` , `exit` or `result_key`. On `warn`, a warning message is sent to the logging layer when a mismatch of the `key*` rules is found. Using `exit` makes Fluent Bit exit with status code `255`. `result_key` adds a matching result to each record. |
23-
| `result_key` | Specify a key name of matching result. Used only when `action` is `result_key`.|
23+
| `result_key` | Specify a key name for the matching result added when `action` is set to `result_key`. |

0 commit comments

Comments
 (0)