Azure / Azure/azure-cli-extensions
az monitor app-insights with --output gives no output
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
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
```
Contributor guide
Assessment
This issue has not been assessed yet.