<?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 update props.conf to extract timestamp from my sample data? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213561#M41962</link>
    <description>&lt;P&gt;thanks sir this is also working.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2016 17:21:15 GMT</pubDate>
    <dc:creator>sravankaripe</dc:creator>
    <dc:date>2016-11-07T17:21:15Z</dc:date>
    <item>
      <title>How to update props.conf to extract timestamp from my sample data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213555#M41956</link>
      <description>&lt;P&gt;Please help me with props.conf file i have sample data below i want to extract time stamp from the below sample data.&lt;/P&gt;

&lt;P&gt;BREAK_ONLY_BEFORE=&lt;BR /&gt;
TIME_PREFIX=&lt;BR /&gt;
TIME_FORMAT=&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;10.123.123.12 - - [02/Nov/2016:00:36:31 -0500] "POST /comp/apps/services/api/comp/iphone/init HTTP/1.1" 123 12345 1234 WAS=abc-abcdef12-xzy12.maps.ib:1234 TMS=12345 T=0 "-" "comp/7.0.26 (iPhone; iOS 10.0.1; Scale/2.00),comp/7.0.26 (iPhone; iOS 10.0.1; Scale/2.00)/somexzyAPI/7.0.0.0" "-" JSessionID=1234aLpYQEcNOxbnZeE7eCMv5zO:mfp-wlprod12-abc01-MfpProdSrv12 "-"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:42:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213555#M41956</guid>
      <dc:creator>sravankaripe</dc:creator>
      <dc:date>2020-09-29T11:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to update props.conf to extract timestamp from my sample data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213556#M41957</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[YOUR_SOURCETYPE]
TIME_PREFIX = ^
TIME_FORMAT = %Y-%m-%d %H:%M:%S,$3N
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Nov 2016 16:56:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213556#M41957</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-11-07T16:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to update props.conf to extract timestamp from my sample data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213557#M41958</link>
      <description>&lt;P&gt;Try this for your sourcetype definition/props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetype]
SHOULD_LINEMERGE=false
LINE_BREAKER = ([\r\n]+)(?=\d+\.\d+\.\d+\.\d+\s+)
TIME_PREFIX = ^(\S+\s+){3}\[
TIME_FORMAT = %d/%b/%Y:%H:%M:%S %z
MAX_TIMESTAMP_LOOKAHEAD = 26
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Nov 2016 16:57:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213557#M41958</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-11-07T16:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to update props.conf to extract timestamp from my sample data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213558#M41959</link>
      <description>&lt;P&gt;I had the same question just last week.  Somesoni2's answer worked for me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 17:00:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213558#M41959</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-11-07T17:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to update props.conf to extract timestamp from my sample data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213559#M41960</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE=false
NO_BINARY_CHECK=true
TIME_FORMAT=%d/%b/%Y:%H:%M:%S %z
TIME_PREFIX=\[
MAX_TIMESTAMP_LOOKAHEAD=26
CHARSET=UTF-8
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Nov 2016 17:00:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213559#M41960</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2016-11-07T17:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to update props.conf to extract timestamp from my sample data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213560#M41961</link>
      <description>&lt;P&gt;thanks its working&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 17:03:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213560#M41961</guid>
      <dc:creator>sravankaripe</dc:creator>
      <dc:date>2016-11-07T17:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to update props.conf to extract timestamp from my sample data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213561#M41962</link>
      <description>&lt;P&gt;thanks sir this is also working.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 17:21:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-update-props-conf-to-extract-timestamp-from-my-sample/m-p/213561#M41962</guid>
      <dc:creator>sravankaripe</dc:creator>
      <dc:date>2016-11-07T17:21:15Z</dc:date>
    </item>
  </channel>
</rss>

