<?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 Why am I getting this error when using regex for URI search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-this-error-when-using-regex-for-URI-search/m-p/511537#M143403</link>
    <description>&lt;P&gt;I have the following query to search results which contain a specific rest endpoint which has a UUID path parameter:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;.... | regex requestURI="/baseurl/\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it seems to be wrong. Error is :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Unknown search command '0'.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the mistake I am making here?&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jul 2020 04:49:10 GMT</pubDate>
    <dc:creator>ghildiya</dc:creator>
    <dc:date>2020-07-30T04:49:10Z</dc:date>
    <item>
      <title>Why am I getting this error when using regex for URI search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-this-error-when-using-regex-for-URI-search/m-p/511537#M143403</link>
      <description>&lt;P&gt;I have the following query to search results which contain a specific rest endpoint which has a UUID path parameter:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;.... | regex requestURI="/baseurl/\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it seems to be wrong. Error is :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Unknown search command '0'.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the mistake I am making here?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 04:49:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-this-error-when-using-regex-for-URI-search/m-p/511537#M143403</guid>
      <dc:creator>ghildiya</dc:creator>
      <dc:date>2020-07-30T04:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using regex for URI search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-this-error-when-using-regex-for-URI-search/m-p/511589#M143417</link>
      <description>Splunk appears to be interpreting part of your regular expression as a subsearch. Make sure the expression is enclosed in quotation marks and any embedded quotation marks are escaped.</description>
      <pubDate>Wed, 29 Jul 2020 17:19:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-this-error-when-using-regex-for-URI-search/m-p/511589#M143417</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-29T17:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using regex for URI search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-this-error-when-using-regex-for-URI-search/m-p/511679#M143469</link>
      <description>&lt;P&gt;I tried this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.... | regex requestURI=*/baseurl/\"[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\"*&lt;/LI-CODE&gt;&lt;P&gt;But this too doesn't work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 02:51:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-this-error-when-using-regex-for-URI-search/m-p/511679#M143469</guid>
      <dc:creator>ghildiya</dc:creator>
      <dc:date>2020-07-30T02:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using regex for URI search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-this-error-when-using-regex-for-URI-search/m-p/511743#M143489</link>
      <description>The regex command is still missing the enclosing quotation marks.</description>
      <pubDate>Thu, 30 Jul 2020 12:45:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-this-error-when-using-regex-for-URI-search/m-p/511743#M143489</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-30T12:45:37Z</dc:date>
    </item>
  </channel>
</rss>

