MappingObject

MappingObject
MappingObject

json mapping to map the collected data

JSON Example
{
    "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"
}
string As ^.*$
metricType
Optional

Device type or Class of the Object for which the metrics are collected.

string As ^.*$
instance
Optional

Device or Object for which the metrics are collected.

string As ^.*$
properties.entityName
Optional

Entityname of device and property to extract from json

string As ^.*$
properties.entityType
Optional

Entitytype of device and property to extract from json

string As ^.*$
processedTimestamp
Optional

Timestamp when the collector has processed the metric.

string As ^.*$
metrics
Optional

Key Value pair consisting of metric name and metric value

string As ^.*$
type
Optional

Name of the data source (Kafka-Collector)

string As ^.*$
properties.dataSource
Optional

Key Value pair of type String and String respectively of properties associated with the object.

string As ^.*$
properties.deviceName
Optional

Key Value pair of type String and String respectively of properties associated with the object.

string As ^.*$
timestamp
Optional

Timestamp as propagated by the device.

string As ^.*$
properties.deviceType
Optional

Key Value pair of type String and String respectively of properties associated with the object.

string As ^.*$
tags
Optional

Key Value pair of type String and String respectively of tags associated with the object.