<?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: How to understand &amp;quot;Splunk software can extract only dates from a source, not times. If you need to extract a time from a source, use a transform.&amp;quot; &amp;quot; in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-understand-quot-Splunk-software-can-extract-only-dates/m-p/292726#M55767</link>
    <description>&lt;P&gt;In this instance, "source" does not mean all types of data source, but I understand the confusion.  I suggest you submit a comment on that documentation page so Splunk can clarify it.&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2017 21:44:36 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2017-05-16T21:44:36Z</dc:date>
    <item>
      <title>How to understand "Splunk software can extract only dates from a source, not times. If you need to extract a time from a source, use a transform." "</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-understand-quot-Splunk-software-can-extract-only-dates/m-p/292723#M55764</link>
      <description>&lt;P&gt;The note is here,&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.0/Data/HowSplunkextractstimestamps" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.0/Data/HowSplunkextractstimestamps&lt;/A&gt;&lt;BR /&gt;
But I have a problem to understand this,&lt;BR /&gt;
In the example below in that page, you can see props.conf can extract both date and time without transforms.conf&lt;/P&gt;

&lt;P&gt;Another example that includes time zone information:&lt;/P&gt;

&lt;P&gt;…Valid_Until=Thu Dec 31 17:59:59 GMT-06:00 2020&lt;/P&gt;

&lt;P&gt;To extract the timestamp, add this to props.conf:&lt;/P&gt;

&lt;P&gt;[host::bar]&lt;BR /&gt;
TIME_PREFIX = Valid_Until=&lt;BR /&gt;
TIME_FORMAT = %a %b %d %H:%M:%S %Z%z %Y&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:04:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-understand-quot-Splunk-software-can-extract-only-dates/m-p/292723#M55764</guid>
      <dc:creator>jimmyzhangau</dc:creator>
      <dc:date>2020-09-29T14:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to understand "Splunk software can extract only dates from a source, not times. If you need to extract a time from a source, use a transform." "</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-understand-quot-Splunk-software-can-extract-only-dates/m-p/292724#M55765</link>
      <description>&lt;P&gt;In the text you quoted, "source" means "file name".  Splunk prefers to get timestamps from events, but if it can't do that it will try to get it from other places.  One of those places is the name of the source file - like a log file named .../20170515/error.log.&lt;/P&gt;

&lt;P&gt;Your example data contains a full timestamp that Splunk should have no trouble parsing with the &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; string, which you appear to have.&lt;/P&gt;

&lt;P&gt;What problem are you having with timestamps?&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 13:38:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-understand-quot-Splunk-software-can-extract-only-dates/m-p/292724#M55765</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-05-15T13:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to understand "Splunk software can extract only dates from a source, not times. If you need to extract a time from a source, use a transform." "</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-understand-quot-Splunk-software-can-extract-only-dates/m-p/292725#M55766</link>
      <description>&lt;P&gt;From this example you can see Splunk can extract both date and time by using props.conf, but why in the note, it said :"Splunk software can extract only dates from a source, not times. If you need to extract a time from a source, use a transform." Also, I don't think here 'source' means 'filename', it should mean all types of data sources.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 04:59:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-understand-quot-Splunk-software-can-extract-only-dates/m-p/292725#M55766</guid>
      <dc:creator>jimmyzhangau</dc:creator>
      <dc:date>2017-05-16T04:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to understand "Splunk software can extract only dates from a source, not times. If you need to extract a time from a source, use a transform." "</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-understand-quot-Splunk-software-can-extract-only-dates/m-p/292726#M55767</link>
      <description>&lt;P&gt;In this instance, "source" does not mean all types of data source, but I understand the confusion.  I suggest you submit a comment on that documentation page so Splunk can clarify it.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 21:44:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-understand-quot-Splunk-software-can-extract-only-dates/m-p/292726#M55767</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-05-16T21:44:36Z</dc:date>
    </item>
  </channel>
</rss>

