hi. i have to admit i'm not familiar with elasticsearch but i am having a problem that i cannot seem to wrap my head around.
here is my error from elasticsearch.log
2016-04-19 20:10:46,033][DEBUG][action.bulk ] [Bob] [graylog2_112][2] failed to execute bulk item (index) index {[graylog2_deflector][message][ccd0e100-066a-11e6-ab8e-0eebab2d0d82], source[{"application":"Website","gl2_source_node":"cbb14ac5-5cce-4951-99dd-185aa780a07f","full_message":"Item successfully added to order.","object":"{\"orderId\":\"39b9a166-6a80-4eb9-b6ec-1fe26245847b\",\"memberNumber\":\"987546\",\"itemNumber\":\"123870\",\"quantity\":1,\"specialCode\":\"\"}","version":"1.1","timestamp":"2016-04-19 20:10:45.221","message":"OrderDetailCreateSuccess","environment":"Production","level":5,"_id":"ccd0e100-066a-11e6-ab8e-0eebab2d0d82","source":"IP-0A0A005F","gl2_source_input":"55098e82e4b094e336f2f24c","streams":["55098ec4e4b094e336f2f29b"],"client_id":"client-22"}]}
org.elasticsearch.index.mapper.MapperParsingException: failed to parse [object]
at org.elasticsearch.index.mapper.core.AbstractFieldMapper.parse(AbstractFieldMapper.java:411)
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeValue(ObjectMapper.java:706)
at org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:497)
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:544)
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:493)
at org.elasticsearch.index.shard.IndexShard.prepareIndex(IndexShard.java:492)
at org.elasticsearch.action.bulk.TransportShardBulkAction.shardIndexOperation(TransportShardBulkAction.java:409)
at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:148)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$PrimaryPhase.performOnPrimary(TransportShardReplicationOperationAction.java:574)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$PrimaryPhase$1.doRun(TransportShardReplicationOperationAction.java:440)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:36)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NumberFormatException: For input string: "{"orderId":"39b9a166-6a80-4eb9-b6ec-1fe26245847b","memberNumber":"987546","itemNumber":"123870","quantity":1,"specialCode":""}"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:441)
at java.lang.Long.parseLong(Long.java:483)
at org.elasticsearch.common.xcontent.support.AbstractXContentParser.longValue(AbstractXContentParser.java:145)
at org.elasticsearch.index.mapper.core.LongFieldMapper.innerParseCreateField(LongFieldMapper.java:288)
at org.elasticsearch.index.mapper.core.NumberFieldMapper.parseCreateField(NumberFieldMapper.java:239)
at org.elasticsearch.index.mapper.core.AbstractFieldMapper.parse(AbstractFieldMapper.java:401)
... 13 more