# Auto creation of indexes is done in the wrong timezone

**URL:** https://discuss.elastic.co/t/auto-creation-of-indexes-is-done-in-the-wrong-timezone/9365
**Category:** Elasticsearch
**Created:** [October 16, 2012, 1:28am UTC](https://discuss.elastic.co/t/auto-creation-of-indexes-is-done-in-the-wrong-timezone/9365 "2012-10-16T01:28:20Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Roberto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roberto/32/2686_2.png) [@Roberto](https://discuss.elastic.co/u/Roberto)
#### Post date: [October 16, 2012, 1:28am UTC](https://discuss.elastic.co/t/auto-creation-of-indexes-is-done-in-the-wrong-timezone/9365/1 "2012-10-16T01:28:20Z")

</div>

```
 Hi,

 Everyday, at 9:00 PM, a new index is created by ES. I think this 

```

process should be done at midnight. Anyone has idea of what is going on? My  
timezone is GMT-3, by the way.

Thanks,  
Roberto

--

---

<div class="post-metadata">

### Author: ![David\_Warden](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/david_warden/32/2682_2.png) [@David\_Warden](https://discuss.elastic.co/u/David_Warden)
#### Post date: [October 16, 2012, 3:15am UTC](https://discuss.elastic.co/t/auto-creation-of-indexes-is-done-in-the-wrong-timezone/9365/2 "2012-10-16T03:15:45Z")

</div>

I have this situation using logstash+ES (GMT-4). Some events have an  
ISO8601 timestamp in GMT and those events seem to trigger the index  
creation ahead of schedule. I have considered trying to mess with the  
timestamps but technically the timestamp is correct and my searches in  
Kibana all come back with the correct times for the results, so I haven't  
really looked at it further.

On Mon, Oct 15, 2012 at 9:28 PM, Roberto [roberto.rosa@purebros.com](mailto:roberto.rosa@purebros.com) wrote:

> ```
> Hi,
> 
> Everyday, at 9:00 PM, a new index is created by ES. I think this
> 
> ```
> 
> process should be done at midnight. Anyone has idea of what is going on? My  
> timezone is GMT-3, by the way.
> 
> Thanks,  
> Roberto
> 
> --

--

---

<div class="post-metadata">

### Author: ![radu\_gheorghe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/radu_gheorghe/32/556_2.png) [@radu\_gheorghe](https://discuss.elastic.co/u/radu_gheorghe)
#### Post date: [October 16, 2012, 11:33am UTC](https://discuss.elastic.co/t/auto-creation-of-indexes-is-done-in-the-wrong-timezone/9365/3 "2012-10-16T11:33:16Z")

</div>

Hi Roberto,

What software uses Elasticsearch in your setup? I suppose that  
particular software creates the index automatically.

Normally, indices are automatically created when you index your first document.

## Best regards, Radu

[http://sematext.com/](http://sematext.com/) -- Elasticsearch -- Solr -- Lucene

On Tue, Oct 16, 2012 at 4:28 AM, Roberto [roberto.rosa@purebros.com](mailto:roberto.rosa@purebros.com) wrote:

> ```
> Hi,
> 
> Everyday, at 9:00 PM, a new index is created by ES. I think this
> 
> ```
> 
> process should be done at midnight. Anyone has idea of what is going on? My  
> timezone is GMT-3, by the way.
> 
> Thanks,  
> Roberto

--

---

<div class="post-metadata">

### Author: ![Roberto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roberto/32/2686_2.png) [@Roberto](https://discuss.elastic.co/u/Roberto)
#### Post date: [October 16, 2012, 12:39pm UTC](https://discuss.elastic.co/t/auto-creation-of-indexes-is-done-in-the-wrong-timezone/9365/4 "2012-10-16T12:39:53Z")

</div>

```
  Hi Radu,

  I'm using Kibana for all searches. I really don't know if it is the

```

responsible for creating the indexes - very likely it isn't. Anyway, ES  
should act like any other application and obey to the OS timezone....

```
  If anyone knows something about that, please let us know.

```

Thanks,  
Roberto

2012/10/16 Radu Gheorghe [radu.gheorghe@sematext.com](mailto:radu.gheorghe@sematext.com)

> Hi Roberto,
> 
> What software uses Elasticsearch in your setup? I suppose that  
> particular software creates the index automatically.
> 
> Normally, indices are automatically created when you index your first  
> document.
> 
> ## Best regards, Radu
> 
> [http://sematext.com/](http://sematext.com/) -- Elasticsearch -- Solr -- Lucene
> 
> On Tue, Oct 16, 2012 at 4:28 AM, Roberto [roberto.rosa@purebros.com](mailto:roberto.rosa@purebros.com)  
> wrote:
> 
> > ```
> > Hi,
> > 
> > Everyday, at 9:00 PM, a new index is created by ES. I think this
> > 
> > ```
> > 
> > process should be done at midnight. Anyone has idea of what is going on?  
> > My  
> > timezone is GMT-3, by the way.
> > 
> > Thanks,  
> > Roberto
> 
> --

--

\*Roberto Rosa  
Infraestrutura

- 

> **[Pure Bros - Servizi di Telefonia Mobile](https://www.purebros.it/)**
>
> Pure Bros è un system integrator con gli operatori per i servizi di telefonia mobile per gli SMS a valore aggiunto, i servizi di televoto e l'interattività

[twitter.com/](http://twitter.com/) [http://www.twitter.com/purebros](http://www.twitter.com/purebros)purebros[http://www.twitter.com/purebros](http://www.twitter.com/purebros)

* * *

LEGAL ADVICE / AVISO LEGAL: [http://purebros.com/legal.html](http://purebros.com/legal.html)

--

---

<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, 2017, 3:08am UTC](https://discuss.elastic.co/t/auto-creation-of-indexes-is-done-in-the-wrong-timezone/9365/5 "2017-07-06T03:08:31Z")

</div>


