# Kibana change the "now value" or current time

**URL:** <https://discuss.elastic.co/t/kibana-change-the-now-value-or-current-time/334203>\
**Category:** Kibana\
**Created:** [May 24, 2023, 10:28am UTC](https://discuss.elastic.co/t/kibana-change-the-now-value-or-current-time/334203 "2023-05-24T10:28:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JackieLaFrite](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@JackieLaFrite](https://discuss.elastic.co/u/JackieLaFrite)\
**Post date:** [May 24, 2023, 10:28am UTC](https://discuss.elastic.co/t/kibana-change-the-now-value-or-current-time/334203/1 "2023-05-24T10:28:49Z")

</div>

Kibana "now" value is incorrect and i don't want it to modify the value of my time field.

If it's currently 12h05, logstash send the logs from 12h05 but Kibana with this settings :  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/7/2728f2704f94343e3d986f97e5b188736525ca0f.png)

Display the logs from 10h and add 2 hours to his time field.

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

I DO NOT WANT THAT, I don't want kibana to modify the time field, to avoid that I can set the timezone in the settings to UTC but if I do that the "now" value is equal to the UTC time (10h) and not the time from my timezone (Europe/Brussels) (12h) So i must modify the time range and add 2 hours it's horrible.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/4/3461abd625c1c0555c4c1ca7ea1d667298bfa3bc.png)

If i modify the time range by adding two hours and settings the tz in kibana to UTC (which is not but no other way to avoid the modification of the time field xd) it's good i have the current log with their valid time :

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

---

<div class="post-metadata">

**Author:** ![jughosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jughosta/32/107160_2.png) [@jughosta](https://discuss.elastic.co/u/jughosta)\
**Post date:** [May 25, 2023, 6:48pm UTC](https://discuss.elastic.co/t/kibana-change-the-now-value-or-current-time/334203/2 "2023-05-25T18:48:00Z")

</div>

Hi @JackieLaFrite,

Maybe there is an issue with ingesting data if "now" is not what you expect.

Besides "Relative" time ranges, there is also an option to set an "Absolute" time range so neither "from" not "to" changes.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [May 25, 2023, 9:49pm UTC](https://discuss.elastic.co/t/kibana-change-the-now-value-or-current-time/334203/3 "2023-05-25T21:49:22Z")

</div>

Hi @JackieLaFrite

I think I understand what you are looking for.

In short, the Time Zone setting for Kibana is Universal for All Date Fields in Kibana so in your Case the Time Zone picker can not be in local time and the times displayed in Discover can not then be in UTC.

BUT

There is a pretty quick way you can see both assuming you are on a fairly recent version of Elastic / Kibana. What Version are you on?

In short, Leave Kibana in Browser Zone and you can add a runtime field that will always show the UTC Time as a string and it will be available in Discover as a string, would that help?

 ![Screenshot 2023-05-25 at 2.44.51 PM](https://us1.discourse-cdn.com/elastic/original/3X/0/2/02f56ac555a72b50879b36587ca882806a1a99c9.jpeg)

I added a runtime field in the data view

Go to Kibana -\> Stack Management - Data Views -\> Add field

Here is the code

```auto
String utc_time = field('@timestamp').get(null).toString();
emit(utc_time);

```

And this is what it looks like

 ![Screenshot 2023-05-25 at 2.47.16 PM](https://us1.discourse-cdn.com/elastic/original/3X/9/3/93231db6ceda1628bcd4a6a1f379a1db283c8167.png)

Perhaps this can 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:** [June 22, 2023, 9:50pm UTC](https://discuss.elastic.co/t/kibana-change-the-now-value-or-current-time/334203/4 "2023-06-22T21:50:03Z")

</div>

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