Namespace Option in Slack Connector

Hey there @bm11100! :wave:

I believe you're talking about this namespace field correct?

If so, it'll exist on each individual alert document, so you'll need to loop over the alerts and fetch each one (instead of it being on the root context obj itself).

I just tested with the following template and was able to retrieve the data_stream.namespace off each alert generated:

{{#context.alerts}}
  {{data_stream.namespace}}
{{/context.alerts}}

Hope this helps! :slightly_smiling_face:

Cheers!
Garrett

1 Like