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
Constraints: default:

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

string As ^.*$
instance
Optional
Constraints: default:

Device or Object for which the metrics are collected.

string As ^.*$
properties.entityName
Optional
Constraints: default:

Entityname of device and property to extract from json

string As ^.*$
properties.entityType
Optional
Constraints: default:

Entitytype of device and property to extract from json

string As ^.*$
processedTimestamp
Optional
Constraints: default:

Timestamp when the collector has processed the metric.

string As ^.*$
metrics
Optional
Constraints: default:

Key Value pair consisting of metric name and metric value

string As ^.*$
type
Optional
Constraints: default:

Name of the data source (Kafka-Collector)

string As ^.*$
properties.dataSource
Optional
Constraints: default:

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

string As ^.*$
properties.deviceName
Optional
Constraints: default:

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

string As ^.*$
timestamp
Optional
Constraints: default:

Timestamp as propagated by the device.

string As ^.*$
properties.deviceType
Optional
Constraints: default:

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

string As ^.*$
tags
Optional
Constraints: default:

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