<?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 extraction using props.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Time-extraction-using-props-conf/m-p/701426#M116077</link>
    <description>&lt;P&gt;TIME_PREFIX is a regex match and they can get touchy sometimes.&amp;nbsp; I would force the = and the " to be escaped so: TIME_PREFIX = time\=\".&amp;nbsp; Then I would take advantage of the MAX_TIMESTAMP_LOOKAHEAD, although it should be inherited from the default I always like to put it in my app when I have multiple timestamps in the raw data.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Oct 2024 13:57:08 GMT</pubDate>
    <dc:creator>dural_yyz</dc:creator>
    <dc:date>2024-10-09T13:57:08Z</dc:date>
    <item>
      <title>Time extraction using props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-extraction-using-props-conf/m-p/701416#M116074</link>
      <description>&lt;P&gt;We have some events coming in to Splunk that show as following:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;time="09/10/2024 11:41:15"
URL="[Redacted String]"
Name="[Redacted String]"
Issuer="[Redacted String]"
Issued="27/10/2023 13:27:22"
Expires="26/10/2025 12:27:22"


&lt;/LI-CODE&gt;
&lt;P&gt;Splunk is using ingest time instead of the time field. In props.conf for this sourcetype I have the following:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)
TIME_PREFIX = time=
TIME_FORMAT = "%d/%m/%Y %H:%M:%S"
CHARSET = UTF-8
KV_MODE = none
DISABLED = false

&lt;/LI-CODE&gt;
&lt;P&gt;However the time isn't being extracted properly, what do I need to change / add?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 17:39:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-extraction-using-props-conf/m-p/701416#M116074</guid>
      <dc:creator>Glom</dc:creator>
      <dc:date>2024-10-09T17:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Time extraction using props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-extraction-using-props-conf/m-p/701426#M116077</link>
      <description>&lt;P&gt;TIME_PREFIX is a regex match and they can get touchy sometimes.&amp;nbsp; I would force the = and the " to be escaped so: TIME_PREFIX = time\=\".&amp;nbsp; Then I would take advantage of the MAX_TIMESTAMP_LOOKAHEAD, although it should be inherited from the default I always like to put it in my app when I have multiple timestamps in the raw data.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 13:57:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-extraction-using-props-conf/m-p/701426#M116077</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2024-10-09T13:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Time extraction using props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-extraction-using-props-conf/m-p/701427#M116078</link>
      <description>&lt;P class="lia-align-left"&gt;Hi I modified the props.conf as recommended and no change, time is still being taken as ingest time:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)
TIME_PREFIX = time\=\"
TIME_FORMAT = "%d/%m/%Y %H:%M:%S"
MAX_TIMESTAMP_LOOKAHEAD = 27
CHARSET = UTF-8
KV_MODE = none
DISABLED = false&lt;/LI-CODE&gt;
&lt;P class="lia-align-left"&gt;Any other ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 14:15:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-extraction-using-props-conf/m-p/701427#M116078</guid>
      <dc:creator>Glom</dc:creator>
      <dc:date>2024-10-09T14:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Time extraction using props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-extraction-using-props-conf/m-p/701433#M116079</link>
      <description>&lt;P&gt;Please try to remove the " (double quotes) from the TIME_FORMAT.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TIME_FORMAT=%d/%m/%Y %H:%M:%S&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this isn't working checkout the btool on this source/host/sourcetype for any DATETIME_CONFIG setting on your props.conf.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 14:30:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-extraction-using-props-conf/m-p/701433#M116079</guid>
      <dc:creator>sainag_splunk</dc:creator>
      <dc:date>2024-10-09T14:30:39Z</dc:date>
    </item>
  </channel>
</rss>

