KafkaMapperEntityObject

KafkaMapperEntityObject
KafkaMapperEntityObject

Object contains a map, where key is the mapping name, and the value is an object of mapping metadata and json mapping

JSON Example
{
    "metadata": {
        "enabled": true,
        "description": "KMD RegEx Desc",
        "keys": [
            "string"
        ],
        "type": "json_metrics"
    },
    "default": {
        "mapping": {
            "metricType": "$.properties.devtype",
            "instance": "$.properties.instance",
            "properties.entityName": "$.properties.table",
            "properties.entityType": "$.properties.type",
            "processedTimestamp": "$.timestamp",
            "metrics": "$.metrics.*.value",
            "type": "Kafka-Metrics-Defn",
            "properties.dataSource": "$.properties.ip",
            "properties.deviceName": "$.properties.devdesc",
            "timestamp": "$.timestamp",
            "properties.deviceType": "$.properties.devtype",
            "tags": "$.relations.*.type"
        }
    }
}
metadata
Required

Mapping information e.g mapping name , mapping type

default
Required

json mapping to map the collected data