<?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 do you extract everything that ends with a certain word? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-everything-that-ends-with-a-certain-word/m-p/395413#M114809</link>
    <description>&lt;P&gt;yes the pattern is (name)plyxxx or (name)PLYxxx&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jan 2019 07:14:40 GMT</pubDate>
    <dc:creator>Cbr1sg</dc:creator>
    <dc:date>2019-01-10T07:14:40Z</dc:date>
    <item>
      <title>How do you extract everything that ends with a certain word?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-everything-that-ends-with-a-certain-word/m-p/395411#M114807</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I have this line in the event log&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ComputerName=sgp1ply1fe01.xxx
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to extract only "sgp1" using rex, How can this be done?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 06:26:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-everything-that-ends-with-a-certain-word/m-p/395411#M114807</guid>
      <dc:creator>Cbr1sg</dc:creator>
      <dc:date>2019-01-10T06:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do you extract everything that ends with a certain word?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-everything-that-ends-with-a-certain-word/m-p/395412#M114808</link>
      <description>&lt;P&gt;Is there a pattern to the rest of the word? Using ‘rex’ command should probably fit your need&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 06:36:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-everything-that-ends-with-a-certain-word/m-p/395412#M114808</guid>
      <dc:creator>omerl</dc:creator>
      <dc:date>2019-01-10T06:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do you extract everything that ends with a certain word?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-everything-that-ends-with-a-certain-word/m-p/395413#M114809</link>
      <description>&lt;P&gt;yes the pattern is (name)plyxxx or (name)PLYxxx&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 07:14:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-everything-that-ends-with-a-certain-word/m-p/395413#M114809</guid>
      <dc:creator>Cbr1sg</dc:creator>
      <dc:date>2019-01-10T07:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do you extract everything that ends with a certain word?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-everything-that-ends-with-a-certain-word/m-p/395414#M114810</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
You could use a regex code like this &lt;BR /&gt;
    &lt;CODE&gt;(?P&amp;lt;-extraction_name_&amp;gt;.*)ply&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 07:20:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-everything-that-ends-with-a-certain-word/m-p/395414#M114810</guid>
      <dc:creator>bangalorep</dc:creator>
      <dc:date>2019-01-10T07:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do you extract everything that ends with a certain word?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-everything-that-ends-with-a-certain-word/m-p/395415#M114811</link>
      <description>&lt;P&gt;it works. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 07:25:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-everything-that-ends-with-a-certain-word/m-p/395415#M114811</guid>
      <dc:creator>Cbr1sg</dc:creator>
      <dc:date>2019-01-10T07:25:12Z</dc:date>
    </item>
  </channel>
</rss>

