Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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