Is there any option to add a filter for a particular notification using a user defined field
If the user wants to add a filter to a particular notification from notification list, for example:
If the event = discovery error and the discovery error info = *get next, user can add discovery-error-info as a user defined field. To have Discovery error in user defined field you must write a hook script and associate that script to the domain type so that, when notifications come into SAM the Script will check the notification details and set the user defined fields and the user can then filter the notifications based on user defined field.
The script is located under BASEDIR/smarts/local/rules/ics directory
File name is
dxa-sample-hook.asl File
The below screenshot shows how to map this particular script to a domain. Customized hook scripts must be located in the BASEDIR/smarts/local/rules/ics directory.
For example, the hook script ics/dxa-custom-hook2.asl is located in the BASEDIR/smarts/local/rules/ics directory.