Null metrics and default values

Hello,

Is there a way to set a default value to a metric of type “longSum” when it comes without value?

Error message in realtime nodes:

Dec 13 17:42:42 ip-10-152-18-103 druid-realtime: 2016-12-13T17:42:42,726 ERROR [chief-PublisherTrackingTime[0]] io.druid.segment.realtime.RealtimeManager - RuntimeException aborted realtime processing[PublisherTrackingTime]: {class=io.druid.segment.realtime.RealtimeManager, exceptionType=class com.metamx.common.parsers.ParseException, exceptionMessage=Unable to parse metrics[geo_start], value}

``

Json ingested by realtime nodes:

{“location_start”: 367, “campaign”: 24323, “jq_end”: “”, “is_pc”: false, “geo_start”: “”, “site”: “directhealthinsurance.com”, “browser_version”: “”, “config_start”: “”, “me_start”: 446, “jq_start”: “”, “end”: 1154, “zip”: “33169”, “is_bot”: false, “is_touch_capable”: false, “os_version”: “”, “state”: “FL”, “is_mobile”: false, “geo_end”: “”, “displayid”: 0, “type”: “callback”, “config_end”: “”, “location_end”: 701, “ecdatatype”: “”, “md”: 5, “engagementoption”: “4”, “is_tablet”: false, “os_family”: “Other”, “date”: “2016-12-13T20:41:53”, “interactionid”: “0afc9015-0dfe-4c3e-90c3-3c68ce20ce2a”, “src”: “directhealth_msn”, “publisherid”: “35442”, “p2”: “”, “p3”: “”, “p1”: “”, “p4”: “”, “p5”: “”, “device_model”: null, “userid”: “c22ebdca-c2f1-4be6-93a7-a51668809b73”, “me_end”: 1022, “device_family”: “Other”, “user_agent”: “Mozilla/5.0 (compatible”, “big_time”: false, “device_brand”: null, “browser_family”: “Other”}

``

One of the affected fields is “geo_start”: “”

My spec file has this for that field:

{
“type” : “longSum”,
“name” : “geo_start”,
“fieldName” : “geo_start”
}

``

I’m using Druid 0.8.3.

Thanks in advance.