Skip to content

Commit

Permalink
[chore][docs] fix typo in stanza timestamp docs (#27482)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzej-stencel authored Oct 9, 2023
1 parent c25279d commit 9387a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/stanza/docs/types/timestamp.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ If a timestamp block is specified, the parser operator will perform the timestam

```yaml
- type: regex_parser
regexp: '^Time=(?P<timestamp_field>\d{4}-\d{2}-\d{2}), Host=(?P<host>[^,]+)'
regex: '^Time=(?P<timestamp_field>\d{4}-\d{2}-\d{2}), Host=(?P<host>[^,]+)'
timestamp:
parse_from: attributes.timestamp_field
layout_type: strptime
Expand Down

0 comments on commit 9387a2c

Please sign in to comment.