<?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: Showing marker gauge via advanced xml in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35192#M1546</link>
    <description>&lt;P&gt;I did notice something about your search.  If you read about the HiddenSearch module is says:&lt;/P&gt;

&lt;P&gt;HiddenSearch - Runs a search behind the scenes. Passes results on to any children. You must set autoRun to true so that the search actually runs.&lt;/P&gt;

&lt;P&gt;Try adding &lt;CODE&gt;autoRun="True"&lt;/CODE&gt; like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;module name="HiddenSearch" layoutPanel="panel_row2_col1_grp1" group="Western Canada" autoRun="True"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 14 Dec 2011 21:10:44 GMT</pubDate>
    <dc:creator>gnovak</dc:creator>
    <dc:date>2011-12-14T21:10:44Z</dc:date>
    <item>
      <title>Showing marker gauge via advanced xml</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35189#M1543</link>
      <description>&lt;P&gt;I'm having trouble getting a marker gauge to show up in an advanced view. I'm not clear on how to specify the time range in the HiddenSearch parameter and I'm not clear on where to place the HiddenChartFormatter. And I'm not sure if I'm missing something else that's causing the gauge to not show up.&lt;/P&gt;

&lt;P&gt;Here's the xml that I've put together:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="StaticContentSample" layoutPanel="panel_row2_col1" group="QBLM"&amp;gt;
  &amp;lt;param name="text"&amp;gt;Status&amp;lt;/param&amp;gt;
  &amp;lt;module name="HiddenSearch" layoutPanel="panel_row2_col1_grp1" group="Western Canada"&amp;gt;
    &amp;lt;param name="search"&amp;gt;index=sample earliest=04/08/2011:0:0:0 | stats count as tally | gauge tally 0 1000 2000 3000&amp;lt;/param&amp;gt;
    &amp;lt;module name="HiddenChartFormatter"&amp;gt;
      &amp;lt;param name="charting.chart"&amp;gt;markerGauge&amp;lt;/param&amp;gt;
      &amp;lt;param name="charting.chart.style"&amp;gt;minimal&amp;lt;/param&amp;gt;
      &amp;lt;module name="FlashChart"&amp;gt;
        &amp;lt;param name="width"&amp;gt;16%&amp;lt;/param&amp;gt;
        &amp;lt;param name="height"&amp;gt;200px&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;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is the search string correct? The original search intent is in the screen shot.&lt;IMG src="http://www.cspskickinghorse.ca/images/search_string1.jpg" alt="Search string in basic search" /&gt;&lt;BR /&gt;
I think I have it right with the earliest keyword and placing it with the index, but I'm not sure.&lt;/P&gt;

&lt;P&gt;And what about the nesting of HiddenChartFormatter and FlashChart? Is that right? Probably not because the view shows a blank where the gauge should be. But I can't find a straightforward example to compare against.&lt;/P&gt;

&lt;P&gt;Is there something else that I'm missing that's causing the gauge to not show up?!&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Edit&lt;/STRONG&gt;&lt;BR /&gt;
Here's the resulting output from the Advanced XML view. You can see the sizing bar, so I know that the chart module is there, just nothing is showing up.&lt;BR /&gt;
&lt;IMG src="http://www.cspskickinghorse.ca/images/search_result.jpg" alt="Resulting screen" /&gt;&lt;/P&gt;

&lt;P&gt;Here's a screenshot of the search in a basic search. There are 2787 matching items, so the gauge in the advanced xml version should work.&lt;BR /&gt;
&lt;IMG src="http://www.cspskickinghorse.ca/images/basic_result.jpg" alt="Basic search result" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2011 17:53:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35189#M1543</guid>
      <dc:creator>mmelnick</dc:creator>
      <dc:date>2011-12-14T17:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Showing marker gauge via advanced xml</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35190#M1544</link>
      <description>&lt;P&gt;What do the results of the search look like?  Is it just a single number?  Can you provide an example of the results you get from the search you provided before the | gauge?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2011 20:36:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35190#M1544</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2011-12-14T20:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Showing marker gauge via advanced xml</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35191#M1545</link>
      <description>&lt;P&gt;Thanks for getting back to me gnovak. I edited my post to include screenshots of what comes out and what the basic search produces.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2011 21:03:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35191#M1545</guid>
      <dc:creator>mmelnick</dc:creator>
      <dc:date>2011-12-14T21:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Showing marker gauge via advanced xml</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35192#M1546</link>
      <description>&lt;P&gt;I did notice something about your search.  If you read about the HiddenSearch module is says:&lt;/P&gt;

&lt;P&gt;HiddenSearch - Runs a search behind the scenes. Passes results on to any children. You must set autoRun to true so that the search actually runs.&lt;/P&gt;

&lt;P&gt;Try adding &lt;CODE&gt;autoRun="True"&lt;/CODE&gt; like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;module name="HiddenSearch" layoutPanel="panel_row2_col1_grp1" group="Western Canada" autoRun="True"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Dec 2011 21:10:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35192#M1546</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2011-12-14T21:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Showing marker gauge via advanced xml</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35193#M1547</link>
      <description>&lt;P&gt;That did it. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2011 21:15:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35193#M1547</guid>
      <dc:creator>mmelnick</dc:creator>
      <dc:date>2011-12-14T21:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Showing marker gauge via advanced xml</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35194#M1548</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  Great!  Glad to help!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2011 21:15:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35194#M1548</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2011-12-14T21:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Showing marker gauge via advanced xml</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35195#M1549</link>
      <description>&lt;P&gt;This really comes in handy in a jam.  I love reading this.  Helped me try new things.  Bookmark this and make sure you pick your version of splunk for the current manual.  &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.2.1/Developer/ModuleReference"&gt;http://docs.splunk.com/Documentation/Splunk/4.2.1/Developer/ModuleReference&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2011 21:16:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Showing-marker-gauge-via-advanced-xml/m-p/35195#M1549</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2011-12-14T21:16:52Z</dc:date>
    </item>
  </channel>
</rss>

