Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

$numberlong format for dates when pulling from getMongo Processor

avatar
New Member

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

avatar

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

View solution in original post

1 REPLY 1

avatar

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