<?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: Can you specify timezone in a REST API search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-you-specify-timezone-in-a-REST-API-search/m-p/250971#M74968</link>
    <description>&lt;P&gt;Change the &lt;CODE&gt;Time zone&lt;/CODE&gt; setting ( &lt;CODE&gt;My UserName&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Edit Account&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Time zone&lt;/CODE&gt; ) for the user running the search (REST API call) and set it to &lt;CODE&gt;EST&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2015 20:00:51 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-11-25T20:00:51Z</dc:date>
    <item>
      <title>Can you specify timezone in a REST API search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-specify-timezone-in-a-REST-API-search/m-p/250970#M74967</link>
      <description>&lt;P&gt;I'm using the REST API with a one-shot search to pull back some previously summarized information. The summary indexing was done with EST timezone so the events show up as 00:00:00 EST. The server i'm doing the REST API call from is on CST timezone. When I get the results back from the search they show up as the previous day because the timestamp ends up being 1 hour before at 23:00:00 CST - 1Day. This is completely screwing up my search results. Is there a way to force the API call to use EST timezone instead of the system default?&lt;/P&gt;

&lt;P&gt;Note:&lt;BR /&gt;
Changing the timezone on my server is not an option because it's a shared server. &lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2015 18:17:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-specify-timezone-in-a-REST-API-search/m-p/250970#M74967</guid>
      <dc:creator>jedatt01</dc:creator>
      <dc:date>2015-11-25T18:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can you specify timezone in a REST API search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-specify-timezone-in-a-REST-API-search/m-p/250971#M74968</link>
      <description>&lt;P&gt;Change the &lt;CODE&gt;Time zone&lt;/CODE&gt; setting ( &lt;CODE&gt;My UserName&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Edit Account&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Time zone&lt;/CODE&gt; ) for the user running the search (REST API call) and set it to &lt;CODE&gt;EST&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2015 20:00:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-specify-timezone-in-a-REST-API-search/m-p/250971#M74968</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-11-25T20:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can you specify timezone in a REST API search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-specify-timezone-in-a-REST-API-search/m-p/250972#M74969</link>
      <description>&lt;P&gt;I tried this and it first it didn't work. I waited some more time though then restarted my webserver and cleared cache on my client and now its working. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2015 01:53:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-specify-timezone-in-a-REST-API-search/m-p/250972#M74969</guid>
      <dc:creator>jedatt01</dc:creator>
      <dc:date>2015-11-26T01:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can you specify timezone in a REST API search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-specify-timezone-in-a-REST-API-search/m-p/250973#M74970</link>
      <description>&lt;P&gt;Can you elaborate what do you mean by clearing cache on the client?&lt;BR /&gt;
I have the same problem, but not able to make it work with the same solution.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 02:36:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-specify-timezone-in-a-REST-API-search/m-p/250973#M74970</guid>
      <dc:creator>redflexigork</dc:creator>
      <dc:date>2018-03-15T02:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can you specify timezone in a REST API search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-specify-timezone-in-a-REST-API-search/m-p/250974#M74971</link>
      <description>&lt;P&gt;You can have Splunk server return UTC time&lt;BR /&gt;
'original query' | eval time=_time | fields - _time&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 16:37:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-specify-timezone-in-a-REST-API-search/m-p/250974#M74971</guid>
      <dc:creator>bhatti009</dc:creator>
      <dc:date>2020-05-08T16:37:15Z</dc:date>
    </item>
  </channel>
</rss>

