Skip to content

Instantly share code, notes, and snippets.

@rnavarro

rnavarro/Error Secret

Last active Dec 18, 2015
Embed
What would you like to do?
[2013-06-10 21:36:02,250][DEBUG][action.bulk ] [logstash1] [logstash-2013.06.10][1] failed to execute bulk item (index) index {[logstash-2013.06.10][syslog][bwNK62ZGSJ2-j1SzPDkRlg], source[{"@source":"tcp://0.0.0.0:35385/","@tags":[],"@fields":{"account_id":"1234","connector_id":"1234","send":"http://google.com","receive":{"count":0,"results":[],"params":{"shop_id":"asdf","min_created":null,"max_created":null,"min_last_modified":"1370870618","max_last_modified":null,"limit":"25","offset":"0","page":null,"was_paid":null,"was_shipped":null},"type":"Receipt","pagination":{"effective_limit":25,"effective_offset":0,"next_offset":null,"effective_page":1,"next_page":null},"headers":"HTTP/1.0 200 OK Date: Mon, 10 Jun 2013 21:34:24 GMT","keyString":"3yzkxa3k574h0q72oaoqeami"},"type":"connector-log-add","host":"co","pid":30182},"@timestamp":"2013-06-10T21:36:01.981Z","@source_host":"0.0.0.0","@source_path":"/","@message":" {\"account_id\":\"1234\",\"connector_id\":\"1234\",\"send\":\"http:\\/\\/google.com\",\"receive\":{\"count\":0,\"results\":[],\"params\":{\"shop_id\":\"asdf\",\"min_created\":null,\"max_created\":null,\"min_last_modified\":\"1370870618\",\"max_last_modified\":null,\"limit\":\"25\",\"offset\":\"0\",\"page\":null,\"was_paid\":null,\"was_shipped\":null},\"type\":\"Receipt\",\"pagination\":{\"effective_limit\":25,\"effective_offset\":0,\"next_offset\":null,\"effective_page\":1,\"next_page\":null},\"headers\":\"HTTP\\/1.0 200 OK Date: Mon, 10 Jun 2013 21:34:24 GMT\",\"keyString\":\"3yzkxa3k574h0q72oaoqeami\"},\"type\":\"connector-log-add\",\"host\":\"asdfasdf\",\"pid\":30182}\n","@type":"syslog"}]}
org.elasticsearch.index.mapper.MapperParsingException: Failed to parse [@fields.receive]
at org.elasticsearch.index.mapper.core.AbstractFieldMapper.parse(AbstractFieldMapper.java:320)
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeObject(ObjectMapper.java:507)
at org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:449)
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeObject(ObjectMapper.java:507)
at org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:449)
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:486)
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:430)
at org.elasticsearch.index.shard.service.InternalIndexShard.prepareCreate(InternalIndexShard.java:297)
at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:163)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:532)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:430)
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:722)
Caused by: org.elasticsearch.ElasticSearchIllegalArgumentException: unknown property [count]
at org.elasticsearch.index.mapper.core.StringFieldMapper.parseCreateField(StringFieldMapper.java:276)
at org.elasticsearch.index.mapper.core.StringFieldMapper.parseCreateField(StringFieldMapper.java:46)
at org.elasticsearch.index.mapper.core.AbstractFieldMapper.parse(AbstractFieldMapper.java:307)
... 13 more
"@fields":{
"account_id": "1234",
"connector_id": "1234",
"send": "http://google.com",
"receive": {
"count": 0,
"results": [],
"params": {
"shop_id": "asdf",
"min_created": null,
"max_created": null,
"min_last_modified": "1370870618",
"max_last_modified": null,
"limit": "25",
"offset": "0",
"page": null,
"was_paid": null,
"was_shipped": null
},
"type": "Receipt",
"pagination": {
"effective_limit": 25,
"effective_offset": 0,
"next_offset": null,
"effective_page": 1,
"next_page": null
},
"headers": "HTTP/1.0 200 OK Date: Mon, 10 Jun 2013 21:34:24 GMT",
"keyString": "3yzkxa3k574h0q72oaoqeami"
},
"type": "connector-log-add",
"host": "co",
"pid": 30182
}
{
"template": "logstash-*",
"settings": {
"index": {
"query": {
"default_field": "@message"
},
"store": {
"compress": {
"stored": true,
"tv": true
}
}
}
},
"mappings": {
"_default_": {
"_all": {
"enabled": false
},
"_source": {
"compress": true
},
"dynamic_templates": [
{
"string_template": {
"match": "*",
"mapping": {
"type": "string",
"index": "not_analyzed"
},
"match_mapping_type": "string"
}
}
],
"properties": {
"@fields": {
"type": "object",
"path": "full",
"properties": {
"send": {
"type": "string",
"index": "analyzed"
},
"receive": {
"type": "string",
"index": "analyzed"
},
"response": {
"type": "string",
"index": "analyzed"
}
}
},
"@message": {
"type": "string",
"index": "analyzed"
},
"@source": {
"type": "string",
"index": "not_analyzed"
},
"@source_host": {
"type": "string",
"index": "not_analyzed"
},
"@source_path": {
"type": "string",
"index": "not_analyzed"
},
"@tags": {
"type": "string",
"index": "not_analyzed"
},
"@timestamp": {
"type": "date",
"index": "not_analyzed"
},
"@type": {
"type": "string",
"index": "not_analyzed"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment