# Kibana TimeZone doesn't change

**URL:** https://discuss.elastic.co/t/kibana-timezone-doesnt-change/97923
**Category:** Kibana
**Created:** [August 22, 2017, 2:14pm UTC](https://discuss.elastic.co/t/kibana-timezone-doesnt-change/97923 "2017-08-22T14:14:41Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Huffs](https://avatars.discourse-cdn.com/v4/letter/h/ce7236/32.png) [@Huffs](https://discuss.elastic.co/u/Huffs)
#### Post date: [August 22, 2017, 2:14pm UTC](https://discuss.elastic.co/t/kibana-timezone-doesnt-change/97923/1 "2017-08-22T14:14:41Z")

</div>

Hi everybody,

Before everything, I´m sorry for my bad english. I´ll try to be clear and brief.

I´ve already tried changing my timezone, but I didn't succeed.

I changed the timezone on "Advanced Settings", "dateFormat:tz" like you can see below.

![image](https://us1.discourse-cdn.com/elastic/original/3X/f/3/f345087f1e9df9ba99f2e8c8967539a3426ccb97.png)

This is my computer local date, right now

![image](https://us1.discourse-cdn.com/elastic/original/3X/c/2/c270be2c16221e9a76b643782ed25b316611aee0.png)

But in Kibana when I insert the date "22/08/2017 09:00:00", it´s showing me

![image](https://us1.discourse-cdn.com/elastic/original/3X/1/f/1f981ec32c1f468d3f78218a7ec238b65304a844.png)

What am I forgetting?

Thank you for your attention

---

<div class="post-metadata">

### Author: ![mhgeay](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mhgeay/32/21365_2.png) [@mhgeay](https://discuss.elastic.co/u/mhgeay)
#### Post date: [August 22, 2017, 2:37pm UTC](https://discuss.elastic.co/t/kibana-timezone-doesnt-change/97923/2 "2017-08-22T14:37:22Z")

</div>

Hello Mikhael,

I think it's specific of your date field in your document. Can you paste the JSON view of this doc ?  
But to be sure : when you "insert the date", you mean that you choose a time range with the Time-picker (image) ?

![image](https://us1.discourse-cdn.com/elastic/original/3X/5/f/5f5d764fdd638758f5e3b19cb25659d84e6b08cc.png)

Except error, Elasticsearch works only with UTC time and Kibana manage itself the documents date you watch to adapt with your timezone.

---

<div class="post-metadata">

### Author: ![Huffs](https://avatars.discourse-cdn.com/v4/letter/h/ce7236/32.png) [@Huffs](https://discuss.elastic.co/u/Huffs)
#### Post date: [August 22, 2017, 2:52pm UTC](https://discuss.elastic.co/t/kibana-timezone-doesnt-change/97923/3 "2017-08-22T14:52:13Z")

</div>

Hello MH,

I expressed myself very badly, sorry.

When I said "insert the date" I was saying when I add a document into ElasticSearch how you can see below.

PUT date-test/person/1  
{  
"date": "22/08/2017 09:00:00"  
}

And this my mapping.

PUT date-test  
{  
"mappings": {  
"person": {  
"\_all": { "enabled": false },  
"properties": {  
"date": {"type": "date", "format": "dd/MM/yyyy HH:mm:ss"}  
}  
}  
}  
}

Thank you for replying

---

<div class="post-metadata">

### Author: ![mhgeay](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mhgeay/32/21365_2.png) [@mhgeay](https://discuss.elastic.co/u/mhgeay)
#### Post date: [August 22, 2017, 3:17pm UTC](https://discuss.elastic.co/t/kibana-timezone-doesnt-change/97923/4 "2017-08-22T15:17:28Z")

</div>

Hi,

No problem, not the only one 🙂

With the fact that elasticsearch works and index doc with UTC timezone, you have to specify in your logstash pipeline, in date plugin, the timezone of your "date" field ; here seem Brazil BRT (UTC +3, no DST).  
Try to specify the [timezone](https://www.elastic.co/guide/en/logstash/current/plugins-filters-date.html#plugins-filters-date-timezone) option.

---

<div class="post-metadata">

### Author: ![Huffs](https://avatars.discourse-cdn.com/v4/letter/h/ce7236/32.png) [@Huffs](https://discuss.elastic.co/u/Huffs)
#### Post date: [August 22, 2017, 3:39pm UTC](https://discuss.elastic.co/t/kibana-timezone-doesnt-change/97923/5 "2017-08-22T15:39:40Z")

</div>

Hi MH,

I understand what you said. But I just doing a prototype, for this reason I've tried add my document by Sense plugin or Kibana Dev Tools.

In the final version I will use Java API to loading my data.

Is the problem in my Kibana configuration? I say it because, take a look in my data when I use Kibana Dev Tools.

It's the way that I would expect, in Discover tab.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/c/2c054961a1b13e98fc6ead48eae155305d80a327.png)

Thank you for replying

---

<div class="post-metadata">

### Author: ![Huffs](https://avatars.discourse-cdn.com/v4/letter/h/ce7236/32.png) [@Huffs](https://discuss.elastic.co/u/Huffs)
#### Post date: [August 23, 2017, 5:45pm UTC](https://discuss.elastic.co/t/kibana-timezone-doesnt-change/97923/6 "2017-08-23T17:45:17Z")

</div>

Hi everybody,

I found a solution. But , I'm not sure If it's the best alternative to me.

What did I do?

I changed the dateFormat:tz in the Kibana to UTC. After did it, my Kibana has worked well.

Thanks for all attention

---

<div class="post-metadata">

### Author: ![Huffs](https://avatars.discourse-cdn.com/v4/letter/h/ce7236/32.png) [@Huffs](https://discuss.elastic.co/u/Huffs)
#### Post date: [August 23, 2017, 6:59pm UTC](https://discuss.elastic.co/t/kibana-timezone-doesnt-change/97923/7 "2017-08-23T18:59:14Z")

</div>

Hi again everybody,

I'm sorry for posting again here, but I need to help again. I thought that I found a solution, but I was wrong.

The problem is not solved. I will print what I'm doing step by step.

FIrst, it is my mapping and how I add my document

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/4/545ea434c7a4ffadf9d6f835ed3fdf607502c2ec.png)

This is Kibana view,

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/e/9e0b00c4c11f88299d73c0d1aa9dd4fa17676e85.png)

When I change to last 15 minutes

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/d/dd62dfe93848b8233c45a3cf59c277f016284d12.png)

TimeZone:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/5/f5fed14d3ad7c901fc345c1eb24ad322eeaa929f.png)

And the time in my computer

![image](https://us1.discourse-cdn.com/elastic/original/3X/c/4/c4ca32fe490decfc20b86919fca091b056ac13f0.png)

What am I forgetting?

And I'm sorry for my bad english again.

Thank you

---

<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 20, 2017, 6:59pm UTC](https://discuss.elastic.co/t/kibana-timezone-doesnt-change/97923/8 "2017-09-20T18:59:35Z")

</div>

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