Scheduled reports
A scheduled report is a file of your monitoring data, made on a schedule and sent to the people who need it. A weekly operations summary for the team, a monthly uptime record for a customer, a daily list of expiring certificates for the on-call engineer: you choose the data, the time window, the schedule and the format once, and WatchTower15 builds the file each time and delivers it through the Notification Policies you pick.
What a report is
Section titled “What a report is”A report is made of one to five sections. Each section is one dataset (for example Server resource usage, Incidents or SSL certificate expiry) with the entities it covers (all of them, the ones with certain tags, resolved afresh at each run, or a list you choose), its filters and its columns. The report as a whole has one time window, one schedule, one format, and one or more Notification Policies.
For example, Weekly operations might hold three sections: server resource usage for the servers tagged production,
the incidents of the week, and the certificates that expire within 30 days. It runs every Monday at 07:00, as an XLSX file,
and goes to ops@example.com and the on-call contact group through the Operations policy.
Who can use Reports
Section titled “Who can use Reports”Open Reporting → Reports. Three permissions control it (see Roles and permissions):
| Permission | What it allows |
|---|---|
reports.view |
Open Reports, see your own reports and their tabs, download your files, read the catalogue |
reports.edit |
Create, change, preview, pause and resume your reports, and use Send now |
reports.delete |
Delete your reports and remove their files |
Only Admins hold these until your organisation grants them to its own roles. You see and change only your own reports. Another member’s report does not exist for you, unless you are an Admin (see below).
A report needs more than reports.view: it needs the view permission of every dataset it reads (Servers — view for a
server dataset, for example) and policies.view to choose its Notification Policies. Saving a report without one is refused,
and the message names the permission that is missing.
An Admin sees every member’s reports on Reporting → Reports, with an Owner column. Another member’s report opens a drawer with its owner, datasets, schedule, policies, state, last run and next run. An Admin can pause or delete any of them, and can never open, download or edit one; only the owner can resume it.
The catalogue
Section titled “The catalogue”Catalogue, on the Reports page, lists the 40 datasets a report can use, in nine groups: Servers, Domains, Services, Databases, Logs, Custom metrics, Alarming, Security and Audit. A dataset you cannot use is greyed, with the permission to ask your Admin for.
Datasets come in three kinds:
- Snapshot: the state of things as it is when the report runs.
- Events: what happened during the report’s window.
- Series: one row per entity per interval across the window.
A dataset tagged Names people can hold personal data, such as an email address, a phone number or a login. The Report data reference lists every dataset, the permission it needs, how far back it reads, and each of its columns with its type, its unit and whether it can name a person.
Building a report
Section titled “Building a report”Choose New report. The builder is a wizard of three steps:
- Info: the name (unique among your own reports), an optional description, and the Delivery: the Notification Policies the report goes to (one or more, searchable), the Format (CSV or XLSX) and the Delivery type: Link to download the file, or Attachment (where possible).
- Data: the sections, each with its entities, filters and columns, and the live preview beside them.
- Schedule: the time Window and the Recurrence.
A new report goes through the steps in order: the Data step opens once the report has a name, and the Schedule step once it has a section. When you edit a report, every step is open. Save (Create report for a new one), Cancel and, when you edit a report you may delete, Delete sit under the wizard, so you can save from any step.
The live preview, on the Data step, says in words what will be fetched, shows the first 25 rows of each section as the file will hold them, and estimates the rows and the size. It also names any permission you are missing; until you hold it, Save is off on every step and says why. A section you cannot read shows no rows. A section that takes too long says so in the preview; the report itself has 10 minutes to run.
The time window
Section titled “The time window”The window uses the time-range selector found on every page, starting at 1d. A recurring report takes a relative window only, and the window ends at the report’s scheduled hour, not when the file is generated. Consecutive reports therefore tile exactly, with no gap and no overlap.
Calendar dates are offered only with the Once schedule, and they must lie in the past. To report on a period that has not happened yet, use a relative window ending at the report’s hour.
Granularity decides which store a series section reads: 15s reads the detailed store (30 days back), 1h reads the hourly one (10 years back). A few datasets offer one choice only, or read one store whatever you choose, and the builder says which. Snapshot and events sections ignore granularity.
Rows per sets the length of an interval for most series sections: Auto, 1 hour, 6 hours, 1 day or 1 week. Database storage growth always has one row a day.
A window that reaches further back than a dataset keeps starts at the dataset’s oldest data, and the preview and the file both say so.
Schedules
Section titled “Schedules”A report runs:
- Once;
- every 1, 2, 3, 4, 6, 8 or 12 hours, counted from local midnight, so every 6 hours is 00:00, 06:00, 12:00 and 18:00;
- daily;
- weekly, on one or more days;
- monthly, on a day from 1 to 28 or on the last day.
A report always runs on the hour, and never more than once an hour. You can set a start date and an end date; the report is Completed after its end date.
Reports go out a few minutes after their hour, and later when many are due. Late by, on the Generated reports tab, says how much. A missed hour is not caught up: the next run sends the latest report, and the missed ones are listed as skipped.
Send now makes a report straight away, so it is how you try one. It is available on Active, Paused and Completed reports, and refused while a report is Needs permissions or Owner inactive. You can use it once per report every 15 minutes. Its window ends at the start of the current hour (a pinned window stays as it is). It goes through the Notification Policy like a scheduled run, and the report’s state and schedule stay as they were. The file is ready in a few minutes; a run still waiting after two hours is skipped, so send it again.
Timezones
Section titled “Timezones”A report keeps the timezone of its owner’s profile at the moment it was first saved (the browser’s zone when the profile says Browser), and shows it. Changing the profile later does not move the report. The hour of the schedule falls in that zone, and the times in the file, the email and the chat message are written in it. See Times and timezones.
Zones 30 or 45 minutes off the hour (India, Nepal, parts of Australia): the report goes out 30 or 45 minutes after its hour, by how far the zone is off the hour, and its window still ends at the local hour.
Clock changes: an hour that does not exist runs at the next one, and an hour that happens twice runs once.
Formats
Section titled “Formats”A report is a CSV or an XLSX file. The file name is <report>-<date>-<time>.<ext>, with the extension csv, zip or
xlsx.
- CSV: UTF-8 with a byte-order mark, a header row with units, and times written with their offset. One section is one
.csvfile. With more than one section the file is a zip holding anabout.txtand one file per section. - XLSX: an About this report sheet first, then a sheet for each section, with real numbers and dates and the timezone in the column header.
An XLSX file and a zipped CSV name the report’s owner. A one-section CSV does not.
Text that starts with =, +, -, @ or a control character is written so that a spreadsheet never runs it as a formula.
WatchTower15’s internal numbers never appear in a file, only names and UUIDs.
A section past its row limit is cut, and the file says so. A one-section CSV has nowhere to say it, so the run and the email do. A run that takes more than 10 minutes, or makes a file over 100 MB (100,000,000 bytes), fails and asks you to narrow the window or the entities.
Delivery
Section titled “Delivery”A report is delivered through the Notification Policies you choose (see Notification channels). With several policies, the report reaches everyone on any of them once: a person or a channel on two of them gets one delivery. A report goes to the Warning recipients of each policy it names: a policy’s separate Critical route (see Warning and Critical routing) never receives reports.
Who gets what. A user, or a member of a contact group, gets the email only as an active member who holds every permission the data needs. Anyone else is skipped, and the run’s deliveries say why. Slack, Teams and webhook destinations receive only the link. SMS and WhatsApp are not used for reports, and an inactive destination is skipped.
The email has the subject Report ready:
Signed links. A link is valid for 7 days and is checked again at every click. It stops working when its owner loses access, when the file is removed or when the report is deleted, and works again if the access returns within the 7 days. A refused link says This file is no longer available. Ask the report’s owner for a new copy. Each use of a link is counted and recorded with the IP address it came from; a mail gateway that opens links counts as a use. The owner can always download the file again from Generated reports.
Webhooks. A webhook channel receives the report.generated event: a small JSON body with type, timestamp and
data, which holds the organisation, the report, the run (its trigger, window, timezone, format, rows, size and generation
time) and the download link with its expiry. The body never holds the file.
Every post carries the webhook-id, webhook-timestamp and webhook-signature headers of the Standard Webhooks scheme. The
signature is v1, followed by the base64 HMAC-SHA256 of <webhook-id>.<webhook-timestamp>.<body>, keyed by the base64-decoded
part of the signing secret after whsec_. A failed post is retried for about 20 minutes with the same webhook-id, so drop a
repeat you have already handled.
The signing secret. On a webhook channel’s page, the Report signing card has Rotate secret (it needs
channels.edit). The new secret is shown once, when you rotate it, and can never be read again. The old secret stops working
at once, so a channel’s first rotation is how you get its first secret, and your receiver rejects events until it has the new
one. Alarm webhooks are unchanged and are not signed.
Downloading from a program. Follow the redirect to a file address that is good for 60 seconds, and send a normal
User-Agent header: the default user agent of some HTTP libraries can be refused with a 403, and curl’s is not.
Audit data. The forensic columns of the two audit datasets (the email address, IP address, browser and page of the person
behind an event) are off until you turn them on, and every recipient of them holds audit.view.
The report’s page
Section titled “The report’s page”A report’s page offers Send now, Pause or Resume and Edit, according to its state and your permissions. Delete is on the Edit page. The page has four tabs.
- Overview: the report’s settings in words, each policy linked to its page, a banner for its state, when it runs next and when it last ran, and a warning when a report takes more than two minutes to make. A last run that was skipped or failed is marked beside it.
- Data: what the report holds: its window, granularity and format, then each section with its entities, its filters, its rows and its columns, in the order of the file. Change the data opens the Edit page on its Data step.
- Generated reports: every run, newest first, opening on the last year. Each shows its time, trigger, window, format, rows, size, generation time, how late it was, its status (Waiting, Generating, Succeeded, Failed or Skipped) and its deliveries. A failed or skipped run says why.
- Audit: the report’s events (see Audit trail).
Open a run by its time and a drawer shows its details, each delivery (to whom, by which channel, its status, how often its link was used and until when), Download and Remove. Removing a file stops it from being downloadable here and from any link already sent; WatchTower15 keeps it for auditing. Show removed lists these runs and who removed them.
Deleting a report, from its Edit page, stops it. Its files and its history are kept.
The Audit tab names every change to a report’s settings: a section added or removed, the sections’ order, and within a section its title, its entities, each filter, the columns added or removed and its rows; the policies added or removed, the delivery type, the window and the schedule.
When access changes
Section titled “When access changes”A report is in one of five states: Active, Paused, Needs permissions, Owner inactive and Completed.
A report never runs while it is Needs permissions or Owner inactive. As soon as a change takes away something a report needs, the report stops and its owner is emailed the reports affected, the permission each one needs and the Admins who can help. When the access returns, the report resumes by itself and the owner is told, unless they had paused it. Runs due while it was stopped are not sent. Editing the report to drop what is missing also starts it again. Resume refuses while a permission is still missing.
An owner who is suspended or removed. The owner’s reports stop, and each Admin is emailed the owner’s name and the reports’ names and schedules. An Admin can pause or delete them from Reporting → Reports. Ownership cannot be transferred. The reports run again only if the owner’s membership returns.
Failing reports. After three failures in a row the owner is emailed, once. The report keeps trying, because a failure is usually a slow data store.
Limits
Section titled “Limits”| Limit | Value |
|---|---|
| Reports per member | 25 |
| Reports per organisation | 100 (an account limit) |
| Sections in a report | 5 |
| Entities in a section | 500 |
| Rows in a section | 100,000 |
| File size | 100 MB (100,000,000 bytes) |
| Time to make a report | 10 minutes |
| Send now | once per report every 15 minutes |
| Previews | 30 a minute |
| Link downloads | 60 a minute per IP address |
Reports are not billed.
How long files are kept
Section titled “How long files are kept”Every file, whether it was made on its schedule or by Send now, is kept for as long as your account exists, removed files included, as your record of what was generated and sent. Files are deleted with the rest of your data within 30 days of your written request when your subscription ends (see Data retention). Copies that were already emailed or downloaded are outside WatchTower15.