All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Workers - Write structured queries to filter and search your Workers logs and traces

4mo ago

Source

CloudflareWorkers - Write structured queries to filter and search your Workers logs and tracescloudflare.com
Snippet from the RSS feed
Workers Observability now includes a query language that lets you write structured queries directly in the search bar to filter your logs and traces. The search bar doubles as a free text search box — type any term to search across all metadata and attributes, or write field-level queries for precise filtering. Queries written in the search bar sync with the Query Builder sidebar, so you can write a query by hand and then refine it visually, or build filters in the Query Builder and see the corresponding query syntax. The search bar provides autocomplete suggestions for metadata fields and operators as you type. The query language supports: Free text search — search everywhere with a keyword like error , or match an exact phrase with "exact phrase" Field queries — filter by specific fields using comparison operators (for example, status = 500 or $workers.wallTimeMs > 100 ) Operators — = , != , > , >= , < , <= , and : (contains) Functions — contains(field, value) , startsWith(field, prefix) , regex(field, pattern) , and exists(field) Boolean logic — add conditions with AND , OR , and NOT Select the help icon next to the search bar to view the full syntax reference, including all supported operators, functions, and keyboard shortcuts. Go to the Workers Observability dashboard to try the query language.

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.