Skip to content

Commit

Permalink
Merge pull request #426 from fluent/fix-in-tail-group-match-format
Browse files Browse the repository at this point in the history
in_tail: Fix the value format of match parameter in <group> section
  • Loading branch information
ashie authored Sep 12, 2022
2 parents 31d93e3 + fd6a7f0 commit 1840bf4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions input/tail.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,8 @@ Example:
<rule>
match {
namespace: /shopping/,
podname: /frontend/,
"namespace": "/shopping/",
"podname": "/frontend/",
}
limit 1000
</rule>
Expand Down Expand Up @@ -464,9 +464,9 @@ Grouping rules for log files.

| type | default | version |
| :--- | :--- | :--- |
| hash | {"namespace": /./, "podname": /./} | 1.15 |
| hash | {"namespace": "/./", "podname": "/./"} | 1.15 |

`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)
`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)

##### limit

Expand Down

0 comments on commit 1840bf4

Please sign in to comment.