Skip to content

Instantly share code, notes, and snippets.

@evoxco
Last active April 25, 2017 03:48
Show Gist options
  • Select an option

  • Save evoxco/151d6845f2b7c937b941 to your computer and use it in GitHub Desktop.

Select an option

Save evoxco/151d6845f2b7c937b941 to your computer and use it in GitHub Desktop.
Bro Ids Elastic template to avoid analyse of fields
{
"template": "bro*",
"mappings": {
"_default_": {
"_timestamp": {
"enabled": true,
"store": true
}
},
"ssl": {
"properties": {
"server_name": {
"type": "string",
"index": "not_analyzed"
}
}
},
"http": {
"properties": {
"user_agent": {
"type": "string",
"index": "not_analyzed"
},
"host": {
"type": "string",
"index": "not_analyzed"
},
"method": {
"type": "string",
"index": "not_analyzed"
}
}
},
"conn": {
"properties": {
"id.orig_h": {
"type": "string",
"index": "not_analyzed"
},
"id.resp_h": {
"type": "string",
"index": "not_analyzed"
}
}
},
"files": {
"properties": {
"mime_type": {
"type": "string",
"index": "not_analyzed"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment