MappingRequest
MappingRequest
Create mapping request body a map with key as mapping name and value as mapping metadata and default 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"
}
}
}