<?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: splunk 8 - special character in drilldown search in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-8-special-character-in-drilldown-search/m-p/474616#M31154</link>
    <description>&lt;P&gt;Prefix $ with another dollar sign.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|eval k=mvfilter(match(t, ",1$$"))
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 10 Apr 2020 05:56:21 GMT</pubDate>
    <dc:creator>manjunathmeti</dc:creator>
    <dc:date>2020-04-10T05:56:21Z</dc:date>
    <item>
      <title>splunk 8 - special character in drilldown search</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-8-special-character-in-drilldown-search/m-p/474615#M31153</link>
      <description>&lt;P&gt;Hi  -&lt;/P&gt;

&lt;P&gt;I'm struggling with a problem occurring in a drilldown search used in a dashboard panel.  On Splunk 7.21, the drilldown works fine; Splunk 8 gives the following error:  Invalid earliest time.&lt;/P&gt;

&lt;P&gt;I narrowed down the issue to an eval statement  in the drilldown - |eval k=mvfilter(match(t, ",1$")) - to match a field that ends with ,1.  the issue seems to be with the $.   I've tried replacing the $ with %24, %2524, replacing double quotes with single quotes and protecting the $ with a backslash (out of desperation).  This all fails - well, the %2524 works once, then will fail with the "Invalid earliest time" error on subsequent executions.   When i check the drilldown, splunk has translated %2524 to %$.&lt;/P&gt;

&lt;P&gt;Does anyone have any guidance/help to offer?&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 22:20:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-8-special-character-in-drilldown-search/m-p/474615#M31153</guid>
      <dc:creator>krispyswitch</dc:creator>
      <dc:date>2020-04-09T22:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: splunk 8 - special character in drilldown search</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-8-special-character-in-drilldown-search/m-p/474616#M31154</link>
      <description>&lt;P&gt;Prefix $ with another dollar sign.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|eval k=mvfilter(match(t, ",1$$"))
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Apr 2020 05:56:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-8-special-character-in-drilldown-search/m-p/474616#M31154</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-04-10T05:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: splunk 8 - special character in drilldown search</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-8-special-character-in-drilldown-search/m-p/474617#M31155</link>
      <description>&lt;P&gt;Thank you manjunathmeti.  Your solution works.&lt;/P&gt;

&lt;P&gt;Any thoughts on how to stop splunk 8 from translating hex values?  Observing how splunk translated %2524 to %: had us test another search that contains regex to find urls containing %3A, %2F.  a snippet of the drilldown regex - https((%253A)|(:))((%252F)|(\/))   In 7.21, the drilldown works - in the browser bar this appears as https((%3A)|(:))((%2F)|(\/)).&lt;/P&gt;

&lt;P&gt;splunk 8 translates to https((:)|(:))((/)|(\/)) - any urls in our logs containing %3A, %2F are ignored.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 15:29:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-8-special-character-in-drilldown-search/m-p/474617#M31155</guid>
      <dc:creator>krispyswitch</dc:creator>
      <dc:date>2020-04-10T15:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: splunk 8 - special character in drilldown search</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-8-special-character-in-drilldown-search/m-p/474618#M31156</link>
      <description>&lt;P&gt;Same with %. Prefix it with another % symbol.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 19:50:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-8-special-character-in-drilldown-search/m-p/474618#M31156</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-04-10T19:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: splunk 8 - special character in drilldown search</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-8-special-character-in-drilldown-search/m-p/474619#M31157</link>
      <description>&lt;P&gt;Thanks for the follow up.  The %% didn't work - possibly because it's in a regex statement within the drilldown?  both %%3A and %25%253A were tried.&lt;/P&gt;

&lt;P&gt;the working regex (7.21) is set up to match url:port - | regex _raw="https((%253A)|(:))((%252F)|(\/))((%252F)|(\/))([a-zA-Z0-9.]%2B)((%253A)|(:))(\d%2B)" &lt;/P&gt;

&lt;P&gt;On 8, splunk translates %253A to :, %252F to /, but 8 also completely ignores the + (%2B) - no matter if it's a hard coded +, ++, +, %2B or %252B.  when the drilldown executes, the regex in the search window looks like:&lt;/P&gt;

&lt;P&gt;regex _raw="https((:)|(:))(()|(\/))(()|(\/))([a-zA-Z0-9.] )((:)|(:))(\d )" &lt;BR /&gt;
(note where the + should be is just a blank space )&lt;/P&gt;

&lt;P&gt;or with the %%:&lt;/P&gt;

&lt;P&gt;regex _raw="https((%%3A)|(:))((%%2F)|(\/))((%%2F)|(\/))([a-zA-Z0-9.]%%2B)((%%3A)|(:))(\d%%2B)".&lt;/P&gt;

&lt;P&gt;Although the  initial dashboard panel search shows 6 matches (single value), but the drilldown completely fails and returns 0 results.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 20:24:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-8-special-character-in-drilldown-search/m-p/474619#M31157</guid>
      <dc:creator>krispyswitch</dc:creator>
      <dc:date>2020-04-13T20:24:21Z</dc:date>
    </item>
  </channel>
</rss>

