Skip to content

az monitor app-insights with --output gives no output #4472

Open

Description

Describe the bug

az monitor app-insights with --output provides no output, while without --output it works fine.

Example command that works:

$ az monitor app-insights query -g resource -a name --analytics-query "requests | where url contains '.servicebus.windows.net/t_'" --start-time "2022-02-01" --offset 30d | wc -l
28629

Example that doesn't work

$ az monitor app-insights query -g resource -a name --analytics-query "requests | where url contains '.servicebus.windows.net/t_'" --start-time "2022-02-01" --offset 30d --output table | wc -l
1

Command Name
az monitor app-insights query Extension Name: application-insights. Version: 0.1.15.

To Reproduce:

Run az monitor app-insights query with --output

Expected Behavior

Get output in the specified output

Environment Summary

Linux-5.10.0-11-amd64-x86_64-with-debian-11.2, Debian GNU/Linux 11 (bullseye)
Python 3.6.10
Installer: DEB

azure-cli 2.33.1

Extensions:
application-insights 0.1.15

Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Auto-AssignAuto assign by botCustomer UsageMonitorTraigedcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-requestThis issue requires a new behavior in the product in order be resolved.needs-team-triageThis issue needs the team to triage.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions