Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

Drill down by clicking on legend

$
0
0

Hi, I've the following chart

alt text

Legend values are exceptions

Type1 Exception -blue color

Typ2 Exception - yellow color

Initially it was default drilldown to flashtimeline where stack trace of exception(which was clicked) was shown. i.e say Bar(Blue column in picture) of 10 exception(Blue) would result in 10 stack trace on flashtimeline.

But what we're trying is on drilldown from above should open up new view where it'll show meaningfull message beside the stacktrace. For message we're using csv lookup file.

Problem is that it is on drilling down properly. If i click on yellow bar(type2 exception) the new view is showing all the exception's stack trace insted of only type2 exception.

So how can we send values of legend from this chart to next view so that only clicked exception's stack trace is shown along with message(lookup csv)

xml : above chart

< module name="URLLoader" layoutPanel="panel_row1_col1"  group="Exception Count By Time" autoRun="True">
< module name="Search" >
     < param name="search">my search</param> 
   < module name="HiddenChartFormatter">
    < param name="chart">column</param>
    < param name="primaryAxisTitle.text">Time</param>
    < param name="secondaryAxisTitle.text">ErrorCount</param>
    < param name="legend.placement">right</param>

  < module name="FlashChart">
    < param name="width">100%</param>
    < param name="height">100px</param>
       < module name="Redirector">
                < param name="popup">true</param>
                < param name="url">ExceptionDetails</param>
              < param name="arg.earliest">$search.timeRange.earliest$</param>
    < param name="arg.latest">$search.timeRange.latest$</param> 
              < /module>     
  < /module>
         < module name="ViewRedirectorLink">
            < param name="viewTarget">flashtimeline</param>
         < /module>

</module>
</module> </module>

ExceptionDetails view

< module name="URLLoader" layoutPanel="panel_row1_col1" group="Details" autoRun="True">
    < module name="Search">
        < param name="search">my serach</param>
        < module name="SimpleResultsTable">
            < param name="entityName" >results< /param>
            < param name="drilldown" >row< /param>

            <module name="ConvertToDrilldownSearch">
              <module name="ViewRedirector">
              <param name="viewTarget">flashtimeline</param>
              <param name="popup">True</param>
              </module>
          </module>  
        </module>
           <module name="ViewRedirectorLink">
            <param name="viewTarget">flashtimeline</param>
         </module>
   </module>
</module>

How and what should i pass from above chart to next view so that drilldown works properly?


Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>