Skip to content

Commit bb85cbf

Browse files
joseaclcsatib02
authored andcommitted
Add format_key and format_name in ParseSection and SingleParseSection
Signed-off-by: joseacl <[email protected]>
1 parent fefa674 commit bb85cbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/sdk/logging/model/filter/parser.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ type ParserConfig struct {
6868
type ParseSection struct {
6969
// Parse type: apache2, apache_error, nginx, syslog, csv, tsv, ltsv, json, multiline, none, logfmt, grok, multiline_grok
7070
Type string `json:"type,omitempty"`
71+
// Only available when using type: multi_format
7172
// If set, add this key to record with value being pattern format_name
7273
FormatKey string `json:"format_key,omitempty"`
7374
// Regexp expression to evaluate

0 commit comments

Comments
 (0)