<?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 remove ** using regex in field extraction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-using-regex-in-field-extraction/m-p/194317#M56005</link>
    <description>&lt;P&gt;This works with your example event on &lt;A href="http://www.regexr.com/"&gt;RegExr&lt;/A&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(?&amp;lt;Date&amp;gt;\d{4}\/\d{2}\/\d{2})\s(?&amp;lt;Time&amp;gt;\d{2}:\d{2}:\d{2})\s(?&amp;lt;Level&amp;gt;\S*)\s-\s(?&amp;lt;Message&amp;gt;[\s\S]*)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 10 Jun 2014 15:39:46 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2014-06-10T15:39:46Z</dc:date>
    <item>
      <title>How to remove ** using regex in field extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-using-regex-in-field-extraction/m-p/194316#M56004</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have to do field extraction on the following data.&lt;/P&gt;

&lt;P&gt;****2014/02/02 10:10:10 level - test&lt;/P&gt;

&lt;P&gt;Can please help to get the regex to extract fields:&lt;BR /&gt;
Date = 2014/02/02&lt;BR /&gt;
Time = 10:10:10&lt;BR /&gt;
Level = level&lt;BR /&gt;
Message = Text&lt;/P&gt;

&lt;P&gt;Your help is greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 14:25:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-using-regex-in-field-extraction/m-p/194316#M56004</guid>
      <dc:creator>reach2tushar</dc:creator>
      <dc:date>2014-06-10T14:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ** using regex in field extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-using-regex-in-field-extraction/m-p/194317#M56005</link>
      <description>&lt;P&gt;This works with your example event on &lt;A href="http://www.regexr.com/"&gt;RegExr&lt;/A&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(?&amp;lt;Date&amp;gt;\d{4}\/\d{2}\/\d{2})\s(?&amp;lt;Time&amp;gt;\d{2}:\d{2}:\d{2})\s(?&amp;lt;Level&amp;gt;\S*)\s-\s(?&amp;lt;Message&amp;gt;[\s\S]*)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Jun 2014 15:39:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-using-regex-in-field-extraction/m-p/194317#M56005</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2014-06-10T15:39:46Z</dc:date>
    </item>
  </channel>
</rss>

