How do custom macros work?

You can define as many custom macros as you wish at the module setup.

At the Custom macros section, through the “create” button, we can add key-value pairs to the macros list, heading to the following:

KEY-VALUE

  • _macroname_: Custom value for the module we are setting up.

There are no restrictions as the number of custom macros you can set. The recommended pattern is as follows:

_key_

For instance:

_technology_
_modulepriority_
_contactperson_

These macros can be referenced at the Alert section, where the content of _key_ will be swapped for the value defined at the module setup. For instance:

_key_ => "log system"

This is a sample mail, the agent reports new content detection on _key_.

Which would turned to:

This is a sample mail, the agent reports new content detection on log system.
Was this article helpful?

Related Articles