Skip to content

[Monitor] az monitor log-analytics query fails with MemoryError #1799

@cladic

Description

@cladic

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az monitor log-analytics query Extension Name: log-analytics. Version: 0.1.4.

Errors:

The command failed with an unexpected error. Here is the traceback:



Traceback (most recent call last):
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-7cl6xofh\knack\knack\cli.py", line 221, in invoke
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-7cl6xofh\knack\knack\output.py", line 149, in out
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-7cl6xofh\knack\knack\output.py", line 42, in format_json
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\json\__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\json\encoder.py", line 202, in encode
    return ''.join(chunks)
MemoryError

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az monitor log-analytics query -w {} --analytics-query {}

Expected Behavior

Environment Summary

Windows-10-10.0.14393-SP0
Python 3.6.6
Installer: MSI

azure-cli 2.5.1 *

Extensions:
log-analytics 0.1.4

Additional Context

Metadata

Metadata

Assignees

Labels

customer-reportedIssues that are reported by GitHub users external to the Azure organization.enhancementfeature-requestThis issue requires a new behavior in the product in order be resolved.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions