<?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: Make charts clickable in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33988#M1523</link>
    <description>&lt;P&gt;However the one thing I still notice is that the main line chart still isn't clickable....&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2011 21:53:17 GMT</pubDate>
    <dc:creator>gnovak</dc:creator>
    <dc:date>2011-12-13T21:53:17Z</dc:date>
    <item>
      <title>Make charts clickable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33979#M1514</link>
      <description>&lt;P&gt;I have a question.  I developed a dashboard in advanced XML that has 1 chart and 2 tables.  For the most part 1 search is driving the chart and heatmap and at the bottom another search is making the table.&lt;/P&gt;

&lt;P&gt;I have some issues:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt; None of these are clickable.  What I mean by clickable is usually you can click on an area in the chart, or even click on something in the legend and have Splunk open a new window with a search.  It just doesn't do this for either the chart or the tables.&lt;/LI&gt;
&lt;LI&gt;For the 2 tables I have on the dashboard, the View Results link appears to have disappeared. &lt;/LI&gt;
&lt;LI&gt;For the line chart I have at the top, when I click on a line in the chart or a username in the legend, it becomes "stuck" or that line is highlighted and I have no way to get it unstuck other then to reload the entire dashboard.&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;I'm not sure how to get the results i want at this point.  &lt;/P&gt;

&lt;P&gt;I've tried multiplie things such as adding height to the chart, adding flashchart to the tables, etc.  I figured I'd throw it out here first.&lt;/P&gt;

&lt;P&gt;Here's my dashboard code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;view template="dashboard.html"&amp;gt;
  &amp;lt;label&amp;gt;YNFS1 Space Usage&amp;lt;/label&amp;gt;
  &amp;lt;module name="AccountBar" layoutPanel="navigationHeader"/&amp;gt;
  &amp;lt;module name="AppBar" layoutPanel="navigationHeader"/&amp;gt;

  &amp;lt;module name="Message" layoutPanel="messaging"&amp;gt;
    &amp;lt;param name="filter"&amp;gt;*&amp;lt;/param&amp;gt;
    &amp;lt;param name="clearOnJobDispatch"&amp;gt;False&amp;lt;/param&amp;gt;
    &amp;lt;param name="maxSize"&amp;gt;1&amp;lt;/param&amp;gt;
  &amp;lt;/module&amp;gt;

&amp;lt;module name="TimeRangePicker" layoutPanel="panel_row1_col1"&amp;gt;
    &amp;lt;param name="searchWhenChanged"&amp;gt;True&amp;lt;/param&amp;gt;
    &amp;lt;param name="default"&amp;gt;Last 7 days&amp;lt;/param&amp;gt;
&amp;lt;module name="HiddenSavedSearch" layoutPanel="panel_row2_col1" group="YNFS1 Space Usage" autoRun="True"&amp;gt;
        &amp;lt;param name="savedSearch"&amp;gt;Andrew ynfs1 search&amp;lt;/param&amp;gt;
        &amp;lt;module name="HiddenChartFormatter"&amp;gt;
          &amp;lt;param name="charting.chart"&amp;gt;line&amp;lt;/param&amp;gt;
          &amp;lt;param name="chart.stackMode"&amp;gt;none&amp;lt;/param&amp;gt;
          &amp;lt;param name="secondaryAxisTitle.text"&amp;gt;Space(GB)&amp;lt;/param&amp;gt;
        &amp;lt;module name="ChartTypeFormatter"&amp;gt;
        &amp;lt;module name="StackModeFormatter"&amp;gt;
          &amp;lt;module name="JobProgressIndicator"&amp;gt;&amp;lt;/module&amp;gt;
            &amp;lt;module name="FlashChart"&amp;gt;
              &amp;lt;param name="width"&amp;gt;100%&amp;lt;/param&amp;gt;
              &amp;lt;param name="height"&amp;gt;400px&amp;lt;/param&amp;gt;
             &amp;lt;/module&amp;gt;
            &amp;lt;/module&amp;gt;
          &amp;lt;/module&amp;gt;
         &amp;lt;/module&amp;gt;
          &amp;lt;module name="ViewRedirectorLink"&amp;gt;
            &amp;lt;param name="viewTarget"&amp;gt;flashtimeline&amp;lt;/param&amp;gt;
            &amp;lt;param name="popup"&amp;gt;True&amp;lt;/param&amp;gt;      
          &amp;lt;/module&amp;gt; 
      &amp;lt;/module&amp;gt;
     &amp;lt;module name="HiddenSavedSearch" layoutPanel="panel_row3_col1" group="YNFS1 Space Usage Heat Map" autoRun="True"&amp;gt;
       &amp;lt;param name="savedSearch"&amp;gt;Andrew ynfs1 search&amp;lt;/param&amp;gt;
       &amp;lt;module name="SimpleResultsTable"&amp;gt;
       &amp;lt;param name="dataOverlayMode"&amp;gt;heatmap&amp;lt;/param&amp;gt;
       &amp;lt;module name="ViewRedirectorLink"&amp;gt;
         &amp;lt;param name="viewTarget"&amp;gt;flashtimeline&amp;lt;/param&amp;gt;
         &amp;lt;param name="popup"&amp;gt;True&amp;lt;/param&amp;gt;
        &amp;lt;/module&amp;gt;      
       &amp;lt;/module&amp;gt; 
    &amp;lt;/module&amp;gt;
  &amp;lt;/module&amp;gt; 
&amp;lt;module name="HiddenSearch" layoutPanel="panel_row4_col1" group="YNFS1 Top 20 Space Users Last 24 Hours" autoRun="True"&amp;gt;
     &amp;lt;param name="search"&amp;gt;host="ynfs1" sourcetype=userdiskusage earliest=-1d | rex field=_raw "(?&amp;amp;lt;Space&amp;amp;gt;\d+)\s*\/home\/(?&amp;amp;lt;UserName&amp;amp;gt;\S+)" | search NOT UserName="shares" | eval SpaceGB = Space/1048576 | sort SpaceGB,UserName desc | head 20 | table UserName,SpaceGB&amp;lt;/param&amp;gt;
     &amp;lt;module name="SimpleResultsTable"&amp;gt;
        &amp;lt;param name="count"&amp;gt;20&amp;lt;/param&amp;gt; 
     &amp;lt;module name="ViewRedirectorLink"&amp;gt;
         &amp;lt;param name="viewTarget"&amp;gt;flashtimeline&amp;lt;/param&amp;gt;
         &amp;lt;param name="popup"&amp;gt;True&amp;lt;/param&amp;gt;
        &amp;lt;/module&amp;gt;      
       &amp;lt;/module&amp;gt; 
    &amp;lt;/module&amp;gt;
&amp;lt;/view&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The Andrew ynfs1 search is below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="ynfs1" sourcetype=userdiskusage | rex field=_raw "(?&amp;lt;Space&amp;gt;\d+)\s*\/home\/(?&amp;lt;UserName&amp;gt;\S+)" | search NOT UserName="shares" | eval SpaceGB = Space/1048576| timechart Max(SpaceGB) span=1d by UserName where max in top20
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Dec 2011 16:24:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33979#M1514</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2011-12-13T16:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Make charts clickable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33980#M1515</link>
      <description>&lt;P&gt;I'm running splunk 4.2.1 btw&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2011 16:25:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33980#M1515</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2011-12-13T16:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Make charts clickable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33981#M1516</link>
      <description>&lt;P&gt;Is your intent to have the one chart show up and then you click a bar on that chart to drive the other panels? Or do you simply want all three panels to show up immediately?&lt;/P&gt;

&lt;P&gt;I suspect you want to click something and have it move down to your child modules in some fashion, in which case you can't close off your  tags until the end of the dashboard.  If you have one panel which has a chart and you want a module below it to act on that click in some way you need to move your  tag for the first chart to below the child or children modules.  &lt;/P&gt;

&lt;P&gt;In my case I am almost always drilling down from panel 1, to 2, to 3 etc in which case all of my  tags are at the very end of my code before the last  tag.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2011 17:04:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33981#M1516</guid>
      <dc:creator>jerrad</dc:creator>
      <dc:date>2011-12-13T17:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Make charts clickable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33982#M1517</link>
      <description>&lt;P&gt;I tried this but it did nothing.  If anything now the View Results link just disappeared from the Line Chart.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2011 19:29:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33982#M1517</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2011-12-13T19:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Make charts clickable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33983#M1518</link>
      <description>&lt;P&gt;My intent is that each chart or table should have "view results".  The last table is a totally different search.  I have the ViewRedirector module in there, but nothing happens.  Also the table at the bottom of the dashboard isn't even clickable.  I can't click to view any of the results at all.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2011 20:12:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33983#M1518</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2011-12-13T20:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Make charts clickable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33984#M1519</link>
      <description>&lt;P&gt;also i can't resize the table and looking at SimpleResultsTable I don't see anything in regards to resizing it.  ?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2011 20:12:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33984#M1519</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2011-12-13T20:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Make charts clickable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33985#M1520</link>
      <description>&lt;P&gt;I did a quick re-arrangement of your  statements and noticed that the view results show up after you click some sort of clickable value on the charts. &lt;/P&gt;

&lt;P&gt;It looks like the "ViewRedirectorLink" isn't being executed because it falls after the chart/simple results and until you interact with the chart/table it doesn't have a chance to move down to that next piece of code.&lt;/P&gt;

&lt;P&gt;Here is a re-arrangement of the code that shows the view results for me albeit at the top left of the panel instead of the bottom left.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;view template="dashboard.html"&amp;gt;
  &amp;lt;label&amp;gt;YNFS1 Space Usage&amp;lt;/label&amp;gt;
  &amp;lt;module name="AccountBar" layoutPanel="navigationHeader"/&amp;gt;
  &amp;lt;module name="AppBar" layoutPanel="navigationHeader"/&amp;gt;

  &amp;lt;module name="Message" layoutPanel="messaging"&amp;gt;
    &amp;lt;param name="filter"&amp;gt;*&amp;lt;/param&amp;gt;
    &amp;lt;param name="clearOnJobDispatch"&amp;gt;False&amp;lt;/param&amp;gt;
    &amp;lt;param name="maxSize"&amp;gt;1&amp;lt;/param&amp;gt;
  &amp;lt;/module&amp;gt;

&amp;lt;module name="TimeRangePicker" layoutPanel="panel_row1_col1"&amp;gt;
    &amp;lt;param name="searchWhenChanged"&amp;gt;True&amp;lt;/param&amp;gt;
    &amp;lt;param name="default"&amp;gt;Last 7 days&amp;lt;/param&amp;gt;
&amp;lt;module name="HiddenSavedSearch" layoutPanel="panel_row2_col1" group="YNFS1 Space Usage" autoRun="True"&amp;gt;
        &amp;lt;param name="savedSearch"&amp;gt;sample_saved_search&amp;lt;/param&amp;gt;
        &amp;lt;module name="HiddenChartFormatter"&amp;gt;
          &amp;lt;param name="charting.chart"&amp;gt;line&amp;lt;/param&amp;gt;
          &amp;lt;param name="chart.stackMode"&amp;gt;none&amp;lt;/param&amp;gt;
          &amp;lt;param name="secondaryAxisTitle.text"&amp;gt;Space(GB)&amp;lt;/param&amp;gt;
        &amp;lt;module name="ChartTypeFormatter"&amp;gt;
        &amp;lt;module name="StackModeFormatter"&amp;gt;
          &amp;lt;module name="JobProgressIndicator"&amp;gt;&amp;lt;/module&amp;gt;
                   &amp;lt;module name="ViewRedirectorLink"&amp;gt;
            &amp;lt;param name="viewTarget"&amp;gt;flashtimeline&amp;lt;/param&amp;gt;
            &amp;lt;param name="popup"&amp;gt;True&amp;lt;/param&amp;gt;
          &amp;lt;/module&amp;gt;
            &amp;lt;module name="FlashChart"&amp;gt;
              &amp;lt;param name="width"&amp;gt;100%&amp;lt;/param&amp;gt;
              &amp;lt;param name="height"&amp;gt;400px&amp;lt;/param&amp;gt;
             &amp;lt;/module&amp;gt;
            &amp;lt;/module&amp;gt;
          &amp;lt;/module&amp;gt;
         &amp;lt;/module&amp;gt;

      &amp;lt;/module&amp;gt;
     &amp;lt;module name="HiddenSavedSearch" layoutPanel="panel_row3_col1" group="YNFS1 Space Usage Heat Map" autoRun="True"&amp;gt;
       &amp;lt;param name="savedSearch"&amp;gt;sample_saved_search&amp;lt;/param&amp;gt;
              &amp;lt;module name="ViewRedirectorLink"&amp;gt;
         &amp;lt;param name="viewTarget"&amp;gt;flashtimeline&amp;lt;/param&amp;gt;
         &amp;lt;param name="popup"&amp;gt;True&amp;lt;/param&amp;gt;
        &amp;lt;/module&amp;gt;
       &amp;lt;module name="SimpleResultsTable"&amp;gt;
       &amp;lt;param name="dataOverlayMode"&amp;gt;heatmap&amp;lt;/param&amp;gt;

       &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
  &amp;lt;/module&amp;gt;
&amp;lt;module name="HiddenSearch" layoutPanel="panel_row4_col1" group="YNFS1 Top 20 Space Users Last 24 Hours" autoRun="True"&amp;gt;
     &amp;lt;param name="search"&amp;gt;host="ynfs1" sourcetype=userdiskusage earliest=-1d | rex field=_raw "(?&amp;amp;lt;Space&amp;amp;gt;\d+)\s*\/home\/(?&amp;amp;lt;UserName&amp;amp;gt;\S+)" | search NOT UserName="shares" | eval SpaceGB = Space/1048576 | sort SpaceGB,UserName desc | head 20 | table UserName,SpaceGB&amp;lt;/param&amp;gt;
      &amp;lt;module name="ViewRedirectorLink"&amp;gt;
         &amp;lt;param name="viewTarget"&amp;gt;flashtimeline&amp;lt;/param&amp;gt;
         &amp;lt;param name="popup"&amp;gt;True&amp;lt;/param&amp;gt;
        &amp;lt;/module&amp;gt;
        &amp;lt;module name="SimpleResultsTable"&amp;gt;
        &amp;lt;param name="count"&amp;gt;20&amp;lt;/param&amp;gt;

       &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
&amp;lt;/view&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Dec 2011 20:59:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33985#M1520</guid>
      <dc:creator>jerrad</dc:creator>
      <dc:date>2011-12-13T20:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Make charts clickable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33986#M1521</link>
      <description>&lt;P&gt;OK I think the key is to ensure you close off the "FlashChart" module before the ""ViewRedirectorLink" in the case of the first panel and close the "SimpleResultsTable" before the "ViewRedirectorLink" in the two other panels and that will bring the view results down to the bottom left.&lt;/P&gt;

&lt;P&gt;Same concept holds true though it looks like the Chart and Simple Results modules were preventing the downstream ViewRedirectorLink from executing due to the  tag being after the ViewRedirectorLink  instead of before it.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2011 21:18:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33986#M1521</guid>
      <dc:creator>jerrad</dc:creator>
      <dc:date>2011-12-13T21:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Make charts clickable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33987#M1522</link>
      <description>&lt;P&gt;That did work.  Thanks as this was driving me crazy for a while!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2011 21:45:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33987#M1522</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2011-12-13T21:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Make charts clickable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33988#M1523</link>
      <description>&lt;P&gt;However the one thing I still notice is that the main line chart still isn't clickable....&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2011 21:53:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33988#M1523</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2011-12-13T21:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Make charts clickable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33989#M1524</link>
      <description>&lt;P&gt;This isn't a huge problem as having the view results link does  help with that, but was just wondering why I can't get it to be clickable...&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2011 21:53:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33989#M1524</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2011-12-13T21:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Make charts clickable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33990#M1525</link>
      <description>&lt;P&gt;What do you want to happen when you click the main line chart? Is the intent to launch a new window with the results just for that specific time, or do you want it to influence the time range for the child panels?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2011 22:22:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Make-charts-clickable/m-p/33990#M1525</guid>
      <dc:creator>jerrad</dc:creator>
      <dc:date>2011-12-13T22:22:04Z</dc:date>
    </item>
  </channel>
</rss>

