{
  "Monitor": {
    "monitorName": "KafkaTopicMonitor",
    "isEnabled": true,
    "vector": {
      "defString": "KafkaTopicVector",
      "merge": false
    },
    "mbeans": {
      "beans": [
        {
          "objectNamePattern": "kafka.server:type=BrokerTopicMetrics,name=BytesInPerSec,topic=*",
          "vectors": {
            "type": "dynamic",
            "prefix": "",
            "defString": "",
            "separator": "_",
            "property":[ {
              "name": "topic",
              "value": "",
              "depth": 1,
              "operation": "equals"
            }]
          },
          "attribute": [
            {
              "name": "Count",
              "type": 1,
              "dataType": "long",
              "index": 1,
              "path": "",
              "value": ""
            },
            {
              "name": "PerSec",
              "type": 2,
              "dataType": "",
              "index": 2,
              "path": "",
              "value": ""
            }
          ]
        },
        {
          "objectNamePattern": "kafka.server:type=BrokerTopicMetrics,name=BytesOutPerSec,topic=*",
          "vectors": {
            "type": "dynamic",
            "prefix": "",
            "defString": "",
            "separator": "_",
            "property": [{
              "name": "topic",
              "value": "",
              "depth": 1,
              "operation": "equals"
            }]
          },
          "attribute": [
            {
              "name": "Count",
              "type": 1,
              "dataType": "long",
              "index": 3,
              "path": "",
              "value": ""
            },
            {
              "name": "PerSec",
              "type": 2,
              "dataType": "",
              "index": 4,
              "path": "",
              "value": ""
            }
          ]
        },
        {
          "objectNamePattern": "kafka.server:type=BrokerTopicMetrics,name=BytesRejectedPerSec,topic=*",
          "vectors": {
            "type": "dynamic",
            "prefix": "",
            "defString": "",
            "separator": "_",
            "property": [{
              "name": "topic",
              "value": "",
              "depth": 1,
              "operation": "equals"
            }]
          },
          "attribute": [
            {
              "name": "Count",
              "type": 1,
              "dataType": "long",
              "index": 5,
              "path": "",
              "value": ""
            },
            {
              "name": "PerSec",
              "type": 2,
              "dataType": "",
              "index": 6,
              "path": "",
              "value": ""
            }
          ]
        },
        {
          "objectNamePattern": "kafka.server:type=BrokerTopicMetrics,name=FailedFetchRequestsPerSec,topic=*",
          "vectors": {
            "type": "dynamic",
            "prefix": "",
            "defString": "",
            "separator": "_",
            "property":[ {
              "name": "topic",
              "value": "",
              "depth": 1,
              "operation": "equals"
            }]
          },
          "attribute": [
            {
              "name": "Count",
              "type": 1,
              "dataType": "long",
              "index": 7,
              "path": "",
              "value": ""
            },
            {
              "name": "PerSec",
              "type": 2,
              "dataType": "",
              "index": 8,
              "path": "",
              "value": ""
            }
          ]
        },
        {
          "objectNamePattern": "kafka.server:type=BrokerTopicMetrics,name=FailedProduceRequestsPerSec,topic=*",
          "vectors": {
            "type": "dynamic",
            "prefix": "",
            "defString": "",
            "separator": "_",
            "property": [{
              "name": "topic",
              "value": "",
              "depth": 1,
              "operation": "equals"
            }]
          },
          "attribute": [
            {
              "name": "Count",
              "type": 1,
              "dataType": "long",
              "index": 9,
              "path": "",
              "value": ""
            },
            {
              "name": "PerSec",
              "type": 2,
              "dataType": "",
              "index": 10,
              "path": "",
              "value": ""
            }
          ]
        },
        {
          "objectNamePattern": "kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec,topic=*",
          "vectors": {
            "type": "dynamic",
            "prefix": "",
            "defString": "",
            "separator": "_",
            "property": [{
              "name": "topic",
              "value": "",
              "depth": 1,
              "operation": "equals"
            }]
          },
          "attribute": [
            {
              "name": "Count",
              "type": 1,
              "dataType": "long",
              "index": 11,
              "path": "",
              "value": ""
            },
            {
              "name": "PerSec",
              "type": 2,
              "dataType": "",
              "index": 12,
              "path": "",
              "value": ""
            }
          ]
        }
      ]
    }
  }
}