Ali Atıl
12/16/2021, 10:59 AM{
"data": {
"employee": {
"name": "ali",
"salary": 56000,
"married": true,
"messageTime": 1639652167
}
}
}
Example schema:
{
"schemaName": "employee",
"dimensionFieldSpecs": [
{
"name": "name",
"dataType": "STRING"
},
{
"name": "salary",
"dataType": "DOUBLE"
},
{
"name": "married",
"dataType": "BOOLEAN"
}
],
"metricFieldSpecs": [],
"dateTimeFieldSpecs": [
{
"name": "messageTime",
"dataType": "LONG",
"format": "1:MILLISECONDS:EPOCH",
"granularity": "1:MILLISECONDS"
}
]
}Richard Startin
12/16/2021, 11:28 AMRichard Startin
12/16/2021, 11:30 AMRichard Startin
12/16/2021, 11:31 AMAli Atıl
12/16/2021, 11:32 AMRichard Startin
12/16/2021, 11:38 AMRichard Startin
12/16/2021, 11:40 AM"transformConfigs":[{"columnName" : "name", "transformFunction" : "jsonpath(data, '$.data.employee.name')}, ...
should do itRichard Startin
12/16/2021, 11:41 AMdata as well as the extracted attributesAli Atıl
12/16/2021, 11:46 AM