Lenses
Lenses are saved filter presets — a name, a color, and a set of filters that you can apply to Log Explorer in one click.
Create a Lens for “production errors”, another for “payment service”, another for “mobile crashes” — and switch between them without re-entering filters every time.
What you’ll need
- A project with events flowing in
- At least one meaningful filter combination worth saving
Step 1: Navigate to Lenses
Click Lenses in the left sidebar, or look for the Lenses section within Log Explorer’s sidebar.
You’ll see your saved lenses listed. Each shows its name and color indicator.
Step 2: Create a lens
Click New Lens.
Fill in:
- Name — something descriptive, e.g.
Production ErrorsorPayment API - Color — pick a color for the sidebar indicator (helps visually distinguish lenses)
- Filters — set any combination of level, service, environment, type, and search term
Click Save.
The lens now appears in your sidebar. Click it to instantly apply those filters to Log Explorer.
Step 3: Apply a lens
Click any lens in the sidebar or lenses list to apply it.
Log Explorer will open with those filters pre-applied. The URL will update to reflect the active filters — you can bookmark or share the URL.
Tip: Create a lens for
level=error, environment=productionand name it “Prod Errors”. Check it every morning as part of your daily review.
Step 4: Edit a lens
Click the Edit icon (pencil) next to any lens to update its name, color, or filters.
Changes take effect immediately — any active application of that lens in Log Explorer will update on next click.
Step 5: Reorder lenses
Drag lenses in the list to reorder them. The order determines how they appear in the sidebar.
Note: Put your most-used lenses at the top so they’re always visible without scrolling.
Step 6: Delete a lens
Click the Delete icon (trash) next to a lens to remove it.
Deleted lenses cannot be recovered, but since they’re just saved filter combinations, recreating them is quick.
You’re done
You now know how to:
- Create a lens with a name, color, and filter set
- Apply a lens from the sidebar
- Edit and reorder lenses
- Delete lenses you no longer need
Related docs
Lenses are stored per-project. The lens API allows creating and managing lenses programmatically if you want to provision them automatically.