New Contributor
Posts: 1
Registered: ‎08-09-2014

convertTimestamp unixTimeInMillis

I want to do this using a morphlines.conf to index with Solr an Hbase date in millis.


field : date-created
inputFormats : ["unixTimeInMillis"]
inputTimezone : UTC
outputFormat : "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
outputTimezone : UTC


What should be the correct syntax for inputFormats :  ? The above just ignores my field.  If I don't have a convertTimestamp, I get: Batch Write Failure at

org.apache.solr.common.SolrException: Invalid Date String:'1406105449972'



Cloudera Employee
Posts: 146
Registered: ‎08-21-2013

Re: convertTimestamp unixTimeInMillis

Please post questions related to Cloudera Search to, not here.


Posts: 416
Topics: 51
Kudos: 89
Solutions: 49
Registered: ‎06-26-2013

Re: convertTimestamp unixTimeInMillis

I'd also like to point out that we have a very active Discussion Board here in the community that is dedicated to Cloudera Search: