Skip to content

Instantly share code, notes, and snippets.

@Tombar
Last active December 27, 2015 19:39
Show Gist options
  • Save Tombar/7378509 to your computer and use it in GitHub Desktop.
Save Tombar/7378509 to your computer and use it in GitHub Desktop.
elasticsearch logstash default mapping
{
"logstash-2013.11.07":{
"flat":{
"properties":{
"http_user_agent":{
"type":"string",
"index":"not_analyzed",
"store":true,
"omit_norms":true,
"index_options":"docs"
}
}
}
},
"logstash-2013.11.06":{
"flat":{
"properties":{
"http_user_agent":{
"type":"string",
"index":"not_analyzed",
"store":true,
"omit_norms":true,
"index_options":"docs"
}
}
}
},
"logstash-2013.11.05":{
"flat":{
"properties":{
"http_user_agent":{
"type":"string",
"index":"not_analyzed",
"store":true,
"omit_norms":true,
"index_options":"docs"
}
}
}
},
"kibana-int":{
"temp":{
"properties":{
"dashboard":{
"type":"string"
},
"group":{
"type":"string"
},
"title":{
"type":"string"
},
"user":{
"type":"string"
}
}
},
"dashboard":{
"properties":{
"dashboard":{
"type":"string"
},
"group":{
"type":"string"
},
"title":{
"type":"string"
},
"user":{
"type":"string"
}
}
}
},
"logstash-2013.11.08":{
"logs":{
"properties":{
"@timestamp":{
"type":"date",
"format":"dateOptionalTime"
},
"@version":{
"type":"string"
},
"body_bytes_sent":{
"type":"long"
},
"cache":{
"properties":{
"upstream_addr":{
"type":"string"
},
"upstream_cache_status":{
"type":"string"
},
"upstream_response_time":{
"type":"double"
},
"upstream_status":{
"type":"long"
}
}
},
"cookie":{
"properties":{
"listenerdjid":{
"type":"string"
},
"userid":{
"type":"string"
}
}
},
"file":{
"type":"string"
},
"from":{
"type":"string"
},
"geoip":{
"properties":{
"area_code":{
"type":"long"
},
"city_name":{
"type":"string"
},
"continent_code":{
"type":"string"
},
"country_code2":{
"type":"string"
},
"country_code3":{
"type":"string"
},
"country_name":{
"type":"string"
},
"dma_code":{
"type":"long"
},
"ip":{
"type":"string"
},
"latitude":{
"type":"double"
},
"longitude":{
"type":"double"
},
"postal_code":{
"type":"string"
},
"real_region_name":{
"type":"string"
},
"region_name":{
"type":"string"
},
"timezone":{
"type":"string"
}
}
},
"host":{
"type":"string"
},
"http_referer":{
"type":"string"
},
"http_user_agent":{
"type":"string"
},
"message":{
"type":"string"
},
"offset":{
"type":"string"
},
"postdata":{
"properties":{
"request_body":{
"type":"string"
},
"request_completion":{
"type":"string"
},
"request_length":{
"type":"long"
}
}
},
"remote_addr":{
"type":"string"
},
"remote_user":{
"type":"string"
},
"request":{
"type":"string"
},
"request_method":{
"type":"string"
},
"request_querystring":{
"type":"string"
},
"request_uri":{
"type":"string"
},
"status":{
"type":"long"
},
"tags":{
"type":"string"
},
"ua":{
"properties":{
"build":{
"type":"string"
},
"device":{
"type":"string"
},
"major":{
"type":"string"
},
"minor":{
"type":"string"
},
"name":{
"type":"string"
},
"os":{
"type":"string"
},
"os_major":{
"type":"string"
},
"os_minor":{
"type":"string"
},
"os_name":{
"type":"string"
},
"patch":{
"type":"string"
}
}
}
}
},
"flat":{
"properties":{
"http_user_agent":{
"type":"string",
"index":"not_analyzed",
"store":true,
"omit_norms":true,
"index_options":"docs"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment