# Unable to Vizualize Documents with Dates

**URL:** https://discuss.elastic.co/t/unable-to-vizualize-documents-with-dates/311762
**Category:** Kibana
**Created:** [August 9, 2022, 5:07pm UTC](https://discuss.elastic.co/t/unable-to-vizualize-documents-with-dates/311762 "2022-08-09T17:07:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jhop](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jhop](https://discuss.elastic.co/u/jhop)
#### Post date: [August 9, 2022, 5:07pm UTC](https://discuss.elastic.co/t/unable-to-vizualize-documents-with-dates/311762/1 "2022-08-09T17:07:57Z")

</div>

I am having trouble visualizing indices with dates in Kibana. It appears  
I am entering data correctly since I see the data when I do a GET  
request. However, I cannot visualize it after I create a data view.  
Kibana sees all fields as empty. Here is my request/reply chain from the  
Dev Tools Console.

```auto
PUT _index_template/rsmallidx
{
  "index_patterns": [
    "rsmallidx*"
  ],
  "template": {
    "mappings" : {
      "properties" : {
        "myEvent" : {
          "properties" : {
            "myfloat" : {
              "type" : "float"
            },
            "mytext" : {
              "type" : "text",
              "fields" : {
                "keyword" : {
                  "type" : "keyword",
                  "ignore_above" : 256
                }
              }
            },
            "sendTime" : {
              "type" : "date",
              "format" : "epoch_millis"
            },
            "uid" : {
              "type" : "text",
              "fields" : {
                "keyword" : {
                  "type" : "keyword",
                  "ignore_above" : 256
                }
              }
            }
          }
        }
      }
    },
    "settings": {
      "number_of_shards": 2,
      "number_of_replicas": 1
    },
    "aliases": {
      "some_rsmallidx": {}
    }    
  }
}

```

**{  
"acknowledged" : true  
}**

```auto
PUT rsmallidx1/_doc/1
{
    "myEvent": {
           "myfloat": 9999999.0,
           "mytext": "jasonh", 
           "sendTime": "1658945546000", 
           "uid": "57b68fafd2ce0f28"
   }
}

```

**{  
"\_index" : "rsmallidx1",  
"\_id" : "1",  
"\_version" : 1,  
"result" : "created",  
"\_shards" : {  
"total" : 2,  
"successful" : 1,  
"failed" : 0  
},  
"\_seq\_no" : 0,  
"\_primary\_term" : 1  
}**

```auto
GET rsmallidx/_search

```

\*\*{  
"took" : 180,  
"timed\_out" : false,  
"\_shards" : {  
"total" : 2,  
"successful" : 2,  
"skipped" : 0,  
"failed" : 0  
},  
"hits" : {  
"total" : {  
"value" : 1,  
"relation" : "eq"  
},  
"max\_score" : 1.0,  
"hits" : [  
{  
"\_index" : "rsmallidx1",  
"\_id" : "1",  
"\_score" : 1.0,  
"\_source" : {  
"myEvent" : {  
"myfloat" : 9999999.0,  
"mytext" : "jasonh",  
"sendTime" : "1658945546000",  
"uid" : "57b68fafd2ce0f28"  
}  
}  
}  
]  
}  
}  
\*\*

Help with this issue would be greatly appreciated. Thank you.

---

<div class="post-metadata">

### Author: ![JLeysens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jleysens/32/67404_2.png) [@JLeysens](https://discuss.elastic.co/u/JLeysens)
#### Post date: [August 10, 2022, 9:22am UTC](https://discuss.elastic.co/t/unable-to-vizualize-documents-with-dates/311762/2 "2022-08-10T09:22:59Z")

</div>

Hello @jhop ! Are you sure your time filter is far back enough to pick up the data? Looks like your epoch timestamp is for `Jul 27, 2022 @ 20:12:26.000z`.

Kibana defaults to showing the last 15 minutes of data (see the time filter to the top right).

---

<div class="post-metadata">

### Author: ![jhop](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jhop](https://discuss.elastic.co/u/jhop)
#### Post date: [August 10, 2022, 1:07pm UTC](https://discuss.elastic.co/t/unable-to-vizualize-documents-with-dates/311762/3 "2022-08-10T13:07:39Z")

</div>

Thanks for the response @JLeysens . I changed the filter to go back 15 Months still nothing.

---

<div class="post-metadata">

### Author: ![jhop](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jhop](https://discuss.elastic.co/u/jhop)
#### Post date: [August 10, 2022, 1:23pm UTC](https://discuss.elastic.co/t/unable-to-vizualize-documents-with-dates/311762/4 "2022-08-10T13:23:09Z")

</div>

Sorry I did not hit the update button after I changed the filter. Yes it works. Thank you so much for your help.

---

<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: [September 7, 2022, 1:23pm UTC](https://discuss.elastic.co/t/unable-to-vizualize-documents-with-dates/311762/5 "2022-09-07T13:23:18Z")

</div>

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