CrowdSecC
CrowdSec13mo ago
49 replies
looterino

how to get notification variables

I'm trying to wrap my head around the syntax of notification variables, please be patient

"title": "{{.Type }} {{ .Value }} for {{.Duration}}",

I was reading this documentation but I do not understand how to map the parsed values to the notification variables, in order to create custom messages, can someone please show me some example?
like what if I want to add evt.Meta.IsoCode value?
thank you
Was this page helpful?