Skip to content

Instantly share code, notes, and snippets.

@falsecz
Created February 28, 2014 10:28
Show Gist options
  • Save falsecz/9268742 to your computer and use it in GitHub Desktop.
Save falsecz/9268742 to your computer and use it in GitHub Desktop.
{
"logs": {
"dynamic": "strict",
"properties": {
"@timestamp": {
"type": "date",
"index": "analyzed",
"format": "dateOptionalTime"
},
"@version": {
"type": "long"
},
"_lsi_name": {
"type": "string"
},
"_lsi_port": {
"type": "long"
},
"_lsi_type": {
"type": "string"
},
"_lso_name": {
"type": "string"
},
"req_data": {
"enabled": false
},
"req_stringify": {
"index": "analyzed",
"type": "string"
},
"error_stringify": {
"index": "not_analyzed",
"type": "string"
},
"stack_trace": {
"index": "analyzed",
"type": "string"
},
"host": {
"index": "not_analyzed",
"type": "string"
},
"host_name": {
"index": "not_analyzed",
"type": "string"
},
"build": {
"index": "not_analyzed",
"type": "string"
},
"path": {
"index": "not_analyzed",
"type": "string"
},
"app": {
"index": "not_analyzed",
"type": "string"
},
"wrtook": {
"type": "double"
},
"x-forwarded-for": {
"index": "analyzed",
"type": "string"
},
"status_code": {
"index": "analyzed",
"type": "string"
},
"message": {
"type": "multi_field",
"fields": {
"raw": {
"index": "not_analyzed",
"type": "string"
},
"message": {
"index": "analyzed",
"type": "string"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment