AzureMonitor: Parse non-fatal errors for Logs (#51320) (#51362)

(cherry picked from commit b10ddfdf8c)

Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2022-06-24 09:13:15 +02:00
committed by GitHub
co-authored by Andres Martinez Gotor
parent 40ff163fde
commit b429aa11fe
7 changed files with 174 additions and 6 deletions
@@ -0,0 +1,40 @@
{
"tables": [
{
"name": "PrimaryResult",
"columns": [
{
"name": "OperationName",
"type": "string"
},
{
"name": "Level",
"type": "string"
}
],
"rows": [
[
"Create or Update Virtual Machine",
"Informational"
]
]
}
],
"error": {
"code": "PartialError",
"message": "There were some errors when processing your query.",
"details": [
{
"code": "EngineError",
"message": "Something went wrong processing your query on the server.",
"innererror": {
"code": "-2133196797",
"message": "The results of this query exceed the set limit of 1 records.",
"severity": 2,
"severityName": "Error"
}
}
]
}
}