<?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: setting the timestamp from source file name instead of the date in the events in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/setting-the-timestamp-from-source-file-name-instead-of-the-date/m-p/81490#M16822</link>
    <description>&lt;P&gt;&lt;A href="http://blogs.splunk.com/2009/12/02/configure-splunk-to-pull-a-date-out-of-a-non-standard-filename/"&gt;http://blogs.splunk.com/2009/12/02/configure-splunk-to-pull-a-date-out-of-a-non-standard-filename/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Feb 2012 15:58:17 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2012-02-29T15:58:17Z</dc:date>
    <item>
      <title>setting the timestamp from source file name instead of the date in the events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/setting-the-timestamp-from-source-file-name-instead-of-the-date/m-p/81489#M16821</link>
      <description>&lt;P&gt;I have log files with file names like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;report-2012-02-25.csv
report-2012-02-26.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In those reports only some events have a date field. &lt;/P&gt;

&lt;P&gt;How could I force Splunk to use the date extracted from the file name instead of the dates recognized in the events for all of them?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 14:43:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/setting-the-timestamp-from-source-file-name-instead-of-the-date/m-p/81489#M16821</guid>
      <dc:creator>imrago</dc:creator>
      <dc:date>2012-02-29T14:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: setting the timestamp from source file name instead of the date in the events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/setting-the-timestamp-from-source-file-name-instead-of-the-date/m-p/81490#M16822</link>
      <description>&lt;P&gt;&lt;A href="http://blogs.splunk.com/2009/12/02/configure-splunk-to-pull-a-date-out-of-a-non-standard-filename/"&gt;http://blogs.splunk.com/2009/12/02/configure-splunk-to-pull-a-date-out-of-a-non-standard-filename/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 15:58:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/setting-the-timestamp-from-source-file-name-instead-of-the-date/m-p/81490#M16822</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-02-29T15:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: setting the timestamp from source file name instead of the date in the events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/setting-the-timestamp-from-source-file-name-instead-of-the-date/m-p/81491#M16823</link>
      <description>&lt;P&gt;Thank you for that, but found another problem. Time field is needed to be present in the events based on the documentation:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;If no events in a source have a date, Splunk tries to find one in the source name or file name. (This requires that the events have a time, even though they don't have a date.)&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 29 Feb 2012 19:01:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/setting-the-timestamp-from-source-file-name-instead-of-the-date/m-p/81491#M16823</guid>
      <dc:creator>imrago</dc:creator>
      <dc:date>2012-02-29T19:01:44Z</dc:date>
    </item>
  </channel>
</rss>

