<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Horizon Chart - How can I change the axis based on user's timezone? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Horizon-Chart-How-can-I-change-the-axis-based-on-user-s-timezone/m-p/448143#M55126</link>
    <description>&lt;P&gt;I know its over a year later - but did you resolve this ? I would like to know why Horizon Chart doesnt use the localised _time generated by | timestamp but instead uses the UTC timestamp from the event&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2019 23:45:07 GMT</pubDate>
    <dc:creator>ahartge</dc:creator>
    <dc:date>2019-11-18T23:45:07Z</dc:date>
    <item>
      <title>Horizon Chart - How can I change the axis based on user's timezone?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Horizon-Chart-How-can-I-change-the-axis-based-on-user-s-timezone/m-p/448142#M55125</link>
      <description>&lt;P&gt;Recently I observed that the axis in Horizon Chart is not following the timezone setting by the user. Please refer to the images below,&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;The user with timezone setting as GMT+0800&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5387i8BAB19E1A3AC86D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;The user with timezone setting as GMT&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5388iE78105252C72DC0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Do I have any method that I can apply the timezone configured by the user in Splunk on the axis?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 06:55:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Horizon-Chart-How-can-I-change-the-axis-based-on-user-s-timezone/m-p/448142#M55125</guid>
      <dc:creator>alvin_kwong</dc:creator>
      <dc:date>2018-07-19T06:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Horizon Chart - How can I change the axis based on user's timezone?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Horizon-Chart-How-can-I-change-the-axis-based-on-user-s-timezone/m-p/448143#M55126</link>
      <description>&lt;P&gt;I know its over a year later - but did you resolve this ? I would like to know why Horizon Chart doesnt use the localised _time generated by | timestamp but instead uses the UTC timestamp from the event&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 23:45:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Horizon-Chart-How-can-I-change-the-axis-based-on-user-s-timezone/m-p/448143#M55126</guid>
      <dc:creator>ahartge</dc:creator>
      <dc:date>2019-11-18T23:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Horizon Chart - How can I change the axis based on user's timezone?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Horizon-Chart-How-can-I-change-the-axis-based-on-user-s-timezone/m-p/448144#M55127</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| makeresults count=2
| streamstats count
| eval _time = if (count==2,relative_time(_time,"-24h@m"), relative_time(_time,"@m"))
| makecontinuous span=30m
| eval col1=random() % 20, col2=random() % 20, col3=random() % 20
| fieldformat _time = strftime(_time,"%c %:::z")
| table _time col*
| eval COMMENT AS "this is sample data"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It runs in local time&lt;/P&gt;

&lt;P&gt;In the worst case, add the following command:&lt;BR /&gt;
&lt;CODE&gt;| eval _time = relative_time (_time, "The timezone offset from UTC")&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 11:37:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Horizon-Chart-How-can-I-change-the-axis-based-on-user-s-timezone/m-p/448144#M55127</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2019-11-19T11:37:05Z</dc:date>
    </item>
  </channel>
</rss>

