The Mapping API says mbox is a string as expected, but why do a query return unquoted values then...
or am I barking up the wrong tree with this BIG_INTEGER though I'm pretty sure it docs like this that break kibana queries...
[root@cbdA ~]# curl -XGET 'http://localhost:9200/popserv-2016.05.25/_mapping'
{"popserv-2016.05.25":{
"mappings":{
"popserv":{"_all":{"enabled":true,"omit_norms":true},
"dynamic_templates":[{"template1":{"mapping":{"ignore_above":64,"index":"not_analyzed","omit_norms":"true","type":"{dynamic_type}","doc_values":true},"match":"*"}}],
"properties":{
"@timestamp":{"type":"date","format":"strict_date_optional_time||epoch_millis"},
"cmd":{"type":"string","index":"not_analyzed","ignore_above":64},
"dirdelay":{"type":"long"},"event":{"type":"string","index":"not_analyzed"},
"fromhost":{"type":"ip"},
"geoasn":{"properties":{"asn":{"type":"string","index":"not_analyzed","ignore_above":64},"number":{"type":"string","index":"not_analyzed","ignore_above":64}}},
"geoip":{"properties":{"city_name":{"type":"string","index":"not_analyzed","ignore_above":64},"continent_code":{"type":"string","index":"not_analyzed","ignore_above":64},"country_name":{"type":"string","index":"not_analyzed","ignore_above":64},"ip":{"type":"ip"},"location":{"type":"geo_point"}}},
"host":{"type":"string","index":"not_analyzed"},
"lglvl":{"type":"string","index":"not_analyzed","ignore_above":64},
"mbox":{"type":"string","index":"not_analyzed"},
"message":{"type":"string","index":"not_analyzed","ignore_above":64},
"msgid":{"type":"string","index":"not_analyzed","ignore_above":64},
"mss":{"type":"string","index":"not_analyzed","ignore_above":64},
"node":{"type":"string","index":"not_analyzed","ignore_above":64},
"nodePort":{"type":"long"},
"port":{"type":"long"},
"size":{"type":"long"},
"time":{"type":"long"},
"type":{"type":"string","index":"not_analyzed"},
"user":{"type":"string","index":"not_analyzed"}}},
"_default_":{"_all":{"enabled":true,"omit_norms":true},
"dynamic_templates":[{"template1":{"mapping":{"ignore_above":64,"index":"not_analyzed","omit_norms":"true","type":"{dynamic_type}","doc_values":true},"match":"*"}}],
"properties":{
"@timestamp":{"type":"date","format":"strict_date_optional_time||epoch_millis"},
"event":{"type":"string","index":"not_analyzed"},
"fromhost":{"type":"ip"},
"geoip":{"properties":{"ip":{"type":"ip"},"location":{"type":"geo_point"}}},
"host":{"type":"string","index":"not_analyzed"},
"mbox":{"type":"string","index":"not_analyzed"},
"type":{"type":"string","index":"not_analyzed"},
"user":{"type":"string","index":"not_analyzed"}}}
}}}