Objective
Connect a bucket or a file server, register a file dataset with its contract, and follow each expected day. Use Add a Data Source for a database.
Before you start
- On Lerian Cloud, make sure your SFTP or FTP server accepts the three Reporter addresses. Read Network access.
- Have the JSON contract file ready. Read File dataset contract.
- Have the connection details. For SFTP, have the public keys of the server. For an AWS bucket, you also need access to the role in your AWS account.
Add a file source
1
Open File sources
Go to Settings, then File sources, and click Add file source.
2
Choose the type and the name
Select Type: S3, SFTP, or FTP. Enter Name. The name must be unique among your file sources.
3
Fill in the connection details
Enter the fields of the type. The table below lists them.
4
Save the source
Click Save.
For SFTP, Authentication is Password or Private key. A private key has an optional Key passphrase. Known hosts holds the public keys of the server, one per line. For FTP, TLS is None (plain FTP), Explicit (STARTTLS) (the default), or Implicit.
Connect an AWS bucket
An AWS bucket needs a role in your AWS account. Reporter does not accept an access key for it.1
Copy the trust values
After you save the source, copy Trusted principal and External ID.
2
Update the role
In AWS, add the trusted principal to the trust policy of your role. Make the policy require the external ID. Allow the role to list the bucket and read its objects.
3
Enter the role
Enter Role ARN in the form and save. Reporter tests the role before it saves it.
Test, edit, or delete a file source
Click Test connection on the source. A success shows Connection successful with the latency in milliseconds. A failure shows the reason. The Status column shows Connected, Failed, or Not checked. Read File sources for what each reason means. Click Edit to change a source. The form never shows a stored secret. A blank secret keeps the stored one. If you change where a stored secret goes, the form asks for the secret again. The type of a source never changes. Click Delete to delete a source. Reporter refuses the deletion while a file dataset uses it.
Create a file dataset
1
Open File datasets
Go to Settings, then File datasets, and click Add file dataset.
2
Name the dataset and select the source
Enter Name. Templates read the dataset by this name, and it never changes. Select File source.
3
Set the schedule
Set the schedule fields. The Field guide below lists them.
4
Add the contract
Pick the
.json contract file, or paste the text in the text area.5
Save the dataset
Click Save.
sha256sum of your file.
The list shows each dataset with its file source, its schedule, and its contract version. Use Edit to change the source or the schedule. Use Delete to delete a dataset. Reporter keeps its days, files, and contract versions. It refuses the deletion while a template or an active regulatory mapping reads the dataset.
Work with a dataset
Click View Details on a dataset. The page has four cards: File source, Schedule, Contract, and Days.
Contract versions
The Contract card shows the version in use and a table of every version, with In use, Created At, and the SHA-256. Click View to read a version. The dialog shows the contract reformatted, but the SHA-256 is still that of the file as you sent it. Click New contract version to add the next one. It enters use at once. After Reporter accepts a delivery, a new version can only add. Read Contract versions.The days list
The Days card lists days, newest first, 10 for each page. Filter by State (All, Waiting for delivery, Accepted or no delivery, Refused, or Fetch failed), by From and To, or open a date with Day to open. Each row shows the date, the state, Last attempt, and the revision. Last attempt shows the time, the trigger (Schedule or Requested by an operator), and the outcome. A day with no attempt shows No attempt yet. A day declared without delivery shows No delivery. A late day with no accepted delivery also shows Overdue.The day sheet
Click a day to open its sheet. It shows the revisions, newest first, with the contract version and the revision of the sender. It shows each file with its table, rows, size, and SHA-256, and the warnings. For a declared day, it shows Declared without delivery by, with the operator and the time. For a refused day, each finding of the last attempt is labeled Refuses the day or Warning. It shows the table and the message of Reporter. A message of a row check counts rows and never shows a cell value. A message of atotal control shows the totals that it compared.
Request a fetch
1
Open the day
Open the sheet of the day.
2
Request the fetch
Click Request fetch.
3
Wait for the result
The sheet shows a message that starts with Fetch requested. It refreshes every 5 seconds, for up to 8 minutes.
Declare no delivery
Use this when the sender delivered nothing for a day, and nothing is wrong. The button appears only for a day in the Waiting for delivery or Fetch failed state, or a day with no record yet.1
Open the day
Open the sheet of the day.
2
Declare it
Click Declare no delivery, read the message, and confirm.
On reports and data sources
A report preview, a failure sheet, and a filing detail list Dataset days read with their count. They show No delivery for an empty day and Revised for a day that a later delivery replaced. A file dataset also has a File dataset badge and a Manage link on Data Sources.Field guide
Expected result
The source shows Connected. The days of the dataset move to Accepted as the files arrive.
Common errors and care points
The test shows host blocked
The test shows host blocked
Lerian Cloud and any multi-tenant installation refuse private and internal addresses. Use a public address.
The test shows timeout or host unreachable
The test shows timeout or host unreachable
On Lerian Cloud, make sure the server allows the three addresses in Network access.
A day stays Waiting for delivery
A day stays Waiting for delivery
The source lacks a required file or the manifest. Ask the sender to deliver it, then click Request fetch.
Next steps
- Read File datasets for how days and schedules work.
- Read File dataset contract to write or change a contract.
- Use Generate a Report after the first day is accepted.

