<?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: need help in extracting a substring from a string in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-extracting-a-substring-from-a-string/m-p/484052#M140387</link>
    <description>&lt;P&gt;Pipe your existing search to erex, give the field a name and provide an example.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...| erex ServiceState examples="running state"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When your search completes use the job inspector to find the regex that Splunk used to find your match.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/SearchReference/Erex"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/SearchReference/Erex&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2020 16:40:54 GMT</pubDate>
    <dc:creator>codebuilder</dc:creator>
    <dc:date>2020-04-28T16:40:54Z</dc:date>
    <item>
      <title>need help in extracting a substring from a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-extracting-a-substring-from-a-string/m-p/484051#M140386</link>
      <description>&lt;P&gt;hello splunkers! new to splunk and i am needing to extract a word from a message field.&lt;/P&gt;
&lt;P&gt;this is the message&lt;/P&gt;
&lt;P&gt;The Cluster Service service entered the running state.&lt;/P&gt;
&lt;P&gt;i want to extract "running state" and use it to indicate a status of a server.&lt;/P&gt;
&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 01:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-help-in-extracting-a-substring-from-a-string/m-p/484051#M140386</guid>
      <dc:creator>owie6466</dc:creator>
      <dc:date>2020-06-07T01:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: need help in extracting a substring from a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-extracting-a-substring-from-a-string/m-p/484052#M140387</link>
      <description>&lt;P&gt;Pipe your existing search to erex, give the field a name and provide an example.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...| erex ServiceState examples="running state"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When your search completes use the job inspector to find the regex that Splunk used to find your match.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/SearchReference/Erex"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/SearchReference/Erex&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 16:40:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-help-in-extracting-a-substring-from-a-string/m-p/484052#M140387</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2020-04-28T16:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: need help in extracting a substring from a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-extracting-a-substring-from-a-string/m-p/484053#M140388</link>
      <description>&lt;P&gt;thanks! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 16:49:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-help-in-extracting-a-substring-from-a-string/m-p/484053#M140388</guid>
      <dc:creator>owie6466</dc:creator>
      <dc:date>2020-04-28T16:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: need help in extracting a substring from a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-extracting-a-substring-from-a-string/m-p/484054#M140389</link>
      <description>&lt;P&gt;this worked great!!!!!!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 16:55:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-help-in-extracting-a-substring-from-a-string/m-p/484054#M140389</guid>
      <dc:creator>owie6466</dc:creator>
      <dc:date>2020-04-28T16:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: need help in extracting a substring from a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-extracting-a-substring-from-a-string/m-p/484055#M140390</link>
      <description>&lt;P&gt;Glad it worked for you! erex is a hidden gem &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 16:58:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-help-in-extracting-a-substring-from-a-string/m-p/484055#M140390</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2020-04-28T16:58:19Z</dc:date>
    </item>
  </channel>
</rss>

