When I run the default sample app deepstream-test5-app
The detection results show up on the message broker like this:
{
"messageid" : "c8262bdb-f75d-4201-a040-60529b1874d9",
"mdsversion" : "1.0",
[b] "@timestamp" : "1970-01-01T00:00:46.399Z",
[/b]
"place" : {
"id" : "0",
"name" : "HWY_20_AND_LOCUST__EBA",
"type" : "office",
"location" : {
"lat" : 30.32,
"lon" : -40.549999999999997,
"alt" : 100.0
},
"entrance" : {
"name" : "C_127_158",
"lane" : "Lane 1",
"level" : "P1",
"coordinate" : {
"x" : 1.0,
"y" : 2.0,
"z" : 3.0
}
}
},
"sensor" : {
"id" : "HWY_20_AND_LOCUST__EBA__4_11_2018_4_59_59_508_AM_UTC-07_00",
"type" : "Camera",
"description" : "Office Camera",
"location" : {
"lat" : 45.293701446999997,
"lon" : -75.830391449900006,
"alt" : 48.155747933800001
},
"coordinate" : {
"x" : 5.2000000000000002,
"y" : 10.1,
"z" : 11.199999999999999
}
},
"analyticsModule" : {
"id" : "XYZ",
"description" : "Person Detection",
"source" : "AVA",
"version" : "1.0",
"confidence" : 0.0
},
"object" : {
"id" : "72",
"speed" : 0.0,
"direction" : 0.0,
"orientation" : 0.0,
"Person" : {
},
"bbox" : {
"topleftx" : 771,
"toplefty" : 223,
"bottomrightx" : 1007,
"bottomrighty" : 748
},
"location" : {
"lat" : 0.0,
"lon" : 0.0,
"alt" : 0.0
},
"coordinate" : {
"x" : 0.0,
"y" : 0.0,
"z" : 0.0
}
},
"event" : {
"id" : "4daf6c7e-6ed6-4b55-a6e8-946c137b224f",
"type" : "entry"
},
"videoPath" : ""
}
How do I ensure that instead of logging the detection event in the epoch time, it shows the time in UTC
@timestamp" : "1970-01-01T00:00:46.399Z