{"action":"opened","issue":{"url":"https://api.github.com/repos/phutchins/logstash-input-mongodb/issues/39","repository_url":"https://api.github.com/repos/phutchins/logstash-input-mongodb","labels_url":"https://api.github.com/repos/phutchins/logstash-input-mongodb/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/phutchins/logstash-input-mongodb/issues/39/comments","events_url":"https://api.github.com/repos/phutchins/logstash-input-mongodb/issues/39/events","html_url":"https://github.com/phutchins/logstash-input-mongodb/issues/39","id":155214917,"number":39,"title":"lost one data when to elasticsearch","user":{"login":"shi-yuan","id":8057153,"avatar_url":"https://avatars.githubusercontent.com/u/8057153?v=3","gravatar_id":"","url":"https://api.github.com/users/shi-yuan","html_url":"https://github.com/shi-yuan","followers_url":"https://api.github.com/users/shi-yuan/followers","following_url":"https://api.github.com/users/shi-yuan/following{/other_user}","gists_url":"https://api.github.com/users/shi-yuan/gists{/gist_id}","starred_url":"https://api.github.com/users/shi-yuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shi-yuan/subscriptions","organizations_url":"https://api.github.com/users/shi-yuan/orgs","repos_url":"https://api.github.com/users/shi-yuan/repos","events_url":"https://api.github.com/users/shi-yuan/events{/privacy}","received_events_url":"https://api.github.com/users/shi-yuan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-17T09:30:35Z","updated_at":"2016-05-17T09:30:35Z","closed_at":null,"body":"my logstash config:\r\n```\r\ninput {\r\n\tmongodb {\r\n    \turi => 'mongodb://127.0.0.1:27017/wiki'\r\n\t\tcollection => 'wiki'\r\n    \tplaceholder_db_dir => \"E:/mongo2es/data\"\r\n\t    placeholder_db_name => \"datalogstash_sqlite_wiki.db\"\r\n\t    batch_size => 1000\r\n  \t}\r\n}\r\n\r\nfilter {\r\n\tmutate {\r\n    \tremove_field => [ \"host\", \"@version\", \"@timestamp\", \"logdate\", \"log_entry\" ]\r\n  \t}\r\n}\r\n\r\noutput {\r\n\tstdout { codec => rubydebug }\r\n\r\n    file {\r\n    \tpath => \"E:/mongo2es/logs/mongo2es-wiki.log\"\r\n\t}\r\n\r\n\telasticsearch {\r\n\t\tindex => \"wiki\"\r\n\t\tdocument_type => \"wiki\"\r\n\t\tdocument_id => \"%{mongo_id}\"\r\n\t\thosts => [\"127.0.0.1:9200\"]\r\n\t}\r\n}\r\n```\r\n\r\n2767278 in mongodb, but 2767277 in elasticsearch.\r\n\r\nAny thought? \r\nThanks in Advance"}}