Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

$numberlong format for dates when pulling from getMongo Processor

Solved Go to solution
Highlighted

$numberlong format for dates when pulling from getMongo Processor

Explorer

Hi,

We are using the getMongo processor to pull data from mongodb. Everything works fine but all dates are coming in the following format:

"$numberLong" : "1542271444000"

How can I get the date as a string or date.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: $numberlong format for dates when pulling from getMongo Processor

New Contributor

In GetMongo configuration, go to properties and change the value of JSON Type to Standard JSON.

View solution in original post

1 REPLY 1
Highlighted

Re: $numberlong format for dates when pulling from getMongo Processor

New Contributor

In GetMongo configuration, go to properties and change the value of JSON Type to Standard JSON.

View solution in original post

Don't have an account?
Coming from Hortonworks? Activate your account here