{"action":"created","issue":{"url":"https://api.github.com/repos/compose/transporter/issues/60","labels_url":"https://api.github.com/repos/compose/transporter/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/compose/transporter/issues/60/comments","events_url":"https://api.github.com/repos/compose/transporter/issues/60/events","html_url":"https://github.com/compose/transporter/issues/60","id":57691350,"number":60,"title":"facing issue dumping data from mongo to elasticsearch without transformation","user":{"login":"mandeepm91","id":6578361,"avatar_url":"https://avatars.githubusercontent.com/u/6578361?v=3","gravatar_id":"","url":"https://api.github.com/users/mandeepm91","html_url":"https://github.com/mandeepm91","followers_url":"https://api.github.com/users/mandeepm91/followers","following_url":"https://api.github.com/users/mandeepm91/following{/other_user}","gists_url":"https://api.github.com/users/mandeepm91/gists{/gist_id}","starred_url":"https://api.github.com/users/mandeepm91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandeepm91/subscriptions","organizations_url":"https://api.github.com/users/mandeepm91/orgs","repos_url":"https://api.github.com/users/mandeepm91/repos","events_url":"https://api.github.com/users/mandeepm91/events{/privacy}","received_events_url":"https://api.github.com/users/mandeepm91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-14T12:18:50Z","updated_at":"2015-08-06T02:55:59Z","closed_at":null,"body":"Here are the contents of my tes/config.yaml file and tes/application.js file\r\n\r\n`config.yaml`\r\n```\r\n# api:\r\n#   interval: 60s\r\n#   uri: \"http://requestb.in/13gerls1\"\r\n#   key: \"48593282-b38d-4bf5-af58-f7327271e73d\"\r\n#   pid: \"something-static\"\r\nnodes:\r\n  localmongo:\r\n    type: mongo\r\n    uri: mongodb://localhost/foo\r\n  es:\r\n    type: elasticsearch\r\n    uri: http://localhost:9200/\r\n```\r\n\r\n`application.js`\r\n```\r\npipeline = Source({name:\"localmongo\", namespace:\"foo.bar\"}).save({name:\"es\", namespace:\"foo.bar\"}); \r\n```\r\n\r\nHowever it fails while inserting to elasticsearch with the error:\r\n\r\n```\r\nfailed to parse [_id]\r\n```\r\n\r\nHowever, it used to work fine earlier ( a month ago ). Also, if I apply a log transform to see the documents, I can see _id is stored differently:\r\n\r\n```\r\n{\"_id\":{\"$oid\":\"54df376881ee34db87b27377\"},\"firstName\":\"Robert\",\"lastName\":\"Baratheon\"}\r\n```\r\n\r\nIn the transformation, changing \r\n```\r\ndoc._id = doc._id['$oid']; \r\n```\r\ndoes solve the problem though. Just want to confirm if there has been a change in the way mongo _id is handled or I am doing something wrong ?"},"comment":{"url":"https://api.github.com/repos/compose/transporter/issues/comments/128221983","html_url":"https://github.com/compose/transporter/issues/60#issuecomment-128221983","issue_url":"https://api.github.com/repos/compose/transporter/issues/60","id":128221983,"user":{"login":"jipperinbham","id":829493,"avatar_url":"https://avatars.githubusercontent.com/u/829493?v=3","gravatar_id":"","url":"https://api.github.com/users/jipperinbham","html_url":"https://github.com/jipperinbham","followers_url":"https://api.github.com/users/jipperinbham/followers","following_url":"https://api.github.com/users/jipperinbham/following{/other_user}","gists_url":"https://api.github.com/users/jipperinbham/gists{/gist_id}","starred_url":"https://api.github.com/users/jipperinbham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jipperinbham/subscriptions","organizations_url":"https://api.github.com/users/jipperinbham/orgs","repos_url":"https://api.github.com/users/jipperinbham/repos","events_url":"https://api.github.com/users/jipperinbham/events{/privacy}","received_events_url":"https://api.github.com/users/jipperinbham/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T02:55:59Z","updated_at":"2015-08-06T02:55:59Z","body":"@mandeepm91 we've made some changes to how the `_id` is used/accessed, please take a look at this [blogpost](https://www.compose.io/articles/transporter-0-0-4-more-control/) for the full details"}}