# Kibana 7.0.0 Can't create a time-based index pattern when @timestamp type is date\_nanos

**URL:** https://discuss.elastic.co/t/kibana-7-0-0-cant-create-a-time-based-index-pattern-when-timestamp-type-is-date-nanos/178121
**Category:** Kibana
**Created:** [April 23, 2019, 9:29pm UTC](https://discuss.elastic.co/t/kibana-7-0-0-cant-create-a-time-based-index-pattern-when-timestamp-type-is-date-nanos/178121 "2019-04-23T21:29:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![DaniloHaruo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniloharuo/32/56639_2.png) [@DaniloHaruo](https://discuss.elastic.co/u/DaniloHaruo)
#### Post date: [April 23, 2019, 9:29pm UTC](https://discuss.elastic.co/t/kibana-7-0-0-cant-create-a-time-based-index-pattern-when-timestamp-type-is-date-nanos/178121/1 "2019-04-23T21:29:49Z")

</div>

version: 7.0.0  
problem: Can't create a time-based index pattern. Field type appears as "unknown" when the @timestamp type is date\_nan  
os.  
how to reproduce:

- On Elasticsearch

PUT \_template/test-nano  
{  
"index\_patterns": ["test-\*"],  
"settings": {  
"number\_of\_shards": 1,  
"number\_of\_replicas": 0  
},  
"mappings": {"properties": {"timestamp": {"type": "date\_nanos"}}  
}  
}

POST \_bulk  
{ "index" : { "\_index" : "test-nano" } }  
{ "@timestamp":"2019-04-23T13:56:34.056753827Z" }  
{ "index" : { "\_index" : "test-nano" } }  
{ "@timestamp":"2019-04-23T13:56:34.056753826Z" }  
{ "index" : { "\_index" : "test-nano" } }  
{ "@timestamp":"2019-04-23T13:56:34.056753824Z" }  
{ "index" : { "\_index" : "test-nano" } }  
{ "@timestamp":"2019-04-24T13:56:34.056753825Z" }  
{ "index" : { "\_index" : "test-nano" } }  
{ "@timestamp":"2019-04-24T13:56:34.000000001Z" }  
{ "index" : { "\_index" : "test-nano" } }  
{ "@timestamp":"2019-04-24T13:56:33.999999999Z" }

GET test-nano

GET test-nano/\_search

- On Kibana

Try to create a time-based index pattern(test-nano\*) and try to pick a time at the discovery timeline.

---

<div class="post-metadata">

### Author: ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)
#### Post date: [April 23, 2019, 9:50pm UTC](https://discuss.elastic.co/t/kibana-7-0-0-cant-create-a-time-based-index-pattern-when-timestamp-type-is-date-nanos/178121/2 "2019-04-23T21:50:50Z")

</div>

date\_nanos isn't currently supported in Kibana. You can follow the issue here [https://github.com/elastic/kibana/issues/31424](https://github.com/elastic/kibana/issues/31424)

---

<div class="post-metadata">

### Author: ![DaniloHaruo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniloharuo/32/56639_2.png) [@DaniloHaruo](https://discuss.elastic.co/u/DaniloHaruo)
#### Post date: [April 24, 2019, 1:34pm UTC](https://discuss.elastic.co/t/kibana-7-0-0-cant-create-a-time-based-index-pattern-when-timestamp-type-is-date-nanos/178121/3 "2019-04-24T13:34:11Z")

</div>

Thanks.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [May 22, 2019, 1:45pm UTC](https://discuss.elastic.co/t/kibana-7-0-0-cant-create-a-time-based-index-pattern-when-timestamp-type-is-date-nanos/178121/4 "2019-05-22T13:45:37Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
