{
  "GlobalSettings": {
    "type": "dynamic",
    "separator": "_",
    "commonReplaceChars": "/"
  },
  "vectors": [
    {
      "URL": "$BaseURL/providers/microsoft.insights/metrics?api-version={$apiVersion}&metricnames=Average_%25%20Free%20Inodes%2CAverage_%25%20Free%20Space%2CAverage_%25%20Used%20Inodes%2CAverage_%25%20Used%20Space%2CAverage_Disk%20Read%20Bytes%2Fsec%2CAverage_Disk%20Reads%2Fsec%2CAverage_Disk%20Transfers%2Fsec%2CAverage_Disk%20Write%20Bytes%2Fsec%2CAverage_Disk%20Writes%2Fsec%2CAverage_Free%20Megabytes%2CAverage_Logical%20Disk%20Bytes%2Fsec%2CAverage_%25%20Available%20Memory%2CAverage_%25%20Available%20Swap%20Space%2CAverage_%25%20Used%20Memory%2CAverage_%25%20Used%20Swap%20Space%2CAverage_Available%20MBytes%20Memory%2CAverage_Available%20MBytes%20Swap%2CAverage_Page%20Reads%2Fsec%2CAverage_Page%20Writes%2Fsec%2CAverage_Pages%2Fsec&timespan={$start_time}/{$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "metrics": [
        {
          "mPath": "$.value[0].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 1,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[1].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 2,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[2].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 3,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[3].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 4,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[4].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 5,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[5].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 6,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[6].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 7,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[7].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 8,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[8].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 9,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[9].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 10,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[10].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 11,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[11].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 12,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[12].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 13,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[13].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 14,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[14].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 15,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[15].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 16,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[16].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 17,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[17].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 18,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[18].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 19,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[19].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 20,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        }
      ],
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.resourceregion"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "4"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "8"
        }
      ]
    },
    {
      "URL": "$BaseURL/providers/microsoft.insights/metrics?api-version={$apiVersion}&metricnames=Average_Used%20MBytes%20Swap%20Space%2CAverage_Used%20Memory%20MBytes%2CAverage_Total%20Bytes%20Transmitted%2CAverage_Total%20Bytes%20Received%2CAverage_Total%20Bytes%2CAverage_Total%20Packets%20Transmitted%2CAverage_Total%20Packets%20Received%2CAverage_Total%20Rx%20Errors%2CAverage_Total%20Tx%20Errors%2CAverage_Total%20Collisions%2CAverage_Avg.%20Disk%20sec%2FRead%2CAverage_Avg.%20Disk%20sec%2FTransfer%2CAverage_Avg.%20Disk%20sec%2FWrite%2CAverage_Physical%20Disk%20Bytes%2Fsec%2CAverage_Pct%20Privileged%20Time%2CAverage_Pct%20User%20Time%2CAverage_Used%20Memory%20kBytes%2CAverage_Virtual%20Shared%20Memory%2CAverage_%25%20DPC%20Time%2CAverage_%25%20Idle%20Time&timespan={$start_time}/{$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "metrics": [
        {
          "mPath": "$.value[0].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 21,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[1].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 22,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[2].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 23,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[3].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 24,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[4].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 25,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[5].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 26,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[6].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 27,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[7].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 28,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[8].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 29,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[9].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 30,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[10].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 31,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[11].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 32,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[12].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 33,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[13].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 34,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[14].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 35,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[15].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 36,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[16].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 37,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[17].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 38,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[18].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 39,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[19].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 40,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        }
      ],
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.resourceregion"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "4"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "8"
        }
      ]
    },
    {
      "URL": "$BaseURL/providers/microsoft.insights/metrics?api-version={$apiVersion}&metricnames=Average_%25%20Interrupt%20Time%2CAverage_%25%20IO%20Wait%20Time%2CAverage_%25%20Nice%20Time%2CAverage_%25%20Privileged%20Time%2CAverage_%25%20Processor%20Time%2CAverage_%25%20User%20Time%2CAverage_Free%20Physical%20Memory%2CAverage_Free%20Space%20in%20Paging%20Files%2CAverage_Free%20Virtual%20Memory%2CAverage_Processes%2CAverage_Size%20Stored%20In%20Paging%20Files%2CAverage_Uptime%2CAverage_Users%2CAverage_Current%20Disk%20Queue%20Length%2CAverage_Available%20MBytes%2CAverage_%25%20Committed%20Bytes%20In%20Use%2CAverage_Bytes%20Received%2Fsec%2CAverage_Bytes%20Sent%2Fsec%2CAverage_Bytes%20Total%2Fsec%2CAverage_Processor%20Queue%20Length&timespan={$start_time}/{$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "metrics": [
          {
          "mPath": "$.value[0].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 41,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[1].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 42,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[2].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 43,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[3].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 44,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[4].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 45,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[5].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 46,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[6].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 47,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[7].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 48,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[8].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 49,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[9].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 50,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[10].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 51,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[11].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 52,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[12].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 53,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[13].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 54,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[14].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 55,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[15].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 56,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[16].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 57,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[17].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 58,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[18].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 59,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[19].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 60,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        }
      ],
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.resourceregion"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "4"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "8"
        }
      ]
    },
    {
      "URL": "$BaseURL/providers/microsoft.insights/metrics?api-version={$apiVersion}&metricnames=Heartbeat%2CUpdate%2CEvent&timespan={$start_time}/{$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "metrics": [
        {
          "mPath": "$.value[0].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 61,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[1].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 62,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[2].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "average",
              "index": 63,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        }
      ],
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.resourceregion"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "4"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "8"
        }
      ]
    }
  ]
}
