<?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: Can anyone help me configure props.conf and transforms.conf to parse the following timestamp? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424869#M74503</link>
    <description>&lt;P&gt;Really interesting @richgalloway - is there a way around hard-coding space(s) in the &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; field?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Dec 2018 14:06:08 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2018-12-06T14:06:08Z</dc:date>
    <item>
      <title>Can anyone help me configure props.conf and transforms.conf to parse the following timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424865#M74499</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a logfile which looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2018-12-06 02:53:18 * [13396] PASSED: ftp file X20181206025051227_XXXTracking.csv renamed to 20181206025051227_XXXTracking.csv
2018-12-06 02:53:18 * [13396] PASSED: ftp 20181206025051227_XXXTracking.csv -&amp;gt; company@ftp06.XXX-group.eu:out
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My props.conf looks this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[spdh120]
TRANSFORMS = setnull-test,spdh120
TIME_PREFIX = ^
MAX_TIMESTAMP_LOOKAHEAD = 30
TIME_FORMAT = %Y-%m-%d  %H:%M:%S
SHOULD_LINEMERGE = false
TRUNCATE = 0
EXTRACT-MESSAGE = \d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}\s\*\s\[\d{5}\]\sPASSED:\sftp\s\d{17}(?&amp;lt;FILE&amp;gt;.+)\s-&amp;gt;\s(?&amp;lt;RECEIVER&amp;gt;.+)@ftp06.gls-group.eu:out
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and my transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[spdh120]
DEST_KEY = queue
FORMAT = indexQueue
REGEX = @ftp06.gls-group.eu:out
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But, I still get this error in my logfile and no data into my indexer:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;12-06-2018 03:23:46.252 +0100 WARN  DateParserVerbose - Failed to parse timestamp in first MAX_TIMESTAMP_LOOKAHEAD (30) characters of event. Defaulting to timestamp of previous event (Thu Dec  6 03:23:17 2018). Context: source=/e/logs/spdh120_20181206.log|host=udts|spdh120
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can anyone help me and tell me what I configured wrong? &lt;/P&gt;

&lt;P&gt;There are two problems: the failure during parsing the timestamp and that I didn't get any data into Splunk from that logfile.&lt;/P&gt;

&lt;P&gt;Thx for your help&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 13:16:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424865#M74499</guid>
      <dc:creator>obrosch</dc:creator>
      <dc:date>2018-12-06T13:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone help me configure props.conf and transforms.conf to parse the following timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424866#M74500</link>
      <description>&lt;P&gt;Perhaps it's just a typo in the question, but the &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; string has two spaces between date and time whereas the sample events have a single space.  That's enough of a difference to prevent parsing.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 13:38:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424866#M74500</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-12-06T13:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone help me configure props.conf and transforms.conf to parse the following timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424867#M74501</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
this I have made because we have other entries where this works. I tried it first with only one space between day and hour, but same error.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 13:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424867#M74501</guid>
      <dc:creator>obrosch</dc:creator>
      <dc:date>2018-12-06T13:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone help me configure props.conf and transforms.conf to parse the following timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424868#M74502</link>
      <description>&lt;P&gt;Problem solved. I had a typo:&lt;/P&gt;

&lt;P&gt;DEST_Key and not DEST_KEY. After I changed it, it solved my problem.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:18:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424868#M74502</guid>
      <dc:creator>obrosch</dc:creator>
      <dc:date>2020-09-29T22:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone help me configure props.conf and transforms.conf to parse the following timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424869#M74503</link>
      <description>&lt;P&gt;Really interesting @richgalloway - is there a way around hard-coding space(s) in the &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; field?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 14:06:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424869#M74503</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-12-06T14:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone help me configure props.conf and transforms.conf to parse the following timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424870#M74504</link>
      <description>&lt;P&gt;Regrettably not.  &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; is not a regex string so we can't use something like '\s+'.  It's literal characters except for the metacharacters used in &lt;CODE&gt;strptime()&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 14:28:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424870#M74504</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-12-06T14:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone help me configure props.conf and transforms.conf to parse the following timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424871#M74505</link>
      <description>&lt;P&gt;I still have two spaces in my props.conf and it works with them.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 14:35:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424871#M74505</guid>
      <dc:creator>obrosch</dc:creator>
      <dc:date>2018-12-06T14:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone help me configure props.conf and transforms.conf to parse the following timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424872#M74506</link>
      <description>&lt;P&gt;Thank you @richgalloway.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 16:11:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-anyone-help-me-configure-props-conf-and-transforms-conf-to/m-p/424872#M74506</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-12-06T16:11:07Z</dc:date>
    </item>
  </channel>
</rss>

