<?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: Internal logs post search * for dashboard refresh in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Internal-logs-post-search-for-dashboard-refresh/m-p/93332#M6323</link>
    <description>&lt;P&gt;OK.  Just remove this param from your Switcher module:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="requiresDispatch"&amp;gt;True&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Just delete it entirely.   That param is forcing a dispatch right where the Switcher is, and since there's neither a search nor a savedsearch defined upstream from that point, the framework is dispatching a "*" search over all time.  Remove that one param and this dispatched search will go away.  Also the removal thereof will not have any other effect on anything that I can see.&lt;/P&gt;

&lt;P&gt;You're already using Sideview Utils 2.X (looking at your module config), and I think after this experience, you'll get a greater understanding by re-reading the "Introduction to Advanced XML" page, aka "framework_intro".  It casts light onthe upstream/downstream module definition, as well as the "how/when/where/why does the Splunk UI framework dispatch searches" question. &lt;/P&gt;</description>
    <pubDate>Sun, 14 Jul 2013 10:33:02 GMT</pubDate>
    <dc:creator>sideview</dc:creator>
    <dc:date>2013-07-14T10:33:02Z</dc:date>
    <item>
      <title>Internal logs post search * for dashboard refresh</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Internal-logs-post-search-for-dashboard-refresh/m-p/93329#M6320</link>
      <description>&lt;P&gt;When a user keeps a dashboard/view which has auto refresh open, the internal logs(_internal) will have search * as an entry in sourcetype=searches against that user each time the dashboard get refreshed(Query that is being used in dashboard is not just *)&lt;/P&gt;

&lt;P&gt;Is there a way to avoid this or to differentiate the actual search query when the user just types * in search bar(flash timeline)?&lt;/P&gt;

&lt;P&gt;Here is my xml&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;
&lt;VIEW autocancelinterval="90" ispersistable="true" issticky="true" isvisible="true" objectmode="SimpleForm" onunloadcanceljobs="true" template="dashboard.html"&gt;
  &lt;LABEL&gt;Events&lt;/LABEL&gt;
  &lt;MODULE name="SideviewUtils" layoutpanel="appHeader"&gt;&lt;/MODULE&gt;
  &lt;MODULE name="AccountBar" layoutpanel="appHeader"&gt;&lt;/MODULE&gt;
  &lt;MODULE name="AppBar" layoutpanel="navigationHeader"&gt;&lt;/MODULE&gt;
  &lt;MODULE name="Message" layoutpanel="messaging"&gt;
    &lt;OBJECT&gt;&lt;PARAM name="filter" /&gt;*
    &lt;PARAM name="clearOnJobDispatch" /&gt;False
    &lt;PARAM name="maxSize" /&gt;1
  &lt;/OBJECT&gt;&lt;/MODULE&gt;
  &lt;MODULE name="Message" layoutpanel="navigationHeader"&gt;
    &lt;OBJECT&gt;&lt;PARAM name="filter" /&gt;splunk.search.job
    &lt;PARAM name="clearOnJobDispatch" /&gt;True
    &lt;PARAM name="maxSize" /&gt;1
    &lt;PARAM name="level" /&gt;warn
  &lt;/OBJECT&gt;&lt;/MODULE&gt;
  &lt;MODULE name="HTML" layoutpanel="viewHeader"&gt;
    &lt;OBJECT&gt;&lt;PARAM name="html" /&gt;    
     
    &amp;lt;script type="text/javascript"&amp;gt;
      &amp;lt;!--
        var timeoutPeriod=120000;
        var interval = setInterval(refreshPage, timeoutPeriod);
        function refreshPage() {
            if ($$("input[name=autoRefreshCheckboxes]").is(":checked")) {
                location.reload(true);
            }
        } 
      //--&amp;gt;
    &amp;lt;/script&amp;gt;
      
    &amp;lt;div style="float:left"&amp;gt;
      &amp;lt;h2&amp;gt;Summary&amp;lt;/h2&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div style="float:right"&amp;gt;  
      Auto-Refresh: &amp;lt;input type="checkbox" name="autoRefreshCheckboxes" checked="true"&amp;gt;  
    &amp;lt;/div&amp;gt;
  &lt;/OBJECT&gt;&lt;/MODULE&gt;
  &lt;MODULE name="URLLoader" layoutpanel="mainSearchControls" autorun="True"&gt;
    &lt;OBJECT&gt;&lt;PARAM name="keepURLUpdated" /&gt;True
    &lt;MODULE name="Checkbox" layoutpanel="mainSearchControls"&gt;
      &lt;PARAM name="checked" /&gt;True
      &lt;PARAM name="name" /&gt;ACTIVE_DARK
      &lt;PARAM name="float" /&gt;left
      &lt;PARAM name="label" /&gt;Active Pod
      &lt;PARAM name="onValue" /&gt;ACTIVE
      &lt;PARAM name="offValue" /&gt;DARK
      &lt;MODULE name="Switcher" group=" "&gt;
        &lt;PARAM name="selectedGroup" /&gt;$ACTIVE_DARK$
        &lt;PARAM name="requiresDispatch" /&gt;True
        &lt;MODULE name="NullModule" group="ACTIVE"&gt;
          &lt;MODULE name="HiddenSavedSearch" layoutpanel="panel_row1_col1" group="Events A (Failures / Volume)"&gt;
            &lt;PARAM name="savedSearch" /&gt;events_app_a
            &lt;PARAM name="useHistory" /&gt;auto            
            &lt;MODULE name="SimpleResultsTable" layoutpanel="panel_row1_col1"&gt;
              &lt;PARAM name="count" /&gt;200
              &lt;PARAM name="drilldown" /&gt;none
              &lt;PARAM name="displayRowNumbers" /&gt;off              
              &lt;MODULE name="Redirector"&gt;
                &lt;PARAM name="url" /&gt;$click.fields.row 5$
                &lt;PARAM name="popup" /&gt;false
                &lt;PARAM name="arg.pod" /&gt;$click.name2$
              &lt;/MODULE&gt;
            &lt;/MODULE&gt;
            &lt;MODULE name="HTML" layoutpanel="mainSearchControls" group="testing"&gt;
              &lt;PARAM name="html" /&gt;&amp;lt;div class="TimeRange"&amp;gt;      
       ACTIVE PODS - Results $results.timeRange.label$
      &amp;lt;/div&amp;gt;
            &lt;/MODULE&gt;
          &lt;/MODULE&gt;
          &lt;MODULE name="HiddenSavedSearch" layoutpanel="panel_row3_col1" group="Top 12 Tech Alarm Events"&gt;
            &lt;PARAM name="savedSearch" /&gt;top_reason
            &lt;PARAM name="useHistory" /&gt;auto            
            &lt;MODULE name="SimpleResultsTable" layoutpanel="panel_row3_col1"&gt;
              &lt;PARAM name="count" /&gt;12
              &lt;PARAM name="drilldown" /&gt;none
              &lt;PARAM name="displayRowNumbers" /&gt;off
            &lt;/MODULE&gt;
          &lt;/MODULE&gt;
        &lt;/MODULE&gt;
        &lt;MODULE name="NullModule" group="DARK"&gt;
          &lt;MODULE name="HiddenSavedSearch" layoutpanel="panel_row1_col1" group="Events A Dark (Failures / Volume)"&gt;
            &lt;PARAM name="savedSearch" /&gt;events_app_a_dark
            &lt;PARAM name="useHistory" /&gt;auto            
            &lt;MODULE name="SimpleResultsTable" layoutpanel="panel_row1_col1"&gt;
              &lt;PARAM name="count" /&gt;200
              &lt;PARAM name="drilldown" /&gt;none
              &lt;PARAM name="displayRowNumbers" /&gt;off              
              &lt;MODULE name="Redirector"&gt;
                &lt;PARAM name="url" /&gt;$click.fields.row 5$
                &lt;PARAM name="popup" /&gt;false
                &lt;PARAM name="arg.pod" /&gt;$click.name2$
              &lt;/MODULE&gt;
            &lt;/MODULE&gt;
            &lt;MODULE name="HTML" layoutpanel="mainSearchControls" group="testing"&gt;
              &lt;PARAM name="html" /&gt;&amp;lt;div class="TimeRange"&amp;gt;
       DARK PODS - Results $results.timeRange.label$
      &amp;lt;/div&amp;gt;
            &lt;/MODULE&gt;
          &lt;/MODULE&gt;          
          &lt;MODULE name="HiddenSavedSearch" layoutpanel="panel_row3_col1" group="Top 12 Tech Alarm Events"&gt;
            &lt;PARAM name="savedSearch" /&gt;top_reason_dark
            &lt;PARAM name="useHistory" /&gt;auto            
            &lt;MODULE name="SimpleResultsTable" layoutpanel="panel_row3_col1"&gt;
              &lt;PARAM name="count" /&gt;12
              &lt;PARAM name="drilldown" /&gt;none
              &lt;PARAM name="displayRowNumbers" /&gt;off
            &lt;/MODULE&gt;
          &lt;/MODULE&gt;
        &lt;/MODULE&gt;
      &lt;/MODULE&gt;
    &lt;/MODULE&gt;    
    &lt;MODULE name="HiddenSavedSearch" layoutpanel="panel_row1_col2" group="Events B (Failures / Volume)"&gt;
      &lt;PARAM name="savedSearch" /&gt;eventS_app_b
      &lt;PARAM name="useHistory" /&gt;auto
      &lt;MODULE name="JobProgressIndicator"&gt;&lt;/MODULE&gt;
      &lt;MODULE name="SimpleResultsTable" layoutpanel="panel_row1_col2"&gt;
        &lt;PARAM name="count" /&gt;100
        &lt;PARAM name="drilldown" /&gt;none
        &lt;PARAM name="displayRowNumbers" /&gt;off
        &lt;MODULE name="Redirector"&gt;
          &lt;PARAM name="url" /&gt;$click.fields.row 5$
          &lt;PARAM name="popup" /&gt;false
          &lt;PARAM name="arg.pod" /&gt;$click.name2$
        &lt;/MODULE&gt;
      &lt;/MODULE&gt;
    &lt;/MODULE&gt;    
  &lt;/OBJECT&gt;&lt;/MODULE&gt;
&lt;/VIEW&gt;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Jul 2013 02:07:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Internal-logs-post-search-for-dashboard-refresh/m-p/93329#M6320</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2013-07-12T02:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Internal logs post search * for dashboard refresh</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Internal-logs-post-search-for-dashboard-refresh/m-p/93330#M6321</link>
      <description>&lt;P&gt;Can you post or pastebin the XML of the view? I've seen this happen several times and each case it was from the dashboard's author not fully understanding where and how the Splunk UI kicks off it's searches.   By rearranging the XML we were always able to get the "*" searches to go away and I strongly suspect we can do the same thing here.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2013 05:58:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Internal-logs-post-search-for-dashboard-refresh/m-p/93330#M6321</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-07-13T05:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Internal logs post search * for dashboard refresh</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Internal-logs-post-search-for-dashboard-refresh/m-p/93331#M6322</link>
      <description>&lt;P&gt;I've pasted my xml/view&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2013 03:26:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Internal-logs-post-search-for-dashboard-refresh/m-p/93331#M6322</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2013-07-14T03:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Internal logs post search * for dashboard refresh</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Internal-logs-post-search-for-dashboard-refresh/m-p/93332#M6323</link>
      <description>&lt;P&gt;OK.  Just remove this param from your Switcher module:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="requiresDispatch"&amp;gt;True&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Just delete it entirely.   That param is forcing a dispatch right where the Switcher is, and since there's neither a search nor a savedsearch defined upstream from that point, the framework is dispatching a "*" search over all time.  Remove that one param and this dispatched search will go away.  Also the removal thereof will not have any other effect on anything that I can see.&lt;/P&gt;

&lt;P&gt;You're already using Sideview Utils 2.X (looking at your module config), and I think after this experience, you'll get a greater understanding by re-reading the "Introduction to Advanced XML" page, aka "framework_intro".  It casts light onthe upstream/downstream module definition, as well as the "how/when/where/why does the Splunk UI framework dispatch searches" question. &lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2013 10:33:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Internal-logs-post-search-for-dashboard-refresh/m-p/93332#M6323</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-07-14T10:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Internal logs post search * for dashboard refresh</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Internal-logs-post-search-for-dashboard-refresh/m-p/93333#M6324</link>
      <description>&lt;P&gt;Thanks so much.. This worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2013 15:07:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Internal-logs-post-search-for-dashboard-refresh/m-p/93333#M6324</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2013-07-15T15:07:20Z</dc:date>
    </item>
  </channel>
</rss>

