Skip to content

Commit 1840bf4

Browse files
authored
Merge pull request #426 from fluent/fix-in-tail-group-match-format
in_tail: Fix the value format of match parameter in <group> section
2 parents 31d93e3 + fd6a7f0 commit 1840bf4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

input/tail.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@ Example:
416416
417417
<rule>
418418
match {
419-
namespace: /shopping/,
420-
podname: /frontend/,
419+
"namespace": "/shopping/",
420+
"podname": "/frontend/",
421421
}
422422
limit 1000
423423
</rule>
@@ -464,9 +464,9 @@ Grouping rules for log files.
464464

465465
| type | default | version |
466466
| :--- | :--- | :--- |
467-
| hash | {"namespace": /./, "podname": /./} | 1.15 |
467+
| hash | {"namespace": "/./", "podname": "/./"} | 1.15 |
468468

469-
`match` parameter is used to check if a file belongs to a particular group based on hash keys (named captures from `pattern`) and hash values (regexp)
469+
`match` parameter is used to check if a file belongs to a particular group based on hash keys (named captures from `pattern`) and hash values (regexp in string)
470470

471471
##### limit
472472

0 commit comments

Comments
 (0)