Logs
The Logs page searches the log events of every Unstract Flow run in your organization, and a project's Logs tab searches the runs of that project's workflows. Use it to follow one run in detail, or to find runs that hit the same error. A search reads the 500 most recent runs that started in the range. A run that started before the range is left out, along with the events it logged inside the range. A search returns up to 10,000 events, listed oldest first. When it reaches 10,000, it keeps the newest, and a note above the list says that older matches may be missing. To see them, narrow the time, pick a workflow or search one run. Load more adds the next events of the same search, from the range as it was when you searched: to see events logged since, select Apply again. An export also stops at 10,000 events and keeps the newest, and the message shown when it downloads says so.
Filter the events
Set the filters, then select Apply, or press Enter in the search box.
| Filter | Options |
|---|---|
| Time | Last 1 hour, Last 24 hours, Last 7 days, Last 30 days, Last 90 days |
| Source | All sources, Ledger (the run's steps), RPA, LLM |
| Level | All levels, Debug, Info, Warn, Error |
| Workflow | Start typing a workflow's name |
The project menu beside the filters, at All projects to start with, narrows the events, the chart, the chips and an export to one project's workflows. It applies at once, without Apply, and the page keeps it in its address as ?project_id=. A link to a project you can't open, such as a deleted one, opens at All projects. With a project picked, Workflow offers that project's workflows, and picking another project clears Workflow. A project's Logs tab has no project menu.
The search box takes plain text, matched as one phrase, or a field such as level:error. Plain text finds events that contain it as you typed it, ignoring case. A shortened word such as conn usually finds nothing, and failed doesn't find "fails". To match part of a word, or text that contains a colon, search a field, for example message:"https://api.example.com". Put quotes around a field's value when it has spaces, for example message:"connection refused". Quotes work only around a field's value. Around plain text they are searched for too, so the search usually finds nothing. The chips beside the list narrow it by value, for example to one step.
To search one run further back, add ?run_id= and the run's ID to the end of the Logs page's address. The page then shows that run's logs alone, and the time menu adds Last 365 days. It opens on Last 7 days, so choose the longer range and select Apply. When the run leaves the address, a range longer than 90 days returns to Last 90 days. Flow deletes a run's logs once the run has ended and its start is older than your organization's retention period.
Event volume charts events per hour or per day for runs that have ended. It follows every filter, the search box, the step chip and a run named in the address. The chart updates when you select Apply. If counting takes longer than 10 seconds, which can happen with a short, common word over a long range, the chart shows Couldn't count the events for this search. The list still shows the events. Search for a longer phrase or pick a shorter range to get the chart back.
Read an event
Select an event to open it. The pane shows its message, the run, workflow and step it belongs to, its timing, and the raw event. Open the run opens the run's details on its workflow's runs page.
Export
Select Export and, in Export logs, pick a format: JSONL (raw, per-line JSON), CSV (Excel-friendly) or Plain text (human-readable). Current filters only exports what the list shows. All events in time range drops the source, level, step and search filters, and keeps the project, the workflow and a run named in the address.
Save a view
Select Save this view to keep the current filters under a name. Saved lists your saved views. A saved view keeps the filters in the bar, without the project, and opens on whichever project the page shows.
Retention
Flow keeps run logs for 90 days by default. An organization admin sets it between 1 and 365 days:
- Open the organization menu and select Organization settings.
- Go to the Logs tab. The setting is under Run log retention.
- Enter the number of days and a Reason for the change of at least 4 characters, then select Save retention. Only an organization admin can save it.
Shortening the retention deletes the older logs of ended runs, from the next daily sweep on, including the Execution Logs in each run's details and the run's matches against reference tables. Phrases a table learned from the run's reviews stay. They can't be recovered.
The Logs page's time filter reaches back 90 days. With retention set longer, reach one run's older events by its run ID, as Filter the events describes.