korrel8r template
korrel8r template
Apply a Go template to the korrel8r engine.
Synopsis
Apply a Go template to the korrel8r engine. Reads stdin by default if neither –file nor –template is provided. Useful for testing rule and store templates.
korrel8r template [--file FILE|--template STRING] [flags]
Options
-f, --file string read template from file
-h, --help help for template
-t, --template string use template string
Options inherited from parent commands
-c, --config string Configuration file (default "/etc/korrel8r/korrel8r.yaml")
-o, --output string One of [json json-pretty ndjson yaml] (default "yaml")
--profile string Enable profiling: One of [alloc block clock cpu goroutine heap mem mutex trace]
--profilePath string Output path for profile
-v, --verbose int Verbosity for logging (0: notice/error, 1: info/warn, 2: debug, 3: per-request, 4: per-rule, 5: per-query, 9: extra detail