Hi Experts,
I have a particular requirement from a customer, they would like to send a e-mail automatically when an alert is created.
1. Is there an automatic feature directly in SAS Visual Investigator to do that ?
2. There is a API endpoint to get alerts created filtering from a specific date as parameter ?
3. Should we create a process reading directly from internal SVI database (Postgres) ?
Thanks in advance,
Regards,
Hello,
1. No, there is not an automatic feature for sending emails on alert creation.
2. Sure, there is an REST endpoint for finding alerts created since a specific timestamp. This URL will find all alerts created after midnight on September 6th.
GET http://{{host}}:{{port}}/svi-alert/alerts?filter=gt(alertVersionTimeStamp,2022-09-06)
GET http://{{host}}:{{port}}/svi-alert/alerts?filter=gt(alertVersionTimeStamp,2022-09-05T19:00:00.000-05:00)
GET http://{{host}}:{{port}}/svi-alert/alerts?filter=and(gt(alertVersionTimeStamp,2022-09-06),eq(domainId,mydomain))
Hello,
1. No, there is not an automatic feature for sending emails on alert creation.
2. Sure, there is an REST endpoint for finding alerts created since a specific timestamp. This URL will find all alerts created after midnight on September 6th.
GET http://{{host}}:{{port}}/svi-alert/alerts?filter=gt(alertVersionTimeStamp,2022-09-06)
GET http://{{host}}:{{port}}/svi-alert/alerts?filter=gt(alertVersionTimeStamp,2022-09-05T19:00:00.000-05:00)
GET http://{{host}}:{{port}}/svi-alert/alerts?filter=and(gt(alertVersionTimeStamp,2022-09-06),eq(domainId,mydomain))
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!