{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/711","repository_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop","labels_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/711/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/711/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/711/events","html_url":"https://github.com/elastic/elasticsearch-hadoop/issues/711","id":138112729,"number":711,"title":"Excluding fields when writing JSON documents from Storm to Elasticsearch doesn't work","user":{"login":"jinuland","id":8622275,"avatar_url":"https://avatars.githubusercontent.com/u/8622275?v=3","gravatar_id":"","url":"https://api.github.com/users/jinuland","html_url":"https://github.com/jinuland","followers_url":"https://api.github.com/users/jinuland/followers","following_url":"https://api.github.com/users/jinuland/following{/other_user}","gists_url":"https://api.github.com/users/jinuland/gists{/gist_id}","starred_url":"https://api.github.com/users/jinuland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinuland/subscriptions","organizations_url":"https://api.github.com/users/jinuland/orgs","repos_url":"https://api.github.com/users/jinuland/repos","events_url":"https://api.github.com/users/jinuland/events{/privacy}","received_events_url":"https://api.github.com/users/jinuland/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/labels/rest","name":"rest","color":"DDDDDD"},{"url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/labels/storm","name":"storm","color":"f7c6c7"},{"url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/labels/v2.2.1","name":"v2.2.1","color":"bfdadc"},{"url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/labels/v2.3.0","name":"v2.3.0","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-03T08:39:11Z","updated_at":"2016-04-15T02:19:00Z","closed_at":"2016-04-06T17:28:11Z","body":"Hi, I'm working with elasticsearch storm and using \"es.mapping.exclude\" configuration for excluding some of fields. \r\nBelow are my configuration\r\n\r\n```\r\nMap localConf = new HashMap();\r\n        localConf.put(\"es.input.json\", \"true\");\r\n        localConf.put(\"es.mapping.exclude\", \"@version,@timestamp,id\");\r\n        builder.setBolt(ES_BOLT_ID, new EsBolt(\"log-2016.03.03/logs\", localConf), ES_BOLT_PARALLEL_HINT).addConfiguration(Config.TOPOLOGY_TICK_TUPLE_FREQ_SECS, 2).shuffleGrouping(SPOUT_ID);\r\n```\r\n\r\nI've tested that code by submitting to my storm cluster, but is doesn't actually exclude the fields, which I wanna remove from final document. \r\n\r\nI've used elasticsearch-hadoop 2.2.0-beta1 artifact"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/comments/210255378","html_url":"https://github.com/elastic/elasticsearch-hadoop/issues/711#issuecomment-210255378","issue_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/711","id":210255378,"user":{"login":"jinuland","id":8622275,"avatar_url":"https://avatars.githubusercontent.com/u/8622275?v=3","gravatar_id":"","url":"https://api.github.com/users/jinuland","html_url":"https://github.com/jinuland","followers_url":"https://api.github.com/users/jinuland/followers","following_url":"https://api.github.com/users/jinuland/following{/other_user}","gists_url":"https://api.github.com/users/jinuland/gists{/gist_id}","starred_url":"https://api.github.com/users/jinuland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinuland/subscriptions","organizations_url":"https://api.github.com/users/jinuland/orgs","repos_url":"https://api.github.com/users/jinuland/repos","events_url":"https://api.github.com/users/jinuland/events{/privacy}","received_events_url":"https://api.github.com/users/jinuland/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T02:19:00Z","updated_at":"2016-04-15T02:19:00Z","body":"thanks costin it helps me a lot!"}}