<?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: Timezones issues 1 site, 3 users in different timezones. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372187#M67542</link>
    <description>&lt;P&gt;have you tried to change the users TZ in the account settings to be Paris TZ?&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2017 11:33:22 GMT</pubDate>
    <dc:creator>cmerriman</dc:creator>
    <dc:date>2017-06-27T11:33:22Z</dc:date>
    <item>
      <title>Timezones issues 1 site, 3 users in different timezones.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372185#M67540</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I have 1 sight, but users in 3 timezone. &lt;BR /&gt;
One in Dublin,Paris and Beirut. (Paris is one hour ahead of me).&lt;/P&gt;

&lt;P&gt;I want all users to see 100% what is seen by the pairs users.&lt;/P&gt;

&lt;P&gt;All the servers and forwarders are in Paris.&lt;BR /&gt;
When i log in with a Paris user with CITRIX it all works fine, however when i log in with a Dublin user i am getting issues, time out by 1 hour when i do an action.&lt;/P&gt;

&lt;P&gt;I am using a user with (Default system time) . &lt;BR /&gt;
I have created a graph like below that maps out the events, when i hover over it i can see the start and end time of the event [16:10 - 16:17].&lt;BR /&gt;
I have set up a drilldown that will drive another graph to display the logs that happened in that time zone.&lt;/P&gt;

&lt;P&gt;So in my example, i click on PREPARE_TDS and it should drive the next graph with the time of  $earliest$ &amp;amp; $latest$ however in Dublin it pushes the time to 17:10 and not 16:10. In Paris it works fine 16:10 is used. So the location of the Dublin user is causing an issues.&lt;/P&gt;

&lt;P&gt;2 Questions&lt;BR /&gt;
1) Is there a way to tell SPLUNK that all users should get the same data ignoring location. So in my case i want all users to see data on PARIS time as all the servers and forwarders are there.&lt;/P&gt;

&lt;P&gt;2) If not for above, how do i fix it for the Dublin Users&lt;/P&gt;

&lt;P&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/3129i823200629DED7F63/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;PRE&gt;&lt;CODE&gt;  &amp;lt;viz type="timeline_app.timeline"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;eventtype=mlc sourcetype=lts_timings host=$host_token$ | eval duration_seconds=duration_seconds*1000 | eval task_name2=task_name | table _time task_name task_name2 duration_seconds | sort $Name_or_Duration2$ | rename task_name as Event_Name | rename task_name2 as Event_Name2 | search Event_Name=*$Task_Search$*&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$tps_selection.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$tps_selection.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="height"&amp;gt;399&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.axisTimeFormat"&amp;gt;SECONDS&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.colorMode"&amp;gt;categorical&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.maxColor"&amp;gt;#DA5C5C&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.minColor"&amp;gt;#FFE8E8&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.numOfBins"&amp;gt;6&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.tooltipTimeFormat"&amp;gt;SECONDS&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.useColors"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;set token="TEST_GANTT_VALUE"&amp;gt;$row.Event_Name$&amp;lt;/set&amp;gt;
          &amp;lt;set token="TEST_GANTT_start"&amp;gt;$earliest$&amp;lt;/set&amp;gt;
          &amp;lt;set token="TEST_GANTT_end"&amp;gt;$latest$&amp;lt;/set&amp;gt;

        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/viz&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&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/3130iACB0D62550F95056/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;P&gt;The search is the same from Paris or Dublin&lt;/P&gt;

&lt;P&gt;So the question i have is, i am aware if i use eval function to set the time it will change the time, however in this case i am setting the data. I am unsure how to get the Dublin users to see what the Paris users are seeing.&lt;/P&gt;

&lt;P&gt;Cheers &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 11:19:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372185#M67540</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2017-06-27T11:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Timezones issues 1 site, 3 users in different timezones.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372186#M67541</link>
      <description>&lt;P&gt;I also tried to set up epoc time, however the graph does not display it so i cant reference it. Unless there is a way to do that?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;viz type="timeline_app.timeline"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;eventtype=mlc sourcetype=lts_timings host=$host_token$ | eval duration_seconds=duration_seconds*1000 | eval task_name2=task_name  | eval Start_epoc=start  |  eval Stop_epoc=end | eval Start_epoc = strptime(Start_epoc,"%Y-%m-%d %H:%M:%S") | eval Stop_epoc = strptime(Stop_epoc,"%Y-%m-%d %H:%M:%S") | table _time task_name task_name2 duration_seconds Start_epoc Stop_epoc | sort $Name_or_Duration2$ | rename task_name as Event_Name | rename task_name2 as Event_Name2 | search Event_Name=*$Task_Search$*&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$tps_selection.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$tps_selection.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="height"&amp;gt;399&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.axisTimeFormat"&amp;gt;SECONDS&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.colorMode"&amp;gt;categorical&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.maxColor"&amp;gt;#DA5C5C&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.minColor"&amp;gt;#FFE8E8&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.numOfBins"&amp;gt;6&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.tooltipTimeFormat"&amp;gt;SECONDS&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.useColors"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;set token="TEST_GANTT_VALUE"&amp;gt;$row.Event_Name$&amp;lt;/set&amp;gt;
          &amp;lt;set token="TEST_GANTT_start"&amp;gt;$row.Start_epoc$&amp;lt;/set&amp;gt;
          &amp;lt;set token="TEST_GANTT_end"&amp;gt;$row.Stop_epoc$&amp;lt;/set&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/viz&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Jun 2017 11:29:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372186#M67541</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2017-06-27T11:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Timezones issues 1 site, 3 users in different timezones.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372187#M67542</link>
      <description>&lt;P&gt;have you tried to change the users TZ in the account settings to be Paris TZ?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 11:33:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372187#M67542</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-06-27T11:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Timezones issues 1 site, 3 users in different timezones.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372188#M67543</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;Yes, i have tried this. But no Luck. Paris display correctly but Dublin is still one hour + when i click the button.&lt;/P&gt;

&lt;P&gt;Cheers anyway.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 11:58:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372188#M67543</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2017-06-27T11:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Timezones issues 1 site, 3 users in different timezones.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372189#M67544</link>
      <description>&lt;P&gt;do you happen to have the &lt;CODE&gt;date_zone&lt;/CODE&gt; in your data? i have similar needs for my own data but need to be able to see data in my own time zone as well as in local time zones at sites. i add this chunk of syntax right after my base search to shift _time. it may need to be tweaked to what you need it to do, but it's a start&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| addinfo 
| convert mktime(dateTime) as epochDateTime timeformat="%Y-%m-%d %H:%M:%S.%6N %:z" 
| eval shifted_time=epochDateTime-(abs(date_zone)*60) 
| convert ctime(shifted_time) as shifted_time_epoch timeformat="%Y-%m-%d %H:%M:%S.%6N %:z" 
| eval offset=case(like(shifted_time_epoch,"%12:00") ,43200, like(shifted_time_epoch ,"%11:00"),39600, like(shifted_time_epoch,"%10:00"),36000, like(shifted_time_epoch,"%09:00"),32400, like(shifted_time_epoch,"%08:00"),28800, like(shifted_time_epoch,"%07:00"),25200, like(shifted_time_epoch,"%06:00"),21600, like(shifted_time_epoch,"%05:00"),18000, like(shifted_time_epoch,"%04:00"),14400, like(shifted_time_epoch,"%03:00"),10800, like(shifted_time_epoch,"%02:00"),7200, like(shifted_time_epoch,"%01:00"),3600, like(shifted_time_epoch,"%00:00"),0)
| eval _time=shifted_time+offset
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Jun 2017 12:10:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372189#M67544</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-06-27T12:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Timezones issues 1 site, 3 users in different timezones.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372190#M67545</link>
      <description>&lt;P&gt;I Have also tried to change my splunk/etc/apps/user-prefs/local/user-prefs.conf&lt;/P&gt;

&lt;P&gt;However a user consultant logged in from Dublin is still converting time to + 1.&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
tz = Europe/Paris&lt;/P&gt;

&lt;P&gt;[role_consultant]&lt;BR /&gt;
default_namespace = murex_mlc&lt;BR /&gt;
tz = Europe/Paris&lt;/P&gt;

&lt;P&gt;[role_consultant_read]&lt;BR /&gt;
default_namespace = murex_mlc&lt;BR /&gt;
tz = Europe/Paris&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:39:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372190#M67545</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2020-09-29T14:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Timezones issues 1 site, 3 users in different timezones.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372191#M67546</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Thanks for this, however i was trying to get an answer on the system level and not have to add code into the configuration.&lt;/P&gt;

&lt;P&gt;However it is looking like it is not possible.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 16:43:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timezones-issues-1-site-3-users-in-different-timezones/m-p/372191#M67546</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2017-06-27T16:43:57Z</dc:date>
    </item>
  </channel>
</rss>

