<?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 splunk dynamic drilldown shows variable instead of value in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-dynamic-drilldown-shows-variable-instead-of-value/m-p/142117#M8572</link>
    <description>&lt;P&gt;I am trying to define a drilldown within a splunk form. However, when i click the row, it passes the variable $row.rid$ instead of the value.&lt;/P&gt;

&lt;P&gt;Can someone where help what i am doing wrong?&lt;/P&gt;

&lt;P&gt;Here is the code&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;Error Details&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;host="vmh001d009" index="coreservices"  | transaction rid | search (level=ERROR OR level=FATAL)  | rex field=url "http://(?&amp;lt;Service&amp;gt;[^/]+/[^/]+)" | eval Time=strftime(_time, "%H:%M %P %Z") | table Time, Service, funcname, user | rename funcname as Function, user as User&amp;lt;/query&amp;gt;
          &amp;amp;lt;earliest&amp;amp;gt;$timeSelection.earliest$&amp;amp;lt;/earliest&amp;amp;gt;
          &amp;amp;lt;latest&amp;amp;gt;$timeSelection.latest$&amp;amp;lt;/latest&amp;amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;amp;lt;link&amp;amp;gt;/app/coreservicesmonitoring/ptpe__debug?form.rid=$row.rid$&amp;amp;lt;/link&amp;amp;gt;
        &amp;lt;/drilldown&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is what it resolves too; (note form.rid=%24row.rid%24 )&lt;/P&gt;

&lt;P&gt;&lt;A href="https://prodsplunk/en-US/app/coreservicesmonitoring/ptpe__debug?form.rid=%24row.rid%24&amp;amp;form.time.earliest=0&amp;amp;form.time.latest&amp;amp;earliest=0&amp;amp;latest="&gt;https://prodsplunk/en-US/app/coreservicesmonitoring/ptpe__debug?form.rid=%24row.rid%24&amp;amp;form.time.earliest=0&amp;amp;form.time.latest&amp;amp;earliest=0&amp;amp;latest=&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2015 02:37:28 GMT</pubDate>
    <dc:creator>sanchitguptaiit</dc:creator>
    <dc:date>2015-06-04T02:37:28Z</dc:date>
    <item>
      <title>splunk dynamic drilldown shows variable instead of value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-dynamic-drilldown-shows-variable-instead-of-value/m-p/142117#M8572</link>
      <description>&lt;P&gt;I am trying to define a drilldown within a splunk form. However, when i click the row, it passes the variable $row.rid$ instead of the value.&lt;/P&gt;

&lt;P&gt;Can someone where help what i am doing wrong?&lt;/P&gt;

&lt;P&gt;Here is the code&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;Error Details&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;host="vmh001d009" index="coreservices"  | transaction rid | search (level=ERROR OR level=FATAL)  | rex field=url "http://(?&amp;lt;Service&amp;gt;[^/]+/[^/]+)" | eval Time=strftime(_time, "%H:%M %P %Z") | table Time, Service, funcname, user | rename funcname as Function, user as User&amp;lt;/query&amp;gt;
          &amp;amp;lt;earliest&amp;amp;gt;$timeSelection.earliest$&amp;amp;lt;/earliest&amp;amp;gt;
          &amp;amp;lt;latest&amp;amp;gt;$timeSelection.latest$&amp;amp;lt;/latest&amp;amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;amp;lt;link&amp;amp;gt;/app/coreservicesmonitoring/ptpe__debug?form.rid=$row.rid$&amp;amp;lt;/link&amp;amp;gt;
        &amp;lt;/drilldown&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is what it resolves too; (note form.rid=%24row.rid%24 )&lt;/P&gt;

&lt;P&gt;&lt;A href="https://prodsplunk/en-US/app/coreservicesmonitoring/ptpe__debug?form.rid=%24row.rid%24&amp;amp;form.time.earliest=0&amp;amp;form.time.latest&amp;amp;earliest=0&amp;amp;latest="&gt;https://prodsplunk/en-US/app/coreservicesmonitoring/ptpe__debug?form.rid=%24row.rid%24&amp;amp;form.time.earliest=0&amp;amp;form.time.latest&amp;amp;earliest=0&amp;amp;latest=&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2015 02:37:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-dynamic-drilldown-shows-variable-instead-of-value/m-p/142117#M8572</guid>
      <dc:creator>sanchitguptaiit</dc:creator>
      <dc:date>2015-06-04T02:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: splunk dynamic drilldown shows variable instead of value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-dynamic-drilldown-shows-variable-instead-of-value/m-p/142118#M8573</link>
      <description>&lt;P&gt;hi sanchitguptaiitd,&lt;/P&gt;

&lt;P&gt;For this to work, there will have to be &lt;CODE&gt;rid&lt;/CODE&gt;a field that appears in the final table and you have displayed among the fields you want to display with the control table, I see no &lt;CODE&gt;rid&lt;/CODE&gt;.&lt;BR /&gt;
for the syntax of the drilldown tag, everything is correct and should work.&lt;BR /&gt;
try as I say, and let me know.&lt;/P&gt;

&lt;P&gt;Here the sample code I used recently and it retrieves the exact value.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;panel&amp;gt;
      &amp;lt;table id="master"&amp;gt;
        &amp;lt;title&amp;gt;Tickets for $host$, $status$, generated by Error_alert, triggered&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=ticket report="ticket1" $host$ $TicketNumber$ $status$ $comment$ |dedup TicketNumber
             |table TicketNumber Alerttime status Comments Raw 
          &amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&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;row&amp;lt;/option&amp;gt;

        &amp;lt;drilldown&amp;gt;
          &amp;lt;!-- Use set to specify the new token to be created.
            Use any token from the page or from the click event to produce the value needed. --&amp;gt;  
          &amp;lt;link&amp;gt;/app/CPU/tickets_list2?form.TicketNumber=$row.TicketNumber$&amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
        &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;please forgive My english&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2015 08:36:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-dynamic-drilldown-shows-variable-instead-of-value/m-p/142118#M8573</guid>
      <dc:creator>gyslainlatsa</dc:creator>
      <dc:date>2015-06-04T08:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: splunk dynamic drilldown shows variable instead of value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-dynamic-drilldown-shows-variable-instead-of-value/m-p/142119#M8574</link>
      <description>&lt;P&gt;thanks, that worked! i assumed i could use any fields in underlying event, guess only those shown up in table can be passed.&lt;/P&gt;

&lt;P&gt;Thanks again for your help &lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2015 01:16:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-dynamic-drilldown-shows-variable-instead-of-value/m-p/142119#M8574</guid>
      <dc:creator>sanchitguptaiit</dc:creator>
      <dc:date>2015-06-05T01:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: splunk dynamic drilldown shows variable instead of value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-dynamic-drilldown-shows-variable-instead-of-value/m-p/142120#M8575</link>
      <description>&lt;P&gt;thanks, If it works; must then accepted&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2015 08:29:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-dynamic-drilldown-shows-variable-instead-of-value/m-p/142120#M8575</guid>
      <dc:creator>gyslainlatsa</dc:creator>
      <dc:date>2015-06-05T08:29:10Z</dc:date>
    </item>
  </channel>
</rss>

