<?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: Time stamp separated by a tab in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-separated-by-a-tab/m-p/29493#M5072</link>
    <description>&lt;P&gt;Ah, got it.&lt;/P&gt;

&lt;P&gt;It should be &lt;CODE&gt;TIME_FORMAT = %Y%m%d&amp;lt;tab&amp;gt;%H%M%S&lt;/CODE&gt; (with a tab and not a space as the CSV is using tab delimeter). &lt;/P&gt;</description>
    <pubDate>Fri, 13 Aug 2010 11:43:26 GMT</pubDate>
    <dc:creator>silvermail</dc:creator>
    <dc:date>2010-08-13T11:43:26Z</dc:date>
    <item>
      <title>Time stamp separated by a tab</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-separated-by-a-tab/m-p/29492#M5071</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;

&lt;P&gt;Been trying to get this to work but to no avail...&lt;/P&gt;

&lt;P&gt;I have a CSV file that goes like this:&lt;/P&gt;

&lt;P&gt;pid hostname c1 c2 c3 status date time message
&lt;BR /&gt;
123456 serverA 0 0 0 54058938 20100301 033412 Error with Transfer&lt;/P&gt;

&lt;P&gt;I am trying to parse the fields date and time and I have specified something like this in my props.conf&lt;/P&gt;

&lt;P&gt;TIME_PREFIX = \w+\s\w+\s\w+\s\w+\s\w+\s\w+\s
&lt;BR /&gt;
TIME_FORMAT = %Y%m%d %H%M%S&lt;/P&gt;

&lt;P&gt;But I couldn't get the date/time indexed correctly. &lt;/P&gt;

&lt;P&gt;But if I change my original log source to be 20100301033412 (without the space in-between), it works fine.&lt;/P&gt;

&lt;P&gt;Has anyone solved this before? Any response is much appreciated. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2010 11:26:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-separated-by-a-tab/m-p/29492#M5071</guid>
      <dc:creator>silvermail</dc:creator>
      <dc:date>2010-08-13T11:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Time stamp separated by a tab</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-separated-by-a-tab/m-p/29493#M5072</link>
      <description>&lt;P&gt;Ah, got it.&lt;/P&gt;

&lt;P&gt;It should be &lt;CODE&gt;TIME_FORMAT = %Y%m%d&amp;lt;tab&amp;gt;%H%M%S&lt;/CODE&gt; (with a tab and not a space as the CSV is using tab delimeter). &lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2010 11:43:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-separated-by-a-tab/m-p/29493#M5072</guid>
      <dc:creator>silvermail</dc:creator>
      <dc:date>2010-08-13T11:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Time stamp separated by a tab</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-separated-by-a-tab/m-p/29494#M5073</link>
      <description>&lt;P&gt;I believe you can use &lt;CODE&gt;%t&lt;/CODE&gt; in the time formats to represent any white space, including a tab character. I am not sure if &lt;CODE&gt;\t&lt;/CODE&gt; would work specifically for a tab character, but there is a good chance it will.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2010 23:28:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-separated-by-a-tab/m-p/29494#M5073</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-08-18T23:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Time stamp separated by a tab</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-separated-by-a-tab/m-p/29495#M5074</link>
      <description>&lt;P&gt;I did use \t and I believe it will work as well. Will try %t next time if I run into any issues. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 07:34:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-separated-by-a-tab/m-p/29495#M5074</guid>
      <dc:creator>silvermail</dc:creator>
      <dc:date>2010-08-19T07:34:28Z</dc:date>
    </item>
  </channel>
</rss>

