<?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 bug? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-bug/m-p/408323#M26783</link>
    <description>&lt;P&gt;@shayhibah ,&lt;BR /&gt;
simply relace &lt;CODE&gt;%&lt;/CODE&gt; by &lt;CODE&gt;%25&lt;/CODE&gt; for url encoding-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;drilldown&amp;gt;
           &amp;lt;link target="_self"&amp;gt;search?q=index=_internal | eval Time=_time| convert timeformat="%25Y-%25m-%25d" ctime(Time)&amp;amp;amp;earliest=-15m&amp;amp;amp;latest=now&amp;lt;/link&amp;gt;
         &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 04 Oct 2018 07:04:14 GMT</pubDate>
    <dc:creator>493669</dc:creator>
    <dc:date>2018-10-04T07:04:14Z</dc:date>
    <item>
      <title>Drilldown bug?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-bug/m-p/408320#M26780</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;In my dashboards I use custom drilldown:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;drilldown&amp;gt;
    &amp;lt;set token="clicked_earliest_date"&amp;gt;$earliest$&amp;lt;/set&amp;gt;
    &amp;lt;eval token="clicked_latest_date"&amp;gt;$clicked_earliest_date$+86400&amp;lt;/eval&amp;gt;
    &amp;lt;link target="_self"&amp;gt;search?q=my_query
            | eval Time=_time
            | convert timeformat="%Y-%m-%d" ctime(Time)
            &amp;amp;amp;earliest=$clicked_earliest_date$&amp;amp;amp;latest=$clicked_latest_date$&amp;lt;/link&amp;gt;
&amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This drilldown used to work but I noticed that there are times it does not work.&lt;BR /&gt;
1. if I use &lt;STRONG&gt;convert timeformat="%Y-%m-%d" ctime(Time)&lt;/STRONG&gt;, when drilling down I get an empty search window but I can notice that the URL of this page contains the query.&lt;BR /&gt;
2. If I remove &lt;STRONG&gt;convert timeformat="%Y-%m-%d" ctime(Time)&lt;/STRONG&gt;, I get non-empty search window but I also see that time range is different than the time of the clicked event.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;I must say again that this drill down sometimes works and sometimes doesn't.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Someone is familiar with this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 06:21:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-bug/m-p/408320#M26780</guid>
      <dc:creator>shayhibah</dc:creator>
      <dc:date>2018-10-04T06:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown bug?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-bug/m-p/408321#M26781</link>
      <description>&lt;P&gt;try wrapping code in CDATA-&lt;BR /&gt;
have a look at recent post-&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/690132/in-a-dashboard-why-cant-i-configure-a-drill-down-w-1.html#answer-689302"&gt;https://answers.splunk.com/answers/690132/in-a-dashboard-why-cant-i-configure-a-drill-down-w-1.html#answer-689302&lt;/A&gt;&lt;BR /&gt;
or simply relace % by %25 for url encoding-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;drilldown&amp;gt;
          &amp;lt;link target="_self"&amp;gt;search?q=index=_internal | eval Time=_time| convert timeformat="%25Y-%25m-%25d" ctime(Time)&amp;amp;amp;earliest=-15m&amp;amp;amp;latest=now&amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Oct 2018 06:40:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-bug/m-p/408321#M26781</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-10-04T06:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown bug?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-bug/m-p/408322#M26782</link>
      <description>&lt;P&gt;@493669&lt;/P&gt;

&lt;P&gt;Unfortunately it does not work. same problem.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 06:50:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-bug/m-p/408322#M26782</guid>
      <dc:creator>shayhibah</dc:creator>
      <dc:date>2018-10-04T06:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown bug?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-bug/m-p/408323#M26783</link>
      <description>&lt;P&gt;@shayhibah ,&lt;BR /&gt;
simply relace &lt;CODE&gt;%&lt;/CODE&gt; by &lt;CODE&gt;%25&lt;/CODE&gt; for url encoding-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;drilldown&amp;gt;
           &amp;lt;link target="_self"&amp;gt;search?q=index=_internal | eval Time=_time| convert timeformat="%25Y-%25m-%25d" ctime(Time)&amp;amp;amp;earliest=-15m&amp;amp;amp;latest=now&amp;lt;/link&amp;gt;
         &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Oct 2018 07:04:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-bug/m-p/408323#M26783</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-10-04T07:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown bug?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-bug/m-p/408324#M26784</link>
      <description>&lt;P&gt;@493669&lt;/P&gt;

&lt;P&gt;Thanks for your reply.&lt;BR /&gt;
Your proposal semi-helped - it now shows the search window but the time range is still wrong and therefore I don't get results.&lt;BR /&gt;
The time range is based on the tokens I defined ans for some reason is does not related to them.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 07:23:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-bug/m-p/408324#M26784</guid>
      <dc:creator>shayhibah</dc:creator>
      <dc:date>2018-10-04T07:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown bug?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-bug/m-p/408325#M26785</link>
      <description>&lt;P&gt;i tried one sample example and it is working ..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;drilldown_690132&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="time" token="timec"&amp;gt;
      &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal | head 10 | stats count by source&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;20&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
        &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;link target="_self"&amp;gt;search?q=index=_internal | eval Time=_time| convert timeformat="%25Y-%25m-%25d" ctime(Time)&amp;amp;amp;earliest=$timec.earliest$&amp;amp;amp;latest=$timec.latest$&amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Oct 2018 07:55:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-bug/m-p/408325#M26785</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-10-04T07:55:56Z</dc:date>
    </item>
  </channel>
</rss>

