Web API Stream to Alert
Web API Stream to Alert
Section titled “Web API Stream to Alert”Create a web data stream, sync it into Rokks, and add an alert that watches the resulting data.
- Open Web Data and create a connection.
- Add a stream for one endpoint.
- Test a sample response.
- Review the generated transform plan.
- Configure a sync schedule.
- Wait for Dispatcher to submit the first scheduled sync, then confirm in the Job Queue that it finishes successfully.
- Build a small dashboard widget from the stream.
- Open Sentinel Alerts.
- Create a rule that uses a field from the synced source.
- Test the rule and notification path.
Manual Web API Sync and Full Sync actions are currently unavailable in the UI and Sidekick. This tutorial therefore uses the first Dispatcher-scheduled run as the end-to-end validation.
Common mistakes
Section titled “Common mistakes”Do not build the widget or alert before the first scheduled sync has completed and its output has been validated.
Do not create an alert rule against a field whose type or unit is still unclear.
If the alert does not trigger, check the stream job first. A rule can be correct while the source data is stale, empty, or loaded into a different tenant than the one you are testing.