<?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 How do I extract a substring beginning by some characters and ending by : in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-substring-beginning-by-some-characters-and/m-p/542590#M153701</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have this in my message string:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Errors in file /u02/app/oracle/diag/rdbms/pwein1a/pwein1a1/trace/pwein1a1_cjq0_287471.trc: &lt;STRONG&gt;ORA-12850&lt;/STRONG&gt;: Could not allocate slaves on all specified instances: needed, allocated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;ORA-16401&lt;/STRONG&gt;: archive log rejected by Remote File Server (RFS)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to extract in a search only the substring: ORA-nnnnn&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any ideas, I tried every solution available here in the community. Bu I am fairly new to Splunk.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks Pierre&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Mar 2021 15:45:58 GMT</pubDate>
    <dc:creator>proussinbnc</dc:creator>
    <dc:date>2021-03-05T15:45:58Z</dc:date>
    <item>
      <title>How do I extract a substring beginning by some characters and ending by :</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-substring-beginning-by-some-characters-and/m-p/542590#M153701</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have this in my message string:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Errors in file /u02/app/oracle/diag/rdbms/pwein1a/pwein1a1/trace/pwein1a1_cjq0_287471.trc: &lt;STRONG&gt;ORA-12850&lt;/STRONG&gt;: Could not allocate slaves on all specified instances: needed, allocated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;ORA-16401&lt;/STRONG&gt;: archive log rejected by Remote File Server (RFS)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to extract in a search only the substring: ORA-nnnnn&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any ideas, I tried every solution available here in the community. Bu I am fairly new to Splunk.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks Pierre&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 15:45:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-substring-beginning-by-some-characters-and/m-p/542590#M153701</guid>
      <dc:creator>proussinbnc</dc:creator>
      <dc:date>2021-03-05T15:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract a substring beginning by some characters and ending by :</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-substring-beginning-by-some-characters-and/m-p/542598#M153704</link>
      <description>&lt;P&gt;Hi, You can use rex command...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|makeresults | eval _raw="pwein1a1_cjq0_287471.trc: ORA-12850: Could not allocate" | rex field=_raw "(?&amp;lt;oraNum&amp;gt;ORA-\d+)\:" | table _raw oraNum
&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oraNum.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13204i375C4954242025A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="oraNum.png" alt="oraNum.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;if this solves your query, pls accept this as solution, upvote is appreciated, thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 16:03:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-substring-beginning-by-some-characters-and/m-p/542598#M153704</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2021-03-05T16:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract a substring beginning by some characters and ending by :</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-substring-beginning-by-some-characters-and/m-p/542603#M153705</link>
      <description>&lt;P&gt;Thanks a lot !&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 16:24:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-substring-beginning-by-some-characters-and/m-p/542603#M153705</guid>
      <dc:creator>proussinbnc</dc:creator>
      <dc:date>2021-03-05T16:24:51Z</dc:date>
    </item>
  </channel>
</rss>

