Search your logs, events, and errors
under review
M
Michael (Driverforge)
Anvil currently lets you narrow down logs, events, and errors through facet checkboxes — level, controller, driver, status, and so on. Search would add free-text content search on top of that, so you can find events containing a specific word or phrase rather than only the ones matching a known field.
The same search bar handles both. Type
level:ERROR
and it filters by field — the same as clicking the facet, just expressed as text. Type timeout
and it looks through the message content for that word. You can mix them: level:ERROR timeout
shows ERROR-level logs whose message contains "timeout". Clicking facets updates the query in the bar, and editing the bar updates the facets, so however you prefer to work, the other side stays in sync.Searches live in the URL, so anything you find is shareable — paste the link into chat or into a ticket and whoever opens it lands on the same filtered view. Autocomplete suggests field names and recent values as you type, so the syntax is discoverable without having to memorise it. Searching events or errors follows through into their associated logs, so a query for a word in a log message surfaces the event or error that log belongs to.
What we're thinking:
- One search bar shared across Logs, Events, and Errors pages
- field:valuesyntax for structured filtering (free on all plans)
- Free-text content search (Solo and above)
- Quoted phrase and negation (-level:DEBUG) support
- Facets and search bar stay bidirectionally in sync
- Autocomplete for field names, values, and recent searches
- Shareable URLs that round-trip the full query
- Events and errors matched via their associated log messages
- Saved searches and search-based alerts in a later phase
Help us shape this:
- When you're debugging a specific issue, what's the first thing you usually try to find — a word in a log message, a specific controller, an error type?
- Would saved searches be valuable, or do you usually compose a query from scratch each time?
- What fields would you most want to search on that we haven't listed — driver name, MAC, version, something else?
M
Michael (Driverforge)
updated the status to
under review