Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PathRegex = regexp.MustCompile(`\{([^{}]+)\}`) UserTemplateVRLTmpl = template.Must(template.New("template VRL").Parse(templateVRLTmplStr)) )
Functions ¶
func TemplateRemap ¶
func TransformUserTemplateToVRL ¶
TransformUserTemplateToVRL converts the user entered template to VRL compatible syntax Example: foo-{.log_type||"none"} -> "foo-" + to_string!(.log_type||"none")
Types ¶
Click to show internal directories.
Click to hide internal directories.