<?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 Set Time Zone for IIS logs - 4.2.3 in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Set-Time-Zone-for-IIS-logs-4-2-3/m-p/78687#M16114</link>
    <description>&lt;P&gt;I have added TZ=GMT to the props.conf under [iis] and restarted splunk. The Server is CST. &lt;BR /&gt;
From what I have read the new indexed data will reference the new time. How do you reference the existing index data to the new time. I am having to adjust searches with "latest=+360m" to get current results.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2011 15:43:01 GMT</pubDate>
    <dc:creator>RaudeWoods</dc:creator>
    <dc:date>2011-09-20T15:43:01Z</dc:date>
    <item>
      <title>Set Time Zone for IIS logs - 4.2.3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Set-Time-Zone-for-IIS-logs-4-2-3/m-p/78687#M16114</link>
      <description>&lt;P&gt;I have added TZ=GMT to the props.conf under [iis] and restarted splunk. The Server is CST. &lt;BR /&gt;
From what I have read the new indexed data will reference the new time. How do you reference the existing index data to the new time. I am having to adjust searches with "latest=+360m" to get current results.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 15:43:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Set-Time-Zone-for-IIS-logs-4-2-3/m-p/78687#M16114</guid>
      <dc:creator>RaudeWoods</dc:creator>
      <dc:date>2011-09-20T15:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Time Zone for IIS logs - 4.2.3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Set-Time-Zone-for-IIS-logs-4-2-3/m-p/78688#M16115</link>
      <description>&lt;P&gt;You cannot fix/change the already indexed data.   However, you could use the eval command to manipulate the old _time value so it is offset.   So add to the search for the old data:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval _time=_time-3600
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The above would offset the time by -1 hour.   You could programatically use if/case statements and the eval command to force a new time value for the older data.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 21:41:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Set-Time-Zone-for-IIS-logs-4-2-3/m-p/78688#M16115</guid>
      <dc:creator>Simeon</dc:creator>
      <dc:date>2011-09-20T21:41:40Z</dc:date>
    </item>
  </channel>
</rss>

