<?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: Query for different timezones in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Query-for-different-timezones/m-p/275472#M83087</link>
    <description>&lt;P&gt;Also, you can adjust your user settings at &lt;CODE&gt;Your User Name&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Edit account&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Time zone&lt;/CODE&gt; to put in different values.  This setting controls the normalization of the &lt;CODE&gt;timepicker&lt;/CODE&gt; when you pick settings that are date-relative (e.g. &lt;CODE&gt;Today&lt;/CODE&gt;, &lt;CODE&gt;Last 7 days&lt;/CODE&gt;, etc.).&lt;/P&gt;</description>
    <pubDate>Mon, 30 May 2016 14:08:34 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2016-05-30T14:08:34Z</dc:date>
    <item>
      <title>Query for different timezones</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-for-different-timezones/m-p/275468#M83083</link>
      <description>&lt;P&gt;I have imported data with  daytime in GMT time zone.&lt;/P&gt;

&lt;P&gt;I need count events group by on variable interval (day,week or month) . I use a search query like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;mysearch&amp;gt;|
bucket _time span=1d | stats count as newUsersForPerido by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And this return counts over every day on GMT timezone.&lt;/P&gt;

&lt;P&gt;Now I need to use this query in different time zones for example UTC+03:00 and UTC-04:00 how I can modify my search string?&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 12:37:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-for-different-timezones/m-p/275468#M83083</guid>
      <dc:creator>alucaferro</dc:creator>
      <dc:date>2016-05-30T12:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Query for different timezones</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-for-different-timezones/m-p/275469#M83084</link>
      <description>&lt;P&gt;In which timezone are the events generated? Are they all GMT? &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/data/Applytimezoneoffsetstotimestamps"&gt;http://docs.splunk.com/Documentation/Splunk/latest/data/Applytimezoneoffsetstotimestamps&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 12:57:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-for-different-timezones/m-p/275469#M83084</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-05-30T12:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Query for different timezones</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-for-different-timezones/m-p/275470#M83085</link>
      <description>&lt;P&gt;Yes all events are generetad in GMT&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 13:07:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-for-different-timezones/m-p/275470#M83085</guid>
      <dc:creator>alucaferro</dc:creator>
      <dc:date>2016-05-30T13:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Query for different timezones</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-for-different-timezones/m-p/275471#M83086</link>
      <description>&lt;P&gt;The easiest way is just to adjust &lt;CODE&gt;_time&lt;/CODE&gt; like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval _time = _time + (3*60*60) | bucket _time span=1d | stats count as newUsersForPerido by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Be sure to also adjust your &lt;CODE&gt;timepicker&lt;/CODE&gt; to be 3 hours earlier on both sides so you pull in the correct events.&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 13:38:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-for-different-timezones/m-p/275471#M83086</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-05-30T13:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Query for different timezones</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-for-different-timezones/m-p/275472#M83087</link>
      <description>&lt;P&gt;Also, you can adjust your user settings at &lt;CODE&gt;Your User Name&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Edit account&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Time zone&lt;/CODE&gt; to put in different values.  This setting controls the normalization of the &lt;CODE&gt;timepicker&lt;/CODE&gt; when you pick settings that are date-relative (e.g. &lt;CODE&gt;Today&lt;/CODE&gt;, &lt;CODE&gt;Last 7 days&lt;/CODE&gt;, etc.).&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 14:08:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-for-different-timezones/m-p/275472#M83087</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-05-30T14:08:34Z</dc:date>
    </item>
  </channel>
</rss>

