<?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: Drilldown not working, even when using &amp;lt;![CDATA]]&amp;gt; in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/542918#M153794</link>
    <description>&lt;P&gt;Yeah, I ended up replacing the "?" with "%3F" and the "+" with "%2B" in the&amp;nbsp;&amp;nbsp;"&amp;lt;link target="_blank"&amp;gt;search?q=.....&amp;lt;/link&amp;gt;" and it worked.&lt;BR /&gt;&lt;BR /&gt;Seems like it's not listed here?:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.2/Viz/OverviewofSimplifiedXML" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.2/Viz/OverviewofSimplifiedXML&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 17 Mar 2021 16:36:41 GMT</pubDate>
    <dc:creator>UMDTERPS</dc:creator>
    <dc:date>2021-03-17T16:36:41Z</dc:date>
    <item>
      <title>Drilldown not working, even when using &lt;![CDATA]]&gt;</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/542637#M153710</link>
      <description>&lt;P&gt;I am having a similar issue to this thread here, but my drilldown search still won't work (explanation below):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/In-a-dashboard-why-can-t-I-configure-a-drill-down-with-a-rex/m-p/405348" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/In-a-dashboard-why-can-t-I-configure-a-drill-down-with-a-rex/m-p/405348&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have a panel on my dashboard&amp;nbsp; with a custom drilldown and search.&amp;nbsp; The search works perfectly when running it as a search on it's own.&amp;nbsp; However, in the search string we have a "rex" and those don't play nice with drilldowns and XML.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|rex field=field1 "^(?&amp;lt;field2&amp;gt;[^ ]+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently, according to the thread above,&amp;nbsp; you need to&amp;nbsp; wrap the data in "&amp;lt;!CDATA[]]?&amp;gt;":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; &amp;lt;link target="_blank"&amp;gt;&amp;lt;![CDATA[ search?earliest=&amp;amp;latest=&amp;amp;q=|inputlookup = blah |rex field=field2 "^(?&amp;lt;field&amp;gt;[^ ]+)"|search continues....]]&amp;gt;&amp;lt;/link&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The drilldown will execute and open another tab, but the search stops at&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;rex field=field2 "^(&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get an error saying "Unbalanced quotes."&amp;nbsp; The search runs on it's own, but not when using a custom drilldown search and wrapping the search in "CDATA."&lt;BR /&gt;&lt;BR /&gt;Any ideas on how to get this search running with rex and no errors in a custom drilldown?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 21:22:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/542637#M153710</guid>
      <dc:creator>UMDTERPS</dc:creator>
      <dc:date>2021-03-05T21:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown not working, even when using &lt;![CDATA]]&gt;</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/542655#M153711</link>
      <description>&lt;P&gt;Try URL-encoding the drilldown target.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 21:49:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/542655#M153711</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-03-05T21:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown not working, even when using &lt;![CDATA]]&gt;</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/542660#M153713</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.3/Viz/OverviewofSimplifiedXML#Special_characters_in_XML_files" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.3/Viz/OverviewofSimplifiedXML#Special_characters_in_XML_files&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|rex field=field1 "^(?&amp;lt;field2&amp;gt;[^ ]+)"

URL Encoded below:

| rex field=field1 &amp;amp;quot;^(?&amp;amp;lt;field2&amp;amp;gt;[^ ]+)&amp;amp;quot;&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I'm assuming this is what you mean?&lt;BR /&gt;&lt;BR /&gt;When I run the the drilldown, I get:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error in 'SearchParser': Missing a search command before '^'. Error at position '211' of search query '| inputlookup data.csv ...{snipped} {errorcontext = IG_ID&amp;amp;gt;[^ ]+)&amp;amp;quot;}'.&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 22:11:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/542660#M153713</guid>
      <dc:creator>UMDTERPS</dc:creator>
      <dc:date>2021-03-05T22:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown not working, even when using &lt;![CDATA]]&gt;</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/542668#M153715</link>
      <description>&lt;P&gt;The original drilldown was failing because the "?" character separates arguments in a URL.&amp;nbsp; Including one in the search query effectively ending the query.&amp;nbsp; The "?" needs to be encoded if nothing else.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Mar 2021 01:17:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/542668#M153715</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-03-06T01:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown not working, even when using &lt;![CDATA]]&gt;</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/542918#M153794</link>
      <description>&lt;P&gt;Yeah, I ended up replacing the "?" with "%3F" and the "+" with "%2B" in the&amp;nbsp;&amp;nbsp;"&amp;lt;link target="_blank"&amp;gt;search?q=.....&amp;lt;/link&amp;gt;" and it worked.&lt;BR /&gt;&lt;BR /&gt;Seems like it's not listed here?:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.2/Viz/OverviewofSimplifiedXML" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.2/Viz/OverviewofSimplifiedXML&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 16:36:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/542918#M153794</guid>
      <dc:creator>UMDTERPS</dc:creator>
      <dc:date>2021-03-17T16:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown not working, even when using &lt;![CDATA]]&gt;</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/543032#M153826</link>
      <description>&lt;P&gt;Submit feedback on that doc page letting them know of your experience.&amp;nbsp; They'll likely change the page.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 13:41:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/543032#M153826</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-03-09T13:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown not working, even when using &lt;![CDATA]]&gt;</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/544236#M154160</link>
      <description>&lt;P&gt;Thanks, I submitted feedback on&amp;nbsp; the page.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 16:41:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-not-working-even-when-using-lt-CDATA-gt/m-p/544236#M154160</guid>
      <dc:creator>UMDTERPS</dc:creator>
      <dc:date>2021-03-17T16:41:09Z</dc:date>
    </item>
  </channel>
</rss>

