Skip to content

[docs] aspire logs: document --search option#948

Open
aspire-repo-bot[bot] wants to merge 1 commit into
release/13.4from
docs/aspire-logs-search-performance-861a4a577d800436
Open

[docs] aspire logs: document --search option#948
aspire-repo-bot[bot] wants to merge 1 commit into
release/13.4from
docs/aspire-logs-search-performance-861a4a577d800436

Conversation

@aspire-repo-bot
Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#17010 by @davidfowl.

Targeting release/13.4 based on the source PR milestone 13.4.

Why this PR is needed

PR microsoft/aspire#17010 added server-side log search filtering to the aspire logs command, dramatically reducing overhead when searching large log streams (131s → 0.9s in a 75,000-line benchmark). The --search / -s option was already present in the CLI but was not documented in the reference docs. This PR adds the missing option documentation.

Changes

  • Updated src/frontend/src/content/docs/reference/cli/commands/aspire-logs.mdx:
    • Expanded the Description section to mention full-text search filtering.
    • Added the --search <search> / -s option entry, including a note about automatic server-side filtering when connected to a v2+ AppHost backchannel.
    • Added two new examples: filtering logs by search text and combining --search with --tail for a specific resource.

Files modified

  • src/frontend/src/content/docs/reference/cli/commands/aspire-logs.mdx (updated)

Generated by PR Documentation Check for issue #17010 · ● 14.1M ·

Documents the --search / -s option added in microsoft/aspire#17010,
including server-side filtering behavior when connected to a v2+
AppHost auxiliary backchannel.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label May 14, 2026
@aspire-repo-bot aspire-repo-bot Bot requested a review from IEvangelist May 14, 2026 02:41
@IEvangelist IEvangelist marked this pull request as ready for review May 14, 2026 11:46
@IEvangelist IEvangelist requested a review from mitchdenny as a code owner May 14, 2026 11:46
Copilot AI review requested due to automatic review settings May 14, 2026 11:46
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents the previously-undocumented --search / -s option for aspire logs, reflecting recent CLI improvements for server-side log filtering to reduce overhead on large log streams.

Changes:

  • Expands the aspire logs description to mention full-text log searching/filtering.
  • Adds documentation for -s, --search <search>, including a note about server-side filtering when supported.
  • Adds examples showing basic search and search combined with --tail for a specific resource.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


- **`-s, --search <search>`**

Full-text search to filter log content. Only log lines whose message or resource name contains the specified text are shown. When connected to an AppHost that supports the v2 or later auxiliary backchannel, filtering is applied server-side before log lines are transferred, which significantly reduces overhead for large log streams.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant