orderId:ord_123 to see what went wrong for one order, then open the run at that span.
To write logs and spans from a task, see Logging, tracing & metrics. Attributes are the object you pass as the second argument to logger, for example { orderId: "ord_123" }, and they’re searchable.
Self-hosted instances need extra setup before the Logs page appears. See Logs page.
Open the Logs page
The Logs page is under Observability in the dashboard sidebar, after you select a project and environment. It shows logs for the selected environment only. Switch environments to search another one.Log list
Rows are sorted by the Time column, newest first.
Spans are listed once they finish. To watch a span in progress, open its run page. Hover a row and click View run to open the run page at the span the row belongs to.
Log detail panel
Click a row to open it in a side panel. The panel shows:- The run ID, the run’s current status, and View full run (shortcut
V), which opens the run page at the span the row belongs to - The task, level, and timestamp
- The full message
- The attributes, as JSON
Esc to close the panel.
Search syntax
Search runs when you press Enter. It’s case-insensitive and searches one block of text: the message, followed by the attributes as JSON, keys included. There are no operators: quotes,*, OR, and a leading - are searched as text or ignored.
- To match part of a word, include a digit or one of
_ . / : @ + -, as inord_12. Other punctuation doesn’t count, so the*indeclin*has no effect and it’s still a whole-word search fordeclin. - “Anything else” covers several words, numbers, IDs (
run_abc123), paths (/api/orders/42), email addresses, and words with accents or non-Latin characters. - Punctuation other than
_ . / : @ + -counts as a space, sopayment, failedandpayment failedfind the same logs. key:valueis a text match, not a field comparison:status_code:500also findshttp_status_code:500,status_code:5000, and the same text in a message. Spaces around the colon are ignored, and the value can contain spaces:note:payment failed.- For a nested attribute, join the keys with colons:
order:id:ord_123finds{ order: { id: "ord_123" } }. Dotted keys, such as OpenTelemetry attributes, are stored nested, so searchhttp.status_codeashttp:status_code:500.
Filters
Filters combine with search.
There’s no run status filter. To list failed runs, use the Runs page, then filter the Logs page by run ID.
Click the X after the filters to clear all filters and the search.
Filters, the search term, and the selected log are stored in the page URL, so you can copy the URL to share a search.
Time range
The page shows the last day by default. You can choose a longer period, up to your plan’s log retention: 1 day on Free, 7 days on Hobby, and 30 days on Pro. See log retention limits. When a search over the default last day finds nothing and your plan keeps logs for longer, the page offers to widen it to 7 days, or to your full retention if that’s shorter.Log levels
The level filter matches these rows:
Cancelled spans appear only when no level filter is set.
Search limits
- A search needs at least 3 characters.
- Search covers the first 2 KB of a message and the first 6 KB of its attributes, measured as JSON, keys included. A large attribute, such as a prompt or a tool result, can use up the 6 KB, so keys stored after it aren’t searchable. These search limits don’t apply to the detail panel, which shows the log as it was stored. To make a value searchable on a large span, log it on its own line with a small attributes object.
- Results load newest first as you scroll. Searched back to under the list shows how far the search has reached, and Showing all means the whole time range has been searched.
- If a search runs for 20 seconds without filling the page, it pauses and shows Keep searching. Click it to continue.
- Large searches run in time slices, and a slice that times out is retried on a smaller one when it can be split. If part of a search still times out, the page keeps what it found and shows Search incomplete. A very broad search can also return an error instead. Shorten the time range or add a filter to complete it.

