<?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 substring from a string in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-substring-from-a-string/m-p/590473#M205583</link>
    <description>&lt;P&gt;Is this the exact string you have in your event? If so, try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "iss = (?&amp;lt;iss&amp;gt;\S+)"&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 23 Mar 2022 15:43:28 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-03-23T15:43:28Z</dc:date>
    <item>
      <title>How to extract substring from a string?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-substring-from-a-string/m-p/590469#M205580</link>
      <description>&lt;P&gt;I have a string in this form:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;sub = 13433&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;cf-ipcountry = US &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;mail = &lt;A href="mailto:steve.lin@cetera.com" target="_blank" rel="noopener"&gt;a&lt;/A&gt;bc.test@gmail.com&lt;/P&gt;
&lt;P&gt;ct-remote-user = testaccount&lt;/P&gt;
&lt;P&gt;elevatedsession = N&lt;/P&gt;
&lt;P&gt;iss = &lt;A href="http://www.google.com" target="_blank" rel="noopener"&gt;www.google.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;user-agent = Apache-HttpClient/4.5.8 (Java/1.8.0_322)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I want to extracr iss fields value&lt;/P&gt;
&lt;P&gt;I tried this but did not work&lt;/P&gt;
&lt;P&gt;| rex max_match=0 field=_raw "\/sub \/user-agent \/(?&amp;lt;temp&amp;gt;.*)"&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 22:07:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-substring-from-a-string/m-p/590469#M205580</guid>
      <dc:creator>abhipatthi</dc:creator>
      <dc:date>2022-03-23T22:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract substring from a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-substring-from-a-string/m-p/590473#M205583</link>
      <description>&lt;P&gt;Is this the exact string you have in your event? If so, try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "iss = (?&amp;lt;iss&amp;gt;\S+)"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 23 Mar 2022 15:43:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-substring-from-a-string/m-p/590473#M205583</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-23T15:43:28Z</dc:date>
    </item>
  </channel>
</rss>

