<?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: How does Deployment Monitor Dashboard suppress time range messages? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74555#M44021</link>
    <description>&lt;P&gt;Per araitz, use this.diplayedMessages instead of this.messages&lt;/P&gt;</description>
    <pubDate>Fri, 11 Nov 2011 22:35:29 GMT</pubDate>
    <dc:creator>Archana</dc:creator>
    <dc:date>2011-11-11T22:35:29Z</dc:date>
    <item>
      <title>How does Deployment Monitor Dashboard suppress time range messages?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74552#M44018</link>
      <description>&lt;P&gt;In the Deployment Monitor App, on the main dashboard there is the Index Throughput graph - which runs the "DM indexthru today vs last week" saved search.&lt;/P&gt;

&lt;P&gt;When you view the dashboard, there are no time range messages.  I copied the dashboard's XML &amp;amp; search, and substituted my own search values (the search is essentially the same).  When I run it, however, I get the following message: "[subsearch]: Your timerange was substituted based on your search string". &lt;/P&gt;

&lt;P&gt;If I modify the XMl to have this:&lt;/P&gt;

&lt;P&gt;&lt;MODULE name="Message" layoutpanel="messaging"&gt;&lt;BR /&gt;
        &lt;OBJECT&gt;&lt;PARAM name="filter" /&gt;splunk.search.job&lt;BR /&gt;
        &lt;PARAM name="clearOnJobDispatch" /&gt;True&lt;BR /&gt;
        &lt;PARAM name="maxSize" /&gt;0&lt;BR /&gt;
    &lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;/P&gt;

&lt;P&gt;Then the error message goes away, but I think this will suppress all error messages.  My question then is this - Why does your search not show the time range message, but mine does? &lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2011 18:01:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74552#M44018</guid>
      <dc:creator>sf_user_199</dc:creator>
      <dc:date>2011-09-13T18:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: How does Deployment Monitor Dashboard suppress time range messages?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74553#M44019</link>
      <description>&lt;P&gt;This code serves pretty well. I believe the Deployment Monitor app uses the same thing or something very similar.   Paste this into &lt;CODE&gt;/etc/apps/&amp;lt;appname&amp;gt;/appserver/static/application.js&lt;/CODE&gt;.  You may have to create the file if the given app doesn't have one already,  and you have to do it in every app that you need the suppression in.  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/**
 * Customize the message module so it wont constantly be telling the user that
 * lookup tables have been loaded and written to.
 * Unfortunately this is the least evil way I was able to find to
 * override the message handling.
 */
if (Splunk.Module.Message) {
    Splunk.Module.Message= $.klass(Splunk.Module.Message, {
        getHTMLTransform: function($super){
            // Please dont tell me any 'info' about lookups, nor 'error' about entityLabelSingular, etc...
            // Thank you that is all.
            var argh = [
                {contains:"lookup", level:"info"},
                {contains:"Results written to", level:"info"},
                {contains:"entityLabelSingular", level:"error"},
                {contains:"auto-finalized", level:"info"},
                {contains:"Your timerange was substituted", level:"info"},
                {contains:"Specified field(s) missing from results", level:"warn"}
            ];
            for (var i=0,len=this.messages.length; i&amp;lt;len; i++){
                var message = this.messages[i];
                for (var j=0,jLen=argh.length;j&amp;lt;jLen;j++) {
                    if ((message.content.indexOf(argh[j]["contains"])!=-1) &amp;amp;&amp;amp; (message.level == argh[j]["level"])) {

                        this.messages.splice(i,1);
                        break;
                    }
                }
            }
            return $super();
        }
    });
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Sep 2011 02:04:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74553#M44019</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2011-09-21T02:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: How does Deployment Monitor Dashboard suppress time range messages?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74554#M44020</link>
      <description>&lt;P&gt;Nick, this code snippet produces the following error in web_service.log: &lt;BR /&gt;
2011-11-11 14:18:34,698 ERROR   [4ebd9f3ab11bb1aa90] utility:63 - name=javascript, class=Splunk.Error, lineNumber=54, message=this.messages is undefined, fileName=&lt;PATHTOAPP&gt;/application.js&lt;/PATHTOAPP&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2011 22:23:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74554#M44020</guid>
      <dc:creator>Archana</dc:creator>
      <dc:date>2011-11-11T22:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: How does Deployment Monitor Dashboard suppress time range messages?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74555#M44021</link>
      <description>&lt;P&gt;Per araitz, use this.diplayedMessages instead of this.messages&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2011 22:35:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74555#M44021</guid>
      <dc:creator>Archana</dc:creator>
      <dc:date>2011-11-11T22:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: How does Deployment Monitor Dashboard suppress time range messages?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74556#M44022</link>
      <description>&lt;P&gt;Well in 4.2.3 it's this.messages, and there is no this.displayedMessages anywhere as far as I can tell.  So I guess you're saying that you're working on the newer version and someone has changed the Message module enough where the patch doesn't work.  In that case there may be more than that one problem fwiw.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2011 22:42:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74556#M44022</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2011-11-11T22:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: How does Deployment Monitor Dashboard suppress time range messages?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74557#M44023</link>
      <description>&lt;P&gt;How do you add this code from the web?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2012 04:12:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74557#M44023</guid>
      <dc:creator>therealdpk</dc:creator>
      <dc:date>2012-10-22T04:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: How does Deployment Monitor Dashboard suppress time range messages?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74558#M44024</link>
      <description>&lt;P&gt;I'm afraid you cannot.  You have to go on the host and add it to the application.js file manually.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2012 15:49:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-does-Deployment-Monitor-Dashboard-suppress-time-range/m-p/74558#M44024</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2012-10-22T15:49:30Z</dc:date>
    </item>
  </channel>
</rss>

