<?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: Problem with drilldown and OUTPUT in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162636#M46148</link>
    <description>&lt;P&gt;Thanks, I tried that and I'm not getting anything from it. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;link&amp;gt;
 &amp;lt;![CDATA[failed_operation?dboperationcode=$row.dboperationcode$&amp;amp;host=$host$&amp;amp;earliest=$earliest$&amp;amp;latest=$latest$]]&amp;gt;
 &amp;lt;/link&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;turnsout ampersand wasn't a problem in my dashboard code just where I posted the question.  Here is the link I'm trying to render the token values into...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;link&amp;gt;
&amp;lt;![CDATA[sql_statement_failed?dboperationcode=$row.dboperationcode$&amp;amp;host=$host$&amp;amp;earliest=$earliest$&amp;amp;latest=$latest$]]&amp;gt;
&amp;lt;/link&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I also need to add that the chart is a pie chart. But to render out the labels the way I wanted I had to pipe in | table columns...  so I'm not actually clicking on a table value but on a portion of a pie chart.&lt;/P&gt;

&lt;P&gt;the $row.dboperationcode$ token isn't populating... I'm just getting the row.dboperationcode token name in the url....&lt;/P&gt;

&lt;P&gt;is it because I'm using the table command in my search along with a pie chart type?  &lt;/P&gt;</description>
    <pubDate>Mon, 22 Jun 2015 21:55:23 GMT</pubDate>
    <dc:creator>greasypragma</dc:creator>
    <dc:date>2015-06-22T21:55:23Z</dc:date>
    <item>
      <title>Problem with drilldown and OUTPUT</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162632#M46144</link>
      <description>&lt;P&gt;I need some help with getting this simple drilldown to pass the dboperationcode to my &amp;lt;link&amp;gt;.  Currently my search is only giving me the OUTPUT value as the click.value for the drilldown search.  I want to pass the dboperationcode  in my drilldown but I only get the description.&lt;/P&gt;

&lt;P&gt;I've tried setting tokens using the &amp;lt;set&amp;gt; and also using the &amp;lt;condition field="dboperationcode"&amp;gt; but nothing I've tried seems to override what is coming from the OUTPUT in my lookup. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;
                 index="myindex" host=$host$ | top limit=5 dboperationcode 
                  | lookup sqlcursorlkp lkpcode as dboperationcode  OUTPUT  description 
                  | fillnull value=Unknown | eval hcreason=count." : ".hcreason          
                  | table description, count, percent, dboperationcode
      &amp;lt;/query&amp;gt;
&amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;collapsed&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;collapsed&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.enabled"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.placement"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;drilldown target="_blank"&amp;gt;
          &amp;lt;link&amp;gt;
            &amp;lt;![CDATA[failed_operation?dboperationcode=$click.value$host=$host$&amp;amp;earliest=$earliest$&amp;amp;latest=$latest$]]&amp;gt;
          &amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 20 Jun 2015 13:44:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162632#M46144</guid>
      <dc:creator>greasypragma</dc:creator>
      <dc:date>2015-06-20T13:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with drilldown and OUTPUT</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162633#M46145</link>
      <description>&lt;P&gt;Use &lt;CODE&gt;$row.dboperationcode$&lt;/CODE&gt;. Also, there seems to be an ampersand missing before &lt;CODE&gt;host=&lt;/CODE&gt; in your link tag.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/Viz/PanelreferenceforSimplifiedXML#table_.28event_tokens.29"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/Viz/PanelreferenceforSimplifiedXML#table_.28event_tokens.29&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You're getting the description now because with &lt;CODE&gt;drilldown=all&lt;/CODE&gt; the &lt;CODE&gt;$click.value$&lt;/CODE&gt; token always refers to the first column.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2015 08:45:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162633#M46145</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-06-21T08:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with drilldown and OUTPUT</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162634#M46146</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;link&amp;gt;
  &amp;lt;![CDATA[/app/[name of the app where the view is]/sql_statement_failed?dboperationcode=$row.dboperationcode$&amp;amp;host=$host$&amp;amp;earliest=$earliest$&amp;amp;latest=$latest$]]&amp;gt;
 &amp;lt;/link&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Jun 2015 16:30:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162634#M46146</guid>
      <dc:creator>diogofgm</dc:creator>
      <dc:date>2015-06-22T16:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with drilldown and OUTPUT</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162635#M46147</link>
      <description>&lt;P&gt;Look at dynamic drill down in docs&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/Viz/Understandbasictableandchartdrilldownactions"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/Viz/Understandbasictableandchartdrilldownactions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2015 16:34:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162635#M46147</guid>
      <dc:creator>diogofgm</dc:creator>
      <dc:date>2015-06-22T16:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with drilldown and OUTPUT</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162636#M46148</link>
      <description>&lt;P&gt;Thanks, I tried that and I'm not getting anything from it. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;link&amp;gt;
 &amp;lt;![CDATA[failed_operation?dboperationcode=$row.dboperationcode$&amp;amp;host=$host$&amp;amp;earliest=$earliest$&amp;amp;latest=$latest$]]&amp;gt;
 &amp;lt;/link&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;turnsout ampersand wasn't a problem in my dashboard code just where I posted the question.  Here is the link I'm trying to render the token values into...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;link&amp;gt;
&amp;lt;![CDATA[sql_statement_failed?dboperationcode=$row.dboperationcode$&amp;amp;host=$host$&amp;amp;earliest=$earliest$&amp;amp;latest=$latest$]]&amp;gt;
&amp;lt;/link&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I also need to add that the chart is a pie chart. But to render out the labels the way I wanted I had to pipe in | table columns...  so I'm not actually clicking on a table value but on a portion of a pie chart.&lt;/P&gt;

&lt;P&gt;the $row.dboperationcode$ token isn't populating... I'm just getting the row.dboperationcode token name in the url....&lt;/P&gt;

&lt;P&gt;is it because I'm using the table command in my search along with a pie chart type?  &lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2015 21:55:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162636#M46148</guid>
      <dc:creator>greasypragma</dc:creator>
      <dc:date>2015-06-22T21:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with drilldown and OUTPUT</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162637#M46149</link>
      <description>&lt;P&gt;I think I know what my problem is.  Pie charts are one dimensional and using the row. won't work because it's final render is a one dimensional pie chart vs a table, etc...   I converted the pie to a bar chart and it works.  &lt;/P&gt;

&lt;P&gt;I wish I could use the pie chart though. It looks much better and makes more sense for this one value... It's just the lookup that is causing the problem making the output something I can't turn around and search on with the drill down. &lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 02:36:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162637#M46149</guid>
      <dc:creator>greasypragma</dc:creator>
      <dc:date>2015-06-23T02:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with drilldown and OUTPUT</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162638#M46150</link>
      <description>&lt;P&gt;Yeah, pies are very restricted in their behaviour.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 02:55:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-drilldown-and-OUTPUT/m-p/162638#M46150</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-06-23T02:55:09Z</dc:date>
    </item>
  </channel>
</rss>

