<?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 Log time differs from time on splunk host in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Log-time-differs-from-time-on-splunk-host/m-p/52518#M10117</link>
    <description>&lt;P&gt;I'm running splunk in windows where the time is in PST.&lt;/P&gt;

&lt;P&gt;I read logs in GMT time, so when I search for most recent, it yields 0 results because all my data is indexed in GMT time (technically in the future).&lt;/P&gt;

&lt;P&gt;Example:&lt;BR /&gt;
IIS log &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2011-08-02 23:42:01 W3SVC1...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But current time on system is 4:42 PM PST. &lt;/P&gt;

&lt;P&gt;So when I issue a search for the current time, it searches and returns for data at 4:442PM PST, not 4:42PM GMT.&lt;/P&gt;

&lt;P&gt;Is there a work around for this?&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2011 23:44:46 GMT</pubDate>
    <dc:creator>suhprano</dc:creator>
    <dc:date>2011-08-02T23:44:46Z</dc:date>
    <item>
      <title>Log time differs from time on splunk host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-time-differs-from-time-on-splunk-host/m-p/52518#M10117</link>
      <description>&lt;P&gt;I'm running splunk in windows where the time is in PST.&lt;/P&gt;

&lt;P&gt;I read logs in GMT time, so when I search for most recent, it yields 0 results because all my data is indexed in GMT time (technically in the future).&lt;/P&gt;

&lt;P&gt;Example:&lt;BR /&gt;
IIS log &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2011-08-02 23:42:01 W3SVC1...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But current time on system is 4:42 PM PST. &lt;/P&gt;

&lt;P&gt;So when I issue a search for the current time, it searches and returns for data at 4:442PM PST, not 4:42PM GMT.&lt;/P&gt;

&lt;P&gt;Is there a work around for this?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2011 23:44:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-time-differs-from-time-on-splunk-host/m-p/52518#M10117</guid>
      <dc:creator>suhprano</dc:creator>
      <dc:date>2011-08-02T23:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Log time differs from time on splunk host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-time-differs-from-time-on-splunk-host/m-p/52519#M10118</link>
      <description>&lt;P&gt;This page explains how to set up Splunk’s props.conf to convert data sources from a specified time format: &lt;A href="http://www.splunk.com/base/Documentation/4.1.8/Admin/Applytimezoneoffsetstotimestamps"&gt;Specify Timezones of Timestamps&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Example: to set all IIS sources to be imported from UTC, add:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype::iis]
TZ = Etc/UTC
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This assumes that your IIS logs have a sourcetype of "iis" - adjust appropriately for your system.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2011 18:27:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-time-differs-from-time-on-splunk-host/m-p/52519#M10118</guid>
      <dc:creator>MartinHarper</dc:creator>
      <dc:date>2011-08-08T18:27:40Z</dc:date>
    </item>
  </channel>
</rss>

