From 9387a2cd2c7072f39fecfaf3942e983e991fd6c8 Mon Sep 17 00:00:00 2001 From: Andrzej Stencel Date: Mon, 9 Oct 2023 16:35:53 +0200 Subject: [PATCH] [chore][docs] fix typo in stanza timestamp docs (#27482) The [regex_parser](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.86.0/pkg/stanza/docs/operators/regex_parser.md#configuration-fields)'s property name is `regex`, not `regexp`. --- pkg/stanza/docs/types/timestamp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/stanza/docs/types/timestamp.md b/pkg/stanza/docs/types/timestamp.md index 49eb82909b4d..e7a50eade1d8 100644 --- a/pkg/stanza/docs/types/timestamp.md +++ b/pkg/stanza/docs/types/timestamp.md @@ -17,7 +17,7 @@ If a timestamp block is specified, the parser operator will perform the timestam ```yaml - type: regex_parser - regexp: '^Time=(?P\d{4}-\d{2}-\d{2}), Host=(?P[^,]+)' + regex: '^Time=(?P\d{4}-\d{2}-\d{2}), Host=(?P[^,]+)' timestamp: parse_from: attributes.timestamp_field layout_type: strptime