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 encode. Must be a string. Field cfg.FieldSelector `json:"field" parse:"selector" required:"true"` //* Field_ []string }
! config-params ^ config-params
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
{ introduction It replaces field with its JSON string representation.
**Example:** ```yaml pipelines:
example_pipeline: ... actions: - type: json_encode field: server ...
``` It transforms `{"server":{"os":"linux","arch":"amd64"}}` into `{"server":"{\"os\":\"linux\",\"arch\":\"amd64\"}"}`.
}
Click to show internal directories.
Click to hide internal directories.