{
  "GlobalSettings": {
    "type": "dynamic",
    "separator": "_",
    "commonReplaceChars": "/"
  },
  "vectors": [
    {
      "URL": "$BaseURL/$AppName/metric-data?metric-path=Errors%7C%2A%7C%2A%7CIndividual%20Nodes%7C%2A%7CErrors%20per%20Minute&time-range-type=BEFORE_NOW&duration-in-mins=1",
      "urlId": 1,
      "replaceParams": [
        {
          "param": "path1",
          "path": "$.metric-datas.metric-data[*].metricPath",
          "splitChar": "\\|",
          "pickIndex": "1"
        },
        {
          "param": "path2",
          "path": "$.metric-datas.metric-data[?(@.metricPath =~/.*path1\\|.*/i)].metricPath",
          "splitChar": "\\|",
          "pickIndex": "2"
        },
        {
          "param": "path3",
          "path": "$.metric-datas.metric-data[?(@.metricPath =~/.*path1\\|path2\\|.*/i)].metricPath",
          "splitChar": "\\|",
          "pickIndex": "4"
        }
      ],
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.metric-datas.metric-data[*].metricPath",
          "splitChar": "\\|",
          "pickIndex": "1"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.metric-datas.metric-data[?(@.metricPath =~/.*path1\\|.*/i)].metricPath",
          "splitChar": "\\|",
          "pickIndex": "2"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.metric-datas.metric-data[?(@.metricPath =~/.*path1\\|path2\\|.*/i)].metricPath",
          "splitChar": "\\|",
          "pickIndex": "4"
        }
      ],
      "metrics": [
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*path1\\|path2\\|.*.path3\\|.*Errors per Minute.*/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 =~/.*path1\\|path2\\|.*.path3\\|.*Number of Errors.*/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
            }
          ]
        }
      ],
      "URLSetting": {
        "requestType": "get"
      }
    },
    {
      "URL": "$BaseURL/$AppName/metric-data?metric-path=Errors%7C%2A%7C%2A%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"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.metric-datas.metric-data[?(@.metricPath =~/.*path1#1\\|.*/i)].metricPath",
          "splitChar": "\\|",
          "pickIndex": "2"
        },
        {
          "defName": "OverAll",
          "isPartOfHierarchy": true
        }
      ],
      "metrics": [
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*path1#1\\|path2#1\\|.*Errors per Minute.*/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 =~/.*path1#1\\|path2#1\\|.*Number of Errors.*/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
            }
          ]
        }
      ],
      "URLSetting": {
        "requestType": "get"
      }
    }
  ]
}
