MappingDefaultObject

MappingDefaultObject
MappingDefaultObject

json mapping to map the collected data

JSON Example
{
    "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"
    }
}
mapping
Required

json mapping to map the collected data