<?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 regex expression in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-Help-in-regex-expression/m-p/582301#M202824</link>
    <description>&lt;P&gt;Here's an alternative regex to try.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ns:InterfaceName\\\":\\\"(?&amp;lt;AppId&amp;gt;[^\\\"]+)&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 24 Jan 2022 17:52:59 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-01-24T17:52:59Z</dc:date>
    <item>
      <title>Need Help in regex expression</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-Help-in-regex-expression/m-p/582298#M202823</link>
      <description>&lt;P&gt;Hi team,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to fetch the 'InterfaceName' from the below payload.&amp;nbsp; I built a regular expression but it is not working as expression. Can someone please verify this and correct me where I am wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;"xmlns:bw":"&lt;A href="http://www.tibco.com" target="_blank" rel="noopener"&gt;http://www.tibco.com&lt;/A&gt;"&lt;BR /&gt;"ns:InterfaceName":"MIAP-COVGBA",&lt;BR /&gt;"ns:CorrelationID":"f84nvkdwe-4ij43kj"&lt;/P&gt;&lt;P&gt;I created one regex expression like -&amp;nbsp;| rex field=_raw "ns:InterfaceName\W+(?&amp;lt;AppId&amp;gt;\w+)" |stats count by AppId.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the above expression I am getting only double quotes ("), but unable to fetch data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yours,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 17:35:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-Help-in-regex-expression/m-p/582298#M202823</guid>
      <dc:creator>rkishoreqa</dc:creator>
      <dc:date>2022-01-24T17:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in regex expression</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-Help-in-regex-expression/m-p/582301#M202824</link>
      <description>&lt;P&gt;Here's an alternative regex to try.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ns:InterfaceName\\\":\\\"(?&amp;lt;AppId&amp;gt;[^\\\"]+)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 24 Jan 2022 17:52:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-Help-in-regex-expression/m-p/582301#M202824</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-01-24T17:52:59Z</dc:date>
    </item>
  </channel>
</rss>

