Skip to content

Commit a5ab0d4

Browse files
trigger() group option example (#146)
Added example for trigger option in grouping-by parser description . Signed-off-by: Zsolt Gyulai (zgyulai) <[email protected]>
2 parents 7d21e54 + 8e75e7d commit a5ab0d4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/_admin-guide/130_Correlating_log_messages/002_grouping-by_options.md

+9
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,15 @@ sends the triggered message (specified in the
162162
aggregate(), and clears the
163163
context.
164164

165+
### Example: Configuring trigger() with a 100 message context length
166+
167+
```config
168+
parser p_grouping-by {grouping-by(
169+
...
170+
trigger("$(context-length)" > "100")
171+
);};
172+
```
173+
165174
## where()
166175

167176
*Description:* Specifies a filter condition. Messages not matching the

0 commit comments

Comments
 (0)