Support Questions
Find answers, ask questions, and share your expertise

$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