I already have this mapping for the data in my index, but kibana still doesn't show the date types in the time-field drop down, here's what I get when I GET the _mapping
{
impression-data: {
mappings: {
_default_: {
dynamic_templates: [
{
timestamp: {
mapping: {
format: dateOptionalTime,
type: date,
doc_values: true
}match: .*time.*|.*_ts,
match_pattern: regex
}
}{
default_strings: {
mapping: {
index: not_analyzed,
type: string,
doc_values: true
}match_mapping_type: string
}
}{
default_values: {
mapping: {
type: {
dynamic_type
}doc_values: true
}match: *match_mapping_type: *
}
}
]numeric_detection: true_all: {
enabled: false
}properties: {
}
}default_type: {
dynamic_templates: [
{
timestamp: {
mapping: {
format: dateOptionalTime,
type: date,
doc_values: true
}match: .*time.*|.*_ts,
match_pattern: regex
}
}{
default_strings: {
mapping: {
index: not_analyzed,
type: string,
doc_values: true
}match_mapping_type: string
}
}{
default_values: {
mapping: {
type: {
dynamic_type
}doc_values: true
}match: *match_mapping_type: *
}
}
]numeric_detection: true_all: {
enabled: false
}properties: {
author: {
type: string,
index: not_analyzed,
doc_values: true
}comment_count: {
type: double,
doc_values: true
}comment_raw_count: {
type: double,
doc_values: true
}create_time: {
type: date,
doc_values: true,
format: dateOptionalTime
}ddb_ts: {
type: date,
doc_values: true,
format: dateOptionalTime
}diversity_score: {
type: double,
doc_values: true
}feed_ts: {
type: date,
doc_values: true,
format: dateOptionalTime
}gfs_action: {
type: string,
index: not_analyzed,
doc_values: true
}gfs_ts: {
type: date,
doc_values: true,
format: dateOptionalTime
}ic_id: {
type: string,
index: not_analyzed,
doc_values: true
}ml_score: {
type: double,
doc_values: true
}n_image: {
type: double,
doc_values: true
}n_urls: {
type: double,
doc_values: true
}ranking_reason: {
type: string,
index: not_analyzed,
doc_values: true
}smile_count: {
type: double,
doc_values: true
}smile_raw_count: {
type: double,
doc_values: true
}story_age: {
type: double,
doc_values: true
}story_age_ms: {
type: long,
doc_values: true
}story_id: {
type: string,
index: not_analyzed,
doc_values: true
}target_page: {
type: string,
index: not_analyzed,
doc_values: true
}user_id: {
type: string,
index: not_analyzed,
doc_values: true
}vend_position: {
type: long,
doc_values: true
}
}
}
}
}
}