Document BYOC cross-cluster log search - #40205
Merged
Merged
Conversation
Contributor
Preview links (active after the
|
domalessi
reviewed
Sep 24, 2026
domalessi
left a comment
Contributor
There was a problem hiding this comment.
Left some feedback inline!
| byoc--<CLUSTER_NAME>--<INDEX_NAME> | ||
| ``` | ||
|
|
||
| ## Cross-cluster search |
Contributor
There was a problem hiding this comment.
Suggested change
| ## Cross-cluster search | |
| ## Search across BYOC Logs clusters |
|
|
||
| ## Cross-cluster search | ||
|
|
||
| Search multiple BYOC Logs clusters in a single query in the Log Explorer or through the public Logs API. Results from the selected clusters are combined. |
Contributor
There was a problem hiding this comment.
Suggested change
| Search multiple BYOC Logs clusters in a single query in the Log Explorer or through the public Logs API. Results from the selected clusters are combined. | |
| Use Log Explorer or the public Logs API to search across multiple BYOC Logs clusters with a single query. Results from the selected clusters are combined. |
|
|
||
| Search multiple BYOC Logs clusters in a single query in the Log Explorer or through the public Logs API. Results from the selected clusters are combined. | ||
|
|
||
| ### Log Explorer |
Contributor
There was a problem hiding this comment.
Suggested change
| ### Log Explorer | |
| ### Use Log Explorer |
|
|
||
| ### Log Explorer | ||
|
|
||
| In the [Log Explorer][1] search bar, use `index:` with a parenthesized list of cluster names prefixed with `byoc--` and separated by `OR`. For example, search the `cluster-1` and `cluster-2` clusters: |
Contributor
There was a problem hiding this comment.
Suggested change
| In the [Log Explorer][1] search bar, use `index:` with a parenthesized list of cluster names prefixed with `byoc--` and separated by `OR`. For example, search the `cluster-1` and `cluster-2` clusters: | |
| In the [Log Explorer][1] search bar, prefix each cluster name with `byoc--`. Group the names in parentheses after `index:`, separated by `OR`. For example: |
|
|
||
| Replace `cluster-1` and `cluster-2` with your BYOC Logs cluster names. | ||
|
|
||
| ### Public API |
Contributor
There was a problem hiding this comment.
Suggested change
| ### Public API | |
| ### Use the Logs API |
|
|
||
| ### Public API | ||
|
|
||
| Use the same query in the `filter.query` field of a request to the Search logs endpoint (`POST /api/v2/logs/events/search`). For example: |
Contributor
There was a problem hiding this comment.
Suggested change
| Use the same query in the `filter.query` field of a request to the Search logs endpoint (`POST /api/v2/logs/events/search`). For example: | |
| Send a request to the [Search logs endpoint][1] (`POST /api/v2/logs/events/search`). Set `filter.query` to a query that specifies multiple BYOC Logs clusters. For example: |
Co-authored-by: domalessi <111786334+domalessi@users.noreply.github.com>
domalessi
reviewed
Sep 25, 2026
domalessi
left a comment
Contributor
There was a problem hiding this comment.
A bit of link clean-up but otherwise looks good!
Co-authored-by: domalessi <111786334+domalessi@users.noreply.github.com>
Co-authored-by: domalessi <111786334+domalessi@users.noreply.github.com>
fmassot
reviewed
Sep 29, 2026
Co-authored-by: domalessi <111786334+domalessi@users.noreply.github.com> Co-authored-by: François Massot <francois.massot@gmail.com>
fmassot
approved these changes
Sep 29, 2026
domalessi
approved these changes
Sep 29, 2026
maxvp
approved these changes
Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do? What is the motivation?
Documents how to search across multiple BYOC Logs clusters in Log Explorer and through the public Logs API
Merge readiness
AI assistance
Used Codex to give me an initial draft and the JSON for the API example
For Datadog employees:
<name>/<description>convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR./reviewto run an automated check that catches common issues before a Documentation team member reviews your PR.Additional notes