{
  "GlobalSettings": {
    "type": "dynamic",
    "separator": "_",
    "commonReplaceChars": "/"
  },
  "vectors": [
    {
      "URL": "$BaseURL/$AppName/metric-data?metric-path=Application%20Infrastructure%20Performance%7C%2A%7CIndividual%20Nodes%7C%2A%7CHardware%20Resources%7CMemory%7C%2A&time-range-type=BEFORE_NOW&duration-in-mins=1",
      "urlId": 1,
      "replaceParams": [
        {
          "param": "TIER",
          "path": "$.metric-datas.metric-data.metricPath",
          "splitChar": "\\|",
          "pickIndex": "1"
        },
        {
          "param": "NODE",
          "path": "$.metric-datas.metric-data[?(@.metricPath =~/.*?TIER\\|.*?/i)].metricPath",
          "splitChar": "\\|",
          "pickIndex": "3"
        }
      ],
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.metric-datas.metric-data[*].metricPath",
          "splitChar": "\\|",
          "pickIndex": "1"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.metric-datas.metric-data[?(@.metricPath =~/.*?TIER\\|.*?/i)].metricPath",
          "splitChar": "\\|",
          "pickIndex": "3"
        }
      ],
      "metrics": [
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER\\|.*.NODE\\|.*Buffer.*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 2,
              "type": 1
            },
            {
              "name": "max",
              "index": 3,
              "type": 1
            },
            {
              "name": "count",
              "index": 4,
              "type": 1
            },
            {
              "name": "value",
              "index": 1,
              "type": 1
            }
          ]
        },
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER\\|.*.NODE\\|.*Cache.*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 6,
              "type": 1
            },
            {
              "name": "max",
              "index": 7,
              "type": 1
            },
            {
              "name": "count",
              "index": 8,
              "type": 1
            },
            {
              "name": "value",
              "index": 5,
              "type": 1
            }
          ]
        },
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER\\|.*.NODE\\|.*Free %.*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 10,
              "type": 1
            },
            {
              "name": "max",
              "index": 11,
              "type": 1
            },
            {
              "name": "count",
              "index": 12,
              "type": 1
            },
            {
              "name": "value",
              "index": 9,
              "type": 1
            }
          ]
        },
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER\\|.*.NODE\\|.*Free (MB).*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 14,
              "type": 1
            },
            {
              "name": "max",
              "index": 15,
              "type": 1
            },
            {
              "name": "count",
              "index": 16,
              "type": 1
            },
            {
              "name": "value",
              "index": 13,
              "type": 1
            }
          ]
        },
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER\\|.*.NODE\\|.*Total (MB).*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 18,
              "type": 1
            },
            {
              "name": "max",
              "index": 19,
              "type": 1
            },
            {
              "name": "count",
              "index": 20,
              "type": 1
            },
            {
              "name": "value",
              "index": 17,
              "type": 1
            }
          ]
        },
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER\\|.*.NODE\\|.*Used %.*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 22,
              "type": 1
            },
            {
              "name": "max",
              "index": 23,
              "type": 1
            },
            {
              "name": "count",
              "index": 24,
              "type": 1
            },
            {
              "name": "value",
              "index": 21,
              "type": 1
            }
          ]
        },
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER\\|.*.NODE\\|.*Used (MB).*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 26,
              "type": 1
            },
            {
              "name": "max",
              "index": 27,
              "type": 1
            },
            {
              "name": "count",
              "index": 28,
              "type": 1
            },
            {
              "name": "value",
              "index": 25,
              "type": 1
            }
          ]
        }
      ],
      "URLSetting": {
        "requestType": "get"
      }
    },
    {
      "URL": "$BaseURL/$AppName/metric-data?metric-path=Application%20Infrastructure%20Performance%7C%2A%7CHardware%20Resources%7CMemory%7C%2A&time-range-type=BEFORE_NOW&duration-in-mins=1",
      "urlId": 2,
      "depURLIds": [
        1
      ],
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.metric-datas.metric-data[*].metricPath",
          "splitChar": "\\|",
          "pickIndex": "1"
        },
        {
          "defName": "OverAll",
          "isPartOfHierarchy": true
        }
      ],
      "metrics": [
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER#1\\|.*Buffer.*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 2,
              "type": 1
            },
            {
              "name": "max",
              "index": 3,
              "type": 1
            },
            {
              "name": "count",
              "index": 4,
              "type": 1
            },
            {
              "name": "value",
              "index": 1,
              "type": 1
            }
          ]
        },
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER#1\\|.*Cache.*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 6,
              "type": 1
            },
            {
              "name": "max",
              "index": 7,
              "type": 1
            },
            {
              "name": "count",
              "index": 8,
              "type": 1
            },
            {
              "name": "value",
              "index": 5,
              "type": 1
            }
          ]
        },
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER#1\\|.*Free (MB).*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 10,
              "type": 1
            },
            {
              "name": "max",
              "index": 11,
              "type": 1
            },
            {
              "name": "count",
              "index": 12,
              "type": 1
            },
            {
              "name": "value",
              "index": 9,
              "type": 1
            }
          ]
        },
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER#1\\|.*Free (MB).*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 14,
              "type": 1
            },
            {
              "name": "max",
              "index": 15,
              "type": 1
            },
            {
              "name": "count",
              "index": 16,
              "type": 1
            },
            {
              "name": "value",
              "index": 13,
              "type": 1
            }
          ]
        },
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER#1\\|.*Total (MB).*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 18,
              "type": 1
            },
            {
              "name": "max",
              "index": 19,
              "type": 1
            },
            {
              "name": "count",
              "index": 20,
              "type": 1
            },
            {
              "name": "value",
              "index": 17,
              "type": 1
            }
          ]
        },
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER#1\\|.*Used %.*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 22,
              "type": 1
            },
            {
              "name": "max",
              "index": 23,
              "type": 1
            },
            {
              "name": "count",
              "index": 24,
              "type": 1
            },
            {
              "name": "value",
              "index": 21,
              "type": 1
            }
          ]
        },
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER#1\\|.*Used (MB).*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 26,
              "type": 1
            },
            {
              "name": "max",
              "index": 27,
              "type": 1
            },
            {
              "name": "count",
              "index": 28,
              "type": 1
            },
            {
              "name": "value",
              "index": 25,
              "type": 1
            }
          ]
        }
      ],
      "URLSetting": {
        "requestType": "get"
      }
    }
  ]
}
