<?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 props.conf for specific log format in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/props-conf-for-specific-log-format/m-p/173403#M49720</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I'd like to create a props.conf for log files in this format:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   DEBUG[ScriptingSession] 2013-11-30 15:52:40.869 EST: &amp;lt;-initialize
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is what I have so far:&lt;/P&gt;

&lt;P&gt;[mws_debug]&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
TIME_PREFIX = ^&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%d $H:%M:%S.%3N&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 50&lt;BR /&gt;
EXTRACT-mws_debug = "(?&lt;DEBUG&gt;[^"]+)","(?&lt;SESSION&gt;[^"]+)","(?&lt;STATUS&gt;[^"]+)"&lt;/STATUS&gt;&lt;/SESSION&gt;&lt;/DEBUG&gt;&lt;/P&gt;

&lt;P&gt;I think the field extraction is off, but I can't seem to get this to work.  &lt;/P&gt;

&lt;P&gt;Your help in modifying this stanza will be much appreciated.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:02:11 GMT</pubDate>
    <dc:creator>_gkollias</dc:creator>
    <dc:date>2020-09-28T16:02:11Z</dc:date>
    <item>
      <title>props.conf for specific log format</title>
      <link>https://community.splunk.com/t5/Splunk-Search/props-conf-for-specific-log-format/m-p/173403#M49720</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I'd like to create a props.conf for log files in this format:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   DEBUG[ScriptingSession] 2013-11-30 15:52:40.869 EST: &amp;lt;-initialize
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is what I have so far:&lt;/P&gt;

&lt;P&gt;[mws_debug]&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
TIME_PREFIX = ^&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%d $H:%M:%S.%3N&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 50&lt;BR /&gt;
EXTRACT-mws_debug = "(?&lt;DEBUG&gt;[^"]+)","(?&lt;SESSION&gt;[^"]+)","(?&lt;STATUS&gt;[^"]+)"&lt;/STATUS&gt;&lt;/SESSION&gt;&lt;/DEBUG&gt;&lt;/P&gt;

&lt;P&gt;I think the field extraction is off, but I can't seem to get this to work.  &lt;/P&gt;

&lt;P&gt;Your help in modifying this stanza will be much appreciated.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:02:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/props-conf-for-specific-log-format/m-p/173403#M49720</guid>
      <dc:creator>_gkollias</dc:creator>
      <dc:date>2020-09-28T16:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf for specific log format</title>
      <link>https://community.splunk.com/t5/Splunk-Search/props-conf-for-specific-log-format/m-p/173404#M49721</link>
      <description>&lt;P&gt;The field extraction indeed is off - I don't see any double quotes in the event, but your extraction is full of them.&lt;/P&gt;

&lt;P&gt;Does event breaking and timestamping work for you?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 16:57:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/props-conf-for-specific-log-format/m-p/173404#M49721</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-03-04T16:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf for specific log format</title>
      <link>https://community.splunk.com/t5/Splunk-Search/props-conf-for-specific-log-format/m-p/173405#M49722</link>
      <description>&lt;P&gt;I would like to use this format if possible.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 18:38:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/props-conf-for-specific-log-format/m-p/173405#M49722</guid>
      <dc:creator>_gkollias</dc:creator>
      <dc:date>2014-03-04T18:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf for specific log format</title>
      <link>https://community.splunk.com/t5/Splunk-Search/props-conf-for-specific-log-format/m-p/173406#M49723</link>
      <description>&lt;P&gt;Here is a correct regular expression; as Martin pointed out, it was full of double quotes and was not a valid regex. You should not quote your regular expression, nor should it have internal quotes. I have corrected a few other settings as well.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mws_debug]
SHOULD_LINEMERGE = false
TIME_PREFIX = \]
TIME_FORMAT=%Y-%m-%d $H:%M:%S.%3N
MAX_TIMESTAMP_LOOKAHEAD = 50
EXTRACT-mws=(?&amp;lt;debug&amp;gt;\S+)\[(?&amp;lt;session&amp;gt;\S+)\]\s+\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}\.\d+\s(?&amp;lt;status&amp;gt;.*)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Mar 2014 06:55:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/props-conf-for-specific-log-format/m-p/173406#M49723</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-03-05T06:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf for specific log format</title>
      <link>https://community.splunk.com/t5/Splunk-Search/props-conf-for-specific-log-format/m-p/173407#M49724</link>
      <description>&lt;P&gt;Note that the extraction is broken into two lines in the post above, but it must be on a single line in your &lt;CODE&gt;props.conf&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 06:56:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/props-conf-for-specific-log-format/m-p/173407#M49724</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-03-05T06:56:13Z</dc:date>
    </item>
  </channel>
</rss>

