<?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 How to add a timestamp to a CSV file that will display the creation time instead of default modtime when parsing? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-add-a-timestamp-to-a-CSV-file-that-will-display-the/m-p/249562#M48034</link>
    <description>&lt;P&gt;I have the following problem:&lt;/P&gt;

&lt;P&gt;I receive some text files (comma separated) which I need to index and search. Problem is that the files do not contain a field with a timestamp, and I would like to add as timestamp the file CREATION date and time instead of Splunk default file modtime (which apparently is the "last modified" attribute). I really don't have other ways, it's the first thing I thought about, this scenario (when I receive the files and index them afterwards) is the only feasible scenario. Any help would be highly appreciated, usually I find this type of info by myself, but I keep failing this time...&lt;/P&gt;

&lt;P&gt;So, to summarize, I can't change the file names (the script which generates them is unaccessible), don't have access to the files original location (security reasons) - ergo I need to work on this particular scenario with file creation time instead of file last modified.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Oct 2016 15:24:42 GMT</pubDate>
    <dc:creator>sergiu_popescu</dc:creator>
    <dc:date>2016-10-10T15:24:42Z</dc:date>
    <item>
      <title>How to add a timestamp to a CSV file that will display the creation time instead of default modtime when parsing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-add-a-timestamp-to-a-CSV-file-that-will-display-the/m-p/249562#M48034</link>
      <description>&lt;P&gt;I have the following problem:&lt;/P&gt;

&lt;P&gt;I receive some text files (comma separated) which I need to index and search. Problem is that the files do not contain a field with a timestamp, and I would like to add as timestamp the file CREATION date and time instead of Splunk default file modtime (which apparently is the "last modified" attribute). I really don't have other ways, it's the first thing I thought about, this scenario (when I receive the files and index them afterwards) is the only feasible scenario. Any help would be highly appreciated, usually I find this type of info by myself, but I keep failing this time...&lt;/P&gt;

&lt;P&gt;So, to summarize, I can't change the file names (the script which generates them is unaccessible), don't have access to the files original location (security reasons) - ergo I need to work on this particular scenario with file creation time instead of file last modified.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2016 15:24:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-add-a-timestamp-to-a-CSV-file-that-will-display-the/m-p/249562#M48034</guid>
      <dc:creator>sergiu_popescu</dc:creator>
      <dc:date>2016-10-10T15:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a timestamp to a CSV file that will display the creation time instead of default modtime when parsing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-add-a-timestamp-to-a-CSV-file-that-will-display-the/m-p/249563#M48035</link>
      <description>&lt;P&gt;Suggestion : Add dummy time and date column and save to any other file format . and revert back to .csv with dummy date and time remaining. ,You need to add a dummy column for date and time and save it .&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2017 08:36:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-add-a-timestamp-to-a-CSV-file-that-will-display-the/m-p/249563#M48035</guid>
      <dc:creator>salmiahsan</dc:creator>
      <dc:date>2017-07-23T08:36:33Z</dc:date>
    </item>
  </channel>
</rss>

