<?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: Regex: Why am I getting this syntax error in subpattern name (missing terminator)? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Regex-Why-am-I-getting-this-syntax-error-in-subpattern-name/m-p/364976#M107664</link>
    <description>&lt;P&gt;Escaping the forward slashes is not even necessary I think. Key thing to fix is the redundant  characters and the &amp;amp;g and ; in the dashboard field extraction.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2018 14:48:36 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2018-02-12T14:48:36Z</dc:date>
    <item>
      <title>Regex: Why am I getting this syntax error in subpattern name (missing terminator)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Why-am-I-getting-this-syntax-error-in-subpattern-name/m-p/364972#M107660</link>
      <description>&lt;P&gt;I keep getting the missing terminator error when trying to parse. I am not sure whats the problem &lt;/P&gt;

&lt;P&gt;Here is my regex:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex field=referer "/en-US/app(?&amp;lt;&amp;lt;app&amp;gt;&amp;gt;[^/]+)/(?&amp;lt;&amp;lt;dashboard&amp;gt;&amp;amp;g&amp;gt;;[^?/\s]+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Feb 2018 13:46:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Why-am-I-getting-this-syntax-error-in-subpattern-name/m-p/364972#M107660</guid>
      <dc:creator>Jewatson17</dc:creator>
      <dc:date>2018-02-12T13:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Regex: Why am I getting this syntax error in subpattern name (missing terminator)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Why-am-I-getting-this-syntax-error-in-subpattern-name/m-p/364973#M107661</link>
      <description>&lt;P&gt;Hi @Jewatson17,&lt;BR /&gt;
Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex field=referer "\/en-US\/app\/(?&amp;lt;app&amp;gt;[^\/]+)\/(?&amp;lt;dashboard&amp;gt;[^?]+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:30:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Why-am-I-getting-this-syntax-error-in-subpattern-name/m-p/364973#M107661</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-12T14:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regex: Why am I getting this syntax error in subpattern name (missing terminator)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Why-am-I-getting-this-syntax-error-in-subpattern-name/m-p/364974#M107662</link>
      <description>&lt;P&gt;Hi  Jewatson17,&lt;BR /&gt;
could you share an example of the log to parse?&lt;BR /&gt;
it seems that you want to parse the address of a dashboard,&lt;BR /&gt;
if this is true probably the problem is a missed slash (/) and something elase, try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex field=referer "/en-US/app/(?&amp;lt;my_app&amp;gt;[^/]+)/(?&amp;lt;my_dashboard&amp;gt;[^?/ ]+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:35:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Why-am-I-getting-this-syntax-error-in-subpattern-name/m-p/364974#M107662</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-02-12T14:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Regex: Why am I getting this syntax error in subpattern name (missing terminator)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Why-am-I-getting-this-syntax-error-in-subpattern-name/m-p/364975#M107663</link>
      <description>&lt;P&gt;I'm trying to pull the usage of ALL the dashboards in my environment. &lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:41:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Why-am-I-getting-this-syntax-error-in-subpattern-name/m-p/364975#M107663</guid>
      <dc:creator>Jewatson17</dc:creator>
      <dc:date>2018-02-12T14:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Regex: Why am I getting this syntax error in subpattern name (missing terminator)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Why-am-I-getting-this-syntax-error-in-subpattern-name/m-p/364976#M107664</link>
      <description>&lt;P&gt;Escaping the forward slashes is not even necessary I think. Key thing to fix is the redundant  characters and the &amp;amp;g and ; in the dashboard field extraction.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:48:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Why-am-I-getting-this-syntax-error-in-subpattern-name/m-p/364976#M107664</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-02-12T14:48:36Z</dc:date>
    </item>
  </channel>
</rss>

