<?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 to create Rex to extract a value from string? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-Rex-to-extract-a-value-from-string/m-p/654552#M226141</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am new to splunk rex, so need help for regex. In logs, i have extracted&amp;nbsp;&amp;nbsp;string, however again i need to extract a value from string.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example string&lt;/STRONG&gt; :&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;"Error exception for fetching data =1234567890_1"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;From&amp;nbsp; above string, how can i use rex to get value :1234567890&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Request you to please help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2023 23:18:13 GMT</pubDate>
    <dc:creator>Coder1a</dc:creator>
    <dc:date>2023-08-16T23:18:13Z</dc:date>
    <item>
      <title>How to create Rex to extract a value from string?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-Rex-to-extract-a-value-from-string/m-p/654552#M226141</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am new to splunk rex, so need help for regex. In logs, i have extracted&amp;nbsp;&amp;nbsp;string, however again i need to extract a value from string.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example string&lt;/STRONG&gt; :&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;"Error exception for fetching data =1234567890_1"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;From&amp;nbsp; above string, how can i use rex to get value :1234567890&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Request you to please help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 23:18:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-Rex-to-extract-a-value-from-string/m-p/654552#M226141</guid>
      <dc:creator>Coder1a</dc:creator>
      <dc:date>2023-08-16T23:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Rex to extract a value from string?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-Rex-to-extract-a-value-from-string/m-p/655269#M226363</link>
      <description>&lt;P&gt;See answer in&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Rex-for-extracting-a-value-from-string/m-p/654561#M226143" target="_self"&gt;Rex for extracting a value from string&lt;/A&gt;. (Alternatively, delete this duplicate question.)&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 07:17:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-Rex-to-extract-a-value-from-string/m-p/655269#M226363</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2023-08-23T07:17:15Z</dc:date>
    </item>
  </channel>
</rss>

