On this page
Guide: Search Several Workspaces Together
Step by step, share workspaces with your organization and search their logs together from any of them.
You have logs in more than one workspace, for example Checkout and Payments, and you want to search them together. This guide sets that up in a few minutes using an organization.
Nothing is copied. Each workspace keeps its own events, retention and settings, and a search reads them where they are.
Before you start
- You need to be the Owner of every workspace you want to include.
- Decide who should be able to see the shared logs. Everyone in the organization can search every shared workspace, whatever their role inside that workspace.
Step 1: Create an organization
- Switch to the first workspace, for example Checkout.
- Open Settings, then Organization.
- Choose Create an organization, name it (for example Acme) and save.
Step 2: Attach your other workspaces
For each other workspace, for example Payments:
- Open it with the workspace switcher.
- Open Settings, then Organization.
- Choose Attach to an existing organization, pick Acme, and confirm.
Step 3: Share the workspaces
- Open Settings, Organization, then the Sharing tab.
- Switch on Checkout and Payments, confirming each one.
Leave off any workspace that should stay private, for example one holding security or HR logs.
Step 4: Search across them
- Open the Log Explorer in any Acme workspace. A line under the heading lists the shared workspaces your search also covers.
- Search as usual. For example:
level:error | stats count() by _source_name
Results include events from the workspace you are in and every shared
workspace. Use _source_name or your own fields to tell them apart.
Step 5: Give your team access
Open Settings, Organization, Invitations and invite your teammates. Once they accept, they get a seat in every Acme workspace, and their Log Explorer searches cover the shared workspaces too.
Stop sharing
Switch the workspace off on the Sharing tab. Its logs stop appearing in organization searches straight away, and stay untouched in their own workspace.
Good to know
- Only stored events are shared. Sources, credentials, data pipelines, dashboards, alert rules, Liveness Checks and host metrics stay in their own workspace.
- Dashboards and alert rules always cover one workspace.
- Live Tail shows only the workspace you are in.
| deleteonly works on the events of the workspace you are in.