<?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 extract the field using Regex? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-field-using-Regex/m-p/301285#M90721</link>
    <description>&lt;P&gt;Assuming the field is called guid:&lt;/P&gt;

&lt;P&gt;| rex field=guid "^ComputerName-.[^-]+-(?P[^\$]+)"&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2017 00:32:54 GMT</pubDate>
    <dc:creator>starcher</dc:creator>
    <dc:date>2017-02-16T00:32:54Z</dc:date>
    <item>
      <title>How to extract the field using Regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-field-using-Regex/m-p/301284#M90720</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;How to extract the field "AppGUID-{9BE518E6-ECC6-35A9-88E4-87755C07200F}" from the below field&lt;/P&gt;

&lt;P&gt;ComputerName-DJ001DJKWN03-AppGUID-{9BE518E6-ECC6-35A9-88E4-87755C07200F}&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 00:25:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-field-using-Regex/m-p/301284#M90720</guid>
      <dc:creator>kiran331</dc:creator>
      <dc:date>2017-02-16T00:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the field using Regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-field-using-Regex/m-p/301285#M90721</link>
      <description>&lt;P&gt;Assuming the field is called guid:&lt;/P&gt;

&lt;P&gt;| rex field=guid "^ComputerName-.[^-]+-(?P[^\$]+)"&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 00:32:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-field-using-Regex/m-p/301285#M90721</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2017-02-16T00:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the field using Regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-field-using-Regex/m-p/301286#M90722</link>
      <description>&lt;P&gt;try like this:&lt;/P&gt;

&lt;P&gt;|stats c|eval _raw="ComputerName-DJ001DJKWN03-AppGUID-{9BE518E6-ECC6-35A9-88E4-87755C07200F}"|rex field=_raw "AppGUID..(?\w{8}-\w{4}-\w{4}-\w{4}-\w{12})"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:52:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-field-using-Regex/m-p/301286#M90722</guid>
      <dc:creator>mpreddy</dc:creator>
      <dc:date>2020-09-29T12:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the field using Regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-field-using-Regex/m-p/301287#M90723</link>
      <description>&lt;P&gt;As asked:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(AppGUID-\{[^\}]+\})
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As I suspect desired:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;AppGUID-(?&amp;lt;AppGUID&amp;gt;\{[^\}]+\})
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 19 Feb 2017 01:56:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-field-using-Regex/m-p/301287#M90723</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-02-19T01:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the field using Regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-field-using-Regex/m-p/301288#M90724</link>
      <description>&lt;P&gt;@kiran331 - Did one of the answers below help provide a solution your question? If yes, please click “Accept” below the best answer to resolve this post and upvote anything that was helpful. If no, please leave a comment with more feedback. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 02:31:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-field-using-Regex/m-p/301288#M90724</guid>
      <dc:creator>aaraneta_splunk</dc:creator>
      <dc:date>2017-03-20T02:31:06Z</dc:date>
    </item>
  </channel>
</rss>

