Report Settings
The file type a report produces, whether empty reports are sent, and AI summaries.
A Report runs a query on a schedule and turns the results into a file, which is then delivered to the people or the
Feed
Feed
Where an Analytic Rule turns each row of its query into a separate detection, a Report turns the whole result table into a single document. Use a Report when somebody wants a periodic summary of what the data shows, and an Analytic Rule when somebody needs telling about individual things as they are found.
Reports and Analytic Rules are built on the same machinery and share most of their configuration. Anything documented for Analytic Rules applies to Reports unless stated otherwise here.
| Tab | Difference from an Analytic Rule |
|---|---|
| Query | The same, except that the table preferences you set also shape the file produced, see Query. |
| Settings | Reports only, see Report Settings. |
| Notifications | The same destinations, but they deliver a file rather than a detection, see Delivery. |
| Execution | Identical, see Execution. |
| Documentation | Included in the report’s Excel info sheet and available to email templates. |
The Processing Type on a Report’s Execution tab offers only Scheduled Query. Reports are always run on a schedule, so there is no streaming or table builder equivalent. They also have no Duplicate Management tab, because a report is a periodic summary and is expected to repeat.
The Query tab works as it does on an Analytic Rule, with one important difference.
The table preferences you set by interacting with the results, such as hidden columns, value formats and sort order, are stored on the report and applied when the report is generated. What you see in the results table while developing the query is therefore what the recipient will get.
Relative date expressions resolve against the report’s effective execution time rather than the current clock time, which is what allows a report for last month to be produced correctly today.
Reports are run by the Reports job, which is disabled by default. A report will not run until that job has been enabled in
.The job controls how often Stroom looks for report schedules that are due, not how often a report is produced.
Reports use the same stroom.analytics configuration as Analytic Rules, including the SMTP settings that email delivery depends on, see Email Setup.
The defaults offered in the UI for the processing node, error feed and destination feed come from stroom.ui.reportUiDefaultConfig rather than from the equivalent analytics property.
The file type a report produces, whether empty reports are sent, and AI summaries.
Delivering a report by email or to a feed, and the template context available to report emails.