<?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: advanced xml charting in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/advanced-xml-charting/m-p/98773#M5471</link>
    <description>&lt;P&gt;Here is a list of Modules.  &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Developer/ModuleReference"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Developer/ModuleReference&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Oct 2012 01:07:15 GMT</pubDate>
    <dc:creator>bmacias84</dc:creator>
    <dc:date>2012-10-24T01:07:15Z</dc:date>
    <item>
      <title>advanced xml charting</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/advanced-xml-charting/m-p/98771#M5469</link>
      <description>&lt;P&gt;hi ,&lt;/P&gt;

&lt;P&gt;i used the below XML code to create the bar chart for the durtaion count of TaskAction and if we drilldown it should the trend chart..&lt;/P&gt;

&lt;P&gt;plz verify this XML and give inputs.. after running this code..its shows &lt;STRONG&gt;Splunk encountered the following unknown module: "count of duration" .  The view may not load properly.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;VIEW template="dashboard.html"&gt;&lt;BR /&gt;
  &lt;LABEL&gt;Custom wiring the clicks&lt;/LABEL&gt;&lt;BR /&gt;
  &lt;MODULE name="AccountBar" layoutpanel="appHeader"&gt;&lt;/MODULE&gt;&lt;BR /&gt;
  &lt;MODULE name="AppBar" layoutpanel="navigationHeader"&gt;&lt;/MODULE&gt;&lt;BR /&gt;
  &lt;MODULE name="Message" layoutpanel="messaging"&gt;&lt;BR /&gt;
    &lt;OBJECT&gt;&lt;PARAM name="filter" /&gt;*&lt;BR /&gt;
    &lt;PARAM name="clearOnJobDispatch" /&gt;False&lt;BR /&gt;
    &lt;PARAM name="maxSize" /&gt;1&lt;BR /&gt;
  &lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;BR /&gt;
  &lt;MODULE name="TitleBar" layoutpanel="viewHeader"&gt;&lt;BR /&gt;
    &lt;OBJECT&gt;&lt;PARAM name="actionsMenuFilter" /&gt;dashboard&lt;BR /&gt;
  &lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;BR /&gt;&lt;BR /&gt;
  &lt;MODULE name="HiddenSearch" layoutpanel="panel_row3_col1" autorun="True"&gt;&lt;BR /&gt;
    &lt;OBJECT&gt;&lt;PARAM name="search" /&gt; source="C:\Users\20875\Desktop\taskmanager_log.txt"| transaction TaskAction  startswith=START endswith=Succeeded|chart count(duration) by TaskAction &lt;BR /&gt;
        &lt;MODULE name="HiddenChartFormatter"&gt;&lt;BR /&gt;
      &lt;PARAM name="charting.chart" /&gt;bar&lt;BR /&gt;
      &lt;PARAM name="charting.primaryAxisTitle.text" /&gt;TaskName&lt;BR /&gt;
      &lt;PARAM name="charting.secondaryAxisTitle.text" /&gt;count&lt;BR /&gt;
      &lt;PARAM name="charting.legend.placement" /&gt;none&lt;BR /&gt;
      &lt;MODULE name="Count of Duration"&gt;&lt;/MODULE&gt;&lt;BR /&gt;
      &lt;MODULE name="FlashChart"&gt;&lt;BR /&gt;
        &lt;PARAM name="width" /&gt;100%&lt;BR /&gt;
        &lt;PARAM name="height" /&gt;160px&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;/VIEW&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;!-- we swap out the search to be a timechart.  --&amp;gt;
    &amp;lt;module name="HiddenSearch"&amp;gt;
      &amp;lt;param name="search"&amp;gt;source="C:\\Users\\20875\\Desktop\\taskmanager_log.txt"| transaction TaskAction startswith=START endswith=Succeeded|timechart count(duration) by TaskAction &amp;lt;/param&amp;gt;
           &amp;lt;!-- this module will grab the value we clicked on and put it in as a searchterm,   series="someSourcetype".   --&amp;gt;
      &amp;lt;module name="ConvertToIntention"&amp;gt;
        &amp;lt;param name="intention"&amp;gt;
          &amp;lt;param name="name"&amp;gt;addterm&amp;lt;/param&amp;gt;
          &amp;lt;param name="arg"&amp;gt;
   &amp;lt;param Value="TaskAction"&amp;gt;$click.value$&amp;lt;/param&amp;gt;
          &amp;lt;/param&amp;gt;
 &amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;        &amp;lt;!-- finally, we render the search in another FlashChart, and we throw in a JobProgressIndicator for good measure. --&amp;gt;
        &amp;lt;module name="Count of Duration"&amp;gt;&amp;lt;/module&amp;gt;

        &amp;lt;!-- We throw in a header so we can tell the user what they clicked on. --&amp;gt;
        &amp;lt;module name="SimpleResultsHeader"&amp;gt;
          &amp;lt;param name="entityName"&amp;gt;results&amp;lt;/param&amp;gt;
          &amp;lt;param name="headerFormat"&amp;gt;Trendchart=$click.value$ $time$&amp;lt;/param&amp;gt;
        &amp;lt;/module&amp;gt;
        &amp;lt;module name="HiddenChartFormatter"&amp;gt;
          &amp;lt;param name="chart"&amp;gt;line&amp;lt;/param&amp;gt;
          &amp;lt;param name="primaryAxisTitle.text"&amp;gt;Time&amp;lt;/param&amp;gt;
          &amp;lt;param name="secondaryAxisTitle.text"&amp;gt;events per second&amp;lt;/param&amp;gt;
          &amp;lt;param name="legend.placement"&amp;gt;none&amp;lt;/param&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;160px&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&amp;gt;
&amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;/P&gt;

&lt;P&gt;pls provide inputs ..about wheather the above code is correct and also about the error&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2012 11:47:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/advanced-xml-charting/m-p/98771#M5469</guid>
      <dc:creator>splunkpoornima</dc:creator>
      <dc:date>2012-10-23T11:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: advanced xml charting</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/advanced-xml-charting/m-p/98772#M5470</link>
      <description>&lt;P&gt;Uh, well the error message says it really...you got a module in there called "Count of Duration":&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;module name="Count of Duration"/&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Like the error message says, there's no module called that, and I don't know really what you're trying to do there. &lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2012 12:25:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/advanced-xml-charting/m-p/98772#M5470</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-10-23T12:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: advanced xml charting</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/advanced-xml-charting/m-p/98773#M5471</link>
      <description>&lt;P&gt;Here is a list of Modules.  &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Developer/ModuleReference"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Developer/ModuleReference&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2012 01:07:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/advanced-xml-charting/m-p/98773#M5471</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2012-10-24T01:07:15Z</dc:date>
    </item>
  </channel>
</rss>

