<?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: How to set a default timezone for an entire multisite Splunk deployment? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213483#M41939</link>
    <description>&lt;P&gt;If the file &lt;CODE&gt;$SPLUNK_HOME/etc/system/local/user-prefs.conf&lt;/CODE&gt; does not exist, then you must create it with the contents shown.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2017 11:41:51 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2017-06-28T11:41:51Z</dc:date>
    <item>
      <title>How to set a default timezone for an entire multisite Splunk deployment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213471#M41927</link>
      <description>&lt;P&gt;Hi,  &lt;/P&gt;

&lt;P&gt;I'm creating a multisite Splunk deployment with timezone differences.  Since most users do not change their timezone perf and it's set to default, it could change depending on which search head and indexer they pull from.  Is there a configuration setting that would set the timezone for the entire Splunk environment?  I would imagine I would need to set the indexers and the search heads to ensure the results are static, correct? Any recommendations on how I should approach this?&lt;/P&gt;

&lt;P&gt;TIA,&lt;BR /&gt;
Todd&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 17:09:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213471#M41927</guid>
      <dc:creator>wweiland</dc:creator>
      <dc:date>2016-08-05T17:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default timezone for an entire multisite Splunk deployment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213472#M41928</link>
      <description>&lt;P&gt;There are two major locations for timezone:&lt;BR /&gt;
 1 - in the data ingestion process - the timezone is essential to making sure that the timestamp is accurate for every event&lt;BR /&gt;
 2 - in the user interface (at search time) - the user's timezone controls how the timestamp is displayed&lt;/P&gt;

&lt;P&gt;Data ingestion: the Splunk Admin must make appropriate time and timezone settings on the forwarders and indexers, using props.conf&lt;/P&gt;

&lt;P&gt;Search time: users can choose a timezone, or you can set one by default, using user-prefs.conf - must be done on the search head(s)&lt;BR /&gt;
Although it is not explicitly documented, try this in etc/system/local/user-prefs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
# Only canonical timezone names such as America/Los_Angeles are allowed
 tz = America/Los_Angeles

[general_default]
default_earliest_time = -24h@h
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If this doesn't work, try setting the tz explicitly for each role (a bit more painful, but the documented way):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[role_power]
tz =  America/Los_Angeles
lang = en-US

[role_user]
tz = GMT
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Aug 2016 17:50:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213472#M41928</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2016-08-05T17:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default timezone for an entire multisite Splunk deployment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213473#M41929</link>
      <description>&lt;P&gt;This answer is great.  Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 18:10:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213473#M41929</guid>
      <dc:creator>wweiland</dc:creator>
      <dc:date>2016-08-05T18:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default timezone for an entire multisite Splunk deployment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213474#M41930</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I need to change the tz for all the users and roles to Oslo Norway timezone.&lt;BR /&gt;
(GMT+01:00)&lt;/P&gt;

&lt;P&gt;But I cant find system folder under etc folder on our search head.&lt;/P&gt;

&lt;P&gt;Instead we have below path:&lt;BR /&gt;
 /opt/splunk/etc/apps/user-prefs/local/user-prefs.conf&lt;BR /&gt;
 /opt/splunk/etc/apps/user-prefs/default/user-prefs.conf&lt;/P&gt;

&lt;P&gt;I tried adding below stanzas in /opt/splunk/etc/apps/user-prefs/local/user-prefs.conf and restarted splunk, but its not working.&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
tz = Europe/Amsterdam&lt;/P&gt;

&lt;P&gt;[general_default]&lt;BR /&gt;
 default_earliest_time = -24h@h&lt;/P&gt;

&lt;P&gt;Kindly suggest where I am wrong&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Regards,&lt;BR /&gt;
Ravikiran Shikchi&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:03:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213474#M41930</guid>
      <dc:creator>tkmads1</dc:creator>
      <dc:date>2020-09-29T14:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default timezone for an entire multisite Splunk deployment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213475#M41931</link>
      <description>&lt;P&gt;hi &lt;/P&gt;

&lt;P&gt;I have the same issues, did you get a fix for this?&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 13:02:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213475#M41931</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2017-05-26T13:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default timezone for an entire multisite Splunk deployment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213476#M41932</link>
      <description>&lt;P&gt;OF the two suggestions , what one worked?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 14:47:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213476#M41932</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2017-06-27T14:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default timezone for an entire multisite Splunk deployment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213477#M41933</link>
      <description>&lt;P&gt;I believe the first one worked for me.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 14:51:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213477#M41933</guid>
      <dc:creator>wweiland</dc:creator>
      <dc:date>2017-06-27T14:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default timezone for an entire multisite Splunk deployment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213478#M41934</link>
      <description>&lt;P&gt;Can you do a "/opt/splunk/bin/splunk btool --debug user-prefs list | less" and search for tz?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 14:53:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213478#M41934</guid>
      <dc:creator>wweiland</dc:creator>
      <dc:date>2017-06-27T14:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default timezone for an entire multisite Splunk deployment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213479#M41935</link>
      <description>&lt;P&gt;hi &lt;/P&gt;

&lt;P&gt;I get this with that command&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/dell425srv3/apps/splunk/etc/apps/user-prefs/default/user-prefs.conf [general]
/dell425srv3/apps/splunk/etc/apps/user-prefs/default/user-prefs.conf datasets:showInstallDialog = 1
/dell425srv3/apps/splunk/etc/apps/user-prefs/default/user-prefs.conf search_assistant = compact
/dell425srv3/apps/splunk/etc/apps/user-prefs/default/user-prefs.conf search_auto_format = 0
/dell425srv3/apps/splunk/etc/apps/user-prefs/default/user-prefs.conf search_line_numbers = 0
/dell425srv3/apps/splunk/etc/apps/user-prefs/default/user-prefs.conf search_syntax_highlighting = light
/dell425srv3/apps/splunk/etc/apps/user-prefs/default/user-prefs.conf [general_default]
/dell425srv3/apps/splunk/etc/apps/user-prefs/default/user-prefs.conf appOrder = search
/dell425srv3/apps/splunk/etc/apps/user-prefs/default/user-prefs.conf default_earliest_time = -24h@h
/dell425srv3/apps/splunk/etc/apps/user-prefs/default/user-prefs.conf default_latest_time = now
/dell425srv3/apps/splunk/etc/apps/user-prefs/default/user-prefs.conf default_namespace = $default
/dell425srv3/apps/splunk/etc/apps/user-prefs/default/user-prefs.conf hideInstrumentationOptInModal = 0
/dell425srv3/apps/splunk/etc/apps/user-prefs/default/user-prefs.conf showWhatsNew = 1
/dell425srv3/apps/splunk/etc/apps/user-prefs/local/user-prefs.conf   [role_consultant]
/dell425srv3/apps/splunk/etc/apps/user-prefs/local/user-prefs.conf   default_namespace = murex_mlc
/dell425srv3/apps/splunk/etc/apps/user-prefs/local/user-prefs.conf   [role_consultant_read]
/dell425srv3/apps/splunk/etc/apps/user-prefs/local/user-prefs.conf   default_namespace = murex_mlc
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;so when i open it up i get this.&lt;BR /&gt;
 /dell425srv3/apps/splunk/etc/apps/user-prefs/local/user-prefs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[role_consultant]
default_namespace = murex_mlc

[role_consultant_read]
default_namespace = murex_mlc
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Not sure if i should try and add in my TZ here or create&lt;BR /&gt;
etc/system/local/user-prefs.conf&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 15:10:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213479#M41935</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2017-06-27T15:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default timezone for an entire multisite Splunk deployment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213480#M41936</link>
      <description>&lt;P&gt;Yeah, add the tz to your local/user-prefs.conf that you have.  I  see no reason why that shouldn't work.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 15:16:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213480#M41936</guid>
      <dc:creator>wweiland</dc:creator>
      <dc:date>2017-06-27T15:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default timezone for an entire multisite Splunk deployment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213481#M41937</link>
      <description>&lt;P&gt;Bad news i added this to splunk/etc/apps/user-prefs/local/user-prefs.conf &lt;/P&gt;

&lt;P&gt;I log into my two different sights(same user consultant)  - One in paris via Citrix and on in Dublin, the one in Dublin  is not behaving like the one in paris.&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:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213481#M41937</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2020-09-29T14:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default timezone for an entire multisite Splunk deployment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213482#M41938</link>
      <description>&lt;P&gt;Are they both suppose to be Europe/Paris?  You can do the btool and the one not acting correctly and see if the config is there.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 16:19:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213482#M41938</guid>
      <dc:creator>wweiland</dc:creator>
      <dc:date>2017-06-27T16:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default timezone for an entire multisite Splunk deployment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213483#M41939</link>
      <description>&lt;P&gt;If the file &lt;CODE&gt;$SPLUNK_HOME/etc/system/local/user-prefs.conf&lt;/CODE&gt; does not exist, then you must create it with the contents shown.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 11:41:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213483#M41939</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2017-06-28T11:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default timezone for an entire multisite Splunk deployment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213484#M41940</link>
      <description>&lt;P&gt;HI &lt;/P&gt;

&lt;P&gt;Thanks for your help.&lt;/P&gt;

&lt;P&gt;I have created this file however when i log in from DUBLIN with two users&lt;BR /&gt;
Admin = Default Time Zone&lt;BR /&gt;
Consultant = Paris Time Zone&lt;/P&gt;

&lt;P&gt;I still get the issues that after i do an action in my GUI it acts differently to when i log in Via CITRIX from PARIS.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 14:22:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-default-timezone-for-an-entire-multisite-Splunk/m-p/213484#M41940</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2017-06-28T14:22:23Z</dc:date>
    </item>
  </channel>
</rss>

