Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// > @3@4@5@6
// >
// > The event field to which put the file name. Must be a string.
// >
// > Warn: it overrides fields if it contains non-object type on the path. For example:
// > if `field` is `info.level` and input
// > `{ "info": [{"userId":"12345"}] }`,
// > output will be: `{ "info": {"level": <level>} }`
Field cfg.FieldSelector `json:"field" parse:"selector" required:"false" default:"file_name"` // *
Field_ []string
}
! config-params ^ config-params
Click to show internal directories.
Click to hide internal directories.