<?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: TimeRangePicker Charting Question in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/TimeRangePicker-Charting-Question/m-p/50053#M12018</link>
    <description>&lt;P&gt;You will want to use the &lt;A href="http://www.splunk.com/base/Documentation/latest/Developer/ModuleReference#FlashChart" rel="nofollow"&gt;FlashChart&lt;/A&gt; module instead of the SimpleResultsTable module. Then use the &lt;A href="http://www.splunk.com/base/Documentation/latest/Developer/ModuleReference#HiddenChartFormatter" rel="nofollow"&gt;HiddenChartFormatter&lt;/A&gt; to format the chart. You can use the &lt;CODE&gt;chart&lt;/CODE&gt; param to specify a &lt;CODE&gt;bar&lt;/CODE&gt; chart.&lt;/P&gt;

&lt;P&gt;Take a look at the other &lt;A href="http://www.splunk.com/base/Documentation/latest/Developer/ModuleReference#Charting" rel="nofollow"&gt;chart formatting modules&lt;/A&gt; in the module reference and you will see there is a plethora of options to customize your charts.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Sep 2010 00:32:05 GMT</pubDate>
    <dc:creator>ftk</dc:creator>
    <dc:date>2010-09-15T00:32:05Z</dc:date>
    <item>
      <title>TimeRangePicker Charting Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TimeRangePicker-Charting-Question/m-p/50052#M12017</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;I have written the following advanced dashboard that allows me to view results in a simple table based on what option I choose in my timerangepicker:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;view template="dashboard.html"&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;label&amp;gt;Test Dashboard&amp;lt;/label&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;module name="AccountBar" layoutPanel="navigationHeader"/&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;module name="AppBar" layoutPanel="navigationHeader"/&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;module name="Message" layoutPanel="messaging"&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;param name="filter"&amp;gt;*&amp;lt;/param&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="clearOnJobDispatch"&amp;gt;False&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;param name="maxSize"&amp;gt;1&amp;lt;/param&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;/module&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;module name="HiddenSavedSearch" layoutPanel="panel_row1_col1" group="It will work...eventually" autoRun="True"&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;param name="savedSearch"&amp;gt;crashes Dev&amp;lt;/param&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;module name="TimeRangePicker"&amp;gt;

         &amp;lt;param name="searchWhenChanged"&amp;gt;True&amp;lt;/param&amp;gt;

         &amp;lt;param name="default"&amp;gt;Last 24 hours&amp;lt;/param&amp;gt;

     &amp;lt;module name="SimpleResultsTable"&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;How can I modify this code so that I can still use the timerangepicker but now have the results displayed in a bar chart and not a SimpleResultsTable?&lt;/P&gt;

&lt;P&gt;Also, how would I be able to specify what values I add to the x and y axis?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2010 23:33:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TimeRangePicker-Charting-Question/m-p/50052#M12017</guid>
      <dc:creator>Ant1D</dc:creator>
      <dc:date>2010-09-14T23:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: TimeRangePicker Charting Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TimeRangePicker-Charting-Question/m-p/50053#M12018</link>
      <description>&lt;P&gt;You will want to use the &lt;A href="http://www.splunk.com/base/Documentation/latest/Developer/ModuleReference#FlashChart" rel="nofollow"&gt;FlashChart&lt;/A&gt; module instead of the SimpleResultsTable module. Then use the &lt;A href="http://www.splunk.com/base/Documentation/latest/Developer/ModuleReference#HiddenChartFormatter" rel="nofollow"&gt;HiddenChartFormatter&lt;/A&gt; to format the chart. You can use the &lt;CODE&gt;chart&lt;/CODE&gt; param to specify a &lt;CODE&gt;bar&lt;/CODE&gt; chart.&lt;/P&gt;

&lt;P&gt;Take a look at the other &lt;A href="http://www.splunk.com/base/Documentation/latest/Developer/ModuleReference#Charting" rel="nofollow"&gt;chart formatting modules&lt;/A&gt; in the module reference and you will see there is a plethora of options to customize your charts.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2010 00:32:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TimeRangePicker-Charting-Question/m-p/50053#M12018</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2010-09-15T00:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: TimeRangePicker Charting Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TimeRangePicker-Charting-Question/m-p/50054#M12019</link>
      <description>&lt;P&gt;replace your SimpleResultsTable with this: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="HiddenChartFormatter"&amp;gt;
  &amp;lt;param name="charting.chart"&amp;gt;bar&amp;lt;/param&amp;gt;
  &amp;lt;module name="FlashChart"&amp;gt;
  &amp;lt;/module&amp;gt;
&amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Check out the &lt;A href="http://www.splunk.com/base/Documentation/latest/Developer/ModuleReference#Charting" rel="nofollow"&gt;module reference&lt;/A&gt; page on splunk.com,  and you can always go to &lt;A href="http:/en-US/modules" target="test_blank"&gt;http:///en-US/modules&lt;/A&gt; in your browser, on any splunk install to read the autogenerated docs for the modules and params they have. &lt;/P&gt;

&lt;P&gt;(and you can go to /en-US/info for a couple other useful things to.) &lt;/P&gt;

&lt;P&gt;And even better than all this would be to download the "UI examples for 4.1" app from splunkbase.  If you're more into learning from hands-on examples you might find it a better resource than the docs.  It has 50 or 60 examples at differing levels and in different areas and you can tweak them and learn by experimenting. &lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2010 00:48:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TimeRangePicker-Charting-Question/m-p/50054#M12019</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2010-09-15T00:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: TimeRangePicker Charting Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TimeRangePicker-Charting-Question/m-p/50055#M12020</link>
      <description>&lt;P&gt;Thanks for the info ftk. I wish there were some examples to go with all those chart options &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2010 16:12:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TimeRangePicker-Charting-Question/m-p/50055#M12020</guid>
      <dc:creator>Ant1D</dc:creator>
      <dc:date>2010-09-15T16:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: TimeRangePicker Charting Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TimeRangePicker-Charting-Question/m-p/50056#M12021</link>
      <description>&lt;P&gt;Hey Nick, thanks for the help and thanks for the examples also &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; I'm sure they will be handy. It would be great to get some more examples in the documentation.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2010 16:15:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TimeRangePicker-Charting-Question/m-p/50056#M12021</guid>
      <dc:creator>Ant1D</dc:creator>
      <dc:date>2010-09-15T16:15:19Z</dc:date>
    </item>
  </channel>
</rss>

