Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APP-6612] Add Filters for Downloading Logs #4673

Open
wants to merge 1 commit into
base: APP-6612-Support-Downloading-Logs
Choose a base branch
from

Conversation

JosephBorodach
Copy link

@JosephBorodach JosephBorodach commented Jan 3, 2025

See ticket here

Basic Text

Command

go run cli/viam/main.go machines logs -machine="1" --organization="viam-dev" --location="office temp" --output="logs.txt" --format="text"

Output

Screenshot 2025-01-02 at 4 08 51 PM

Text with Keyword Filter

Command

go run cli/viam/main.go machines logs -machine="1" --organization="viam-dev" --location="office temp" --output="logs.txt" --format="text" --keyword="stack"

Output

Screenshot 2025-01-03 at 1 00 01 PM

Text with Keyword Error Level

Command

go run cli/viam/main.go machines logs -machine="1" --organization="viam-dev" --location="office temp" --output="logs_error_level.txt" --format="text" --levels="error"

Output

@JosephBorodach JosephBorodach requested a review from a team as a code owner January 3, 2025 17:57
@JosephBorodach JosephBorodach requested review from stuqdog and purplenicole730 and removed request for a team January 3, 2025 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant