# Index create late date

**URL:** https://discuss.elastic.co/t/index-create-late-date/135072
**Category:** Logstash
**Created:** [June 8, 2018, 2:49am UTC](https://discuss.elastic.co/t/index-create-late-date/135072 "2018-06-08T02:49:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![shwesinhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shwesinhan/32/78663_2.png) [@shwesinhan](https://discuss.elastic.co/u/shwesinhan)
#### Post date: [June 8, 2018, 2:49am UTC](https://discuss.elastic.co/t/index-create-late-date/135072/1 "2018-06-08T02:49:26Z")

</div>

Hi there

Could you someone figure out this?

Let me say my scenario first.

I stream app logs using tcp input , then use grok filter , after that use ship to amazon Elasticsearch domain.

I stream two app logs actually.  
eg; app1 comes from tcp port 5509, app2 comes form tcp port 5508

It sounds really work 3 months and reliable.  
But now I found app2 log not coming anymore these days.  
when I check I found index doc date is one day late. plz see yellow box in pic.

 ![elk](https://us1.discourse-cdn.com/elastic/original/3X/0/1/01ccd2b0278de2b5639841c84fcdbb3a16e1e1da.PNG)

why index is one day late? my output filter is like this

> output {  
> amazon\_es {  
> hosts =\> ["host1234"]  
> region =\> "ap-southeast-1"   
> aws\_access\_key\_id =\> "id1234"  
> aws\_secret\_access\_key =\> "key1234"  
> flush\_size =\> 50000   
> idle\_flush\_time =\> 10   
> index =\> "logstash-%{+YYYY.MM.dd}"  
> }  
> }

have anybody experienced on this?  
i would appreciated if someone point out to me.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [June 8, 2018, 5:42am UTC](https://discuss.elastic.co/t/index-create-late-date/135072/2 "2018-06-08T05:42:45Z")

</div>

The index name is based on the UTC timestamp stored in `@timestamp`. Kibana by default adjusts `@timestamp` to the browser's timezone. You can see the raw `@timestamp` value in the JSON tab.

---

<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: [July 6, 2018, 5:42am UTC](https://discuss.elastic.co/t/index-create-late-date/135072/3 "2018-07-06T05:42:46Z")

</div>

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