<?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 to change parameters of up/down? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279662#M32924</link>
    <description>&lt;P&gt;OK, will continue this thread then.  &lt;/P&gt;

&lt;P&gt;Thanks again.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2016 19:03:13 GMT</pubDate>
    <dc:creator>reswob4</dc:creator>
    <dc:date>2016-09-16T19:03:13Z</dc:date>
    <item>
      <title>How to change parameters of up/down?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279653#M32915</link>
      <description>&lt;P&gt;Can you change the way this works so that if the web page returns a 403, the page is up and the light is green?  and only shows red if the page doesn't return anything or if the page returns a 404 or some 500 error?&lt;/P&gt;

&lt;P&gt;Is there something in the source code I can modify to do this?&lt;/P&gt;

&lt;P&gt;If not, no problem, I can get this to work other ways, I just wanted to know if I could use this app....&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 12:51:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279653#M32915</guid>
      <dc:creator>reswob4</dc:creator>
      <dc:date>2016-09-16T12:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to change parameters of up/down?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279654#M32916</link>
      <description>&lt;P&gt;Which dashboard or panel or saved search are you speaking of?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 13:10:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279654#M32916</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-09-16T13:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to change parameters of up/down?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279655#M32917</link>
      <description>&lt;P&gt;Website Monitoring  &lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/1493/#/overview"&gt;https://splunkbase.splunk.com/app/1493/#/overview&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In the config, all you do is enter the url to monitor.  On the surface, there doesn't seem to be a place to change the parameters of what you can consider up or down.&lt;/P&gt;

&lt;P&gt;And yes, defining a 403 as up may seem odd, but..... In this case, I'm just the tech grunt.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 13:12:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279655#M32917</guid>
      <dc:creator>reswob4</dc:creator>
      <dc:date>2016-09-16T13:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to change parameters of up/down?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279656#M32918</link>
      <description>&lt;P&gt;Oh OK... but which dashboard, panel, saved search, or report in the Website Monitoring app do you want to have a green light for 403s?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 13:16:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279656#M32918</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-09-16T13:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to change parameters of up/down?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279657#M32919</link>
      <description>&lt;P&gt;Maybe you can create a screenshot and circle what you want to be green instead of red.  Just make sure the screenshot helps someone identify what dashboard you're on.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 13:19:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279657#M32919</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-09-16T13:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to change parameters of up/down?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279658#M32920</link>
      <description>&lt;P&gt;So I'm going to steal the example jpg from their wiki:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://lukemurphey.net/attachments/download/243/screenshot_small.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Notice how it shows 200 as green.  I'd like it to not show the number, but only show GREEN if I get a 403 back.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 13:28:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279658#M32920</guid>
      <dc:creator>reswob4</dc:creator>
      <dc:date>2016-09-16T13:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to change parameters of up/down?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279659#M32921</link>
      <description>&lt;P&gt;Try editing this C:\Program Files\Splunk\etc\apps\website_monitoring\appserver\static\WebsiteStatusCellRenderer.js&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;define(function(d,b,e){var c=d("underscore");var h=d("splunkjs/mvc");var g=d("jquery");var a=d("views/shared/results_table/renderers/BaseCellRenderer");var f=a.extend({canRender:function(i){return(g.inArray(i.field,["title","response_code","response_time","average"])&amp;gt;=0)},render:function(m,i){m.addClass(i.field);var j="";if(i.field=="response_code"){var l=parseInt(i.value,10);if(l&amp;gt;=400){m.addClass("failure");j="alert"}else{if(l&amp;gt;=100){m.addClass("success");j="circle-filled"}else{m.addClass("failure");j="alert"}}}else{if(i.field=="response_time"||i.field=="average"){var k=parseFloat(i.value,10);if(k&amp;gt;=1000){m.addClass("failure")}else{m.addClass("success")}}}if(j!=null){m.html(c.template('&amp;lt;i class="icon-&amp;lt;%- icon %&amp;gt;"&amp;gt; &amp;lt;/i&amp;gt;&amp;lt;%- value %&amp;gt;',{value:i.value,icon:j}))}else{m.html(i.value)}}});return f});
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to be:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;define(function(d,b,e){var c=d("underscore");var h=d("splunkjs/mvc");var g=d("jquery");var a=d("views/shared/results_table/renderers/BaseCellRenderer");var f=a.extend({canRender:function(i){return(g.inArray(i.field,["title","response_code","response_time","average"])&amp;gt;=0)},render:function(m,i){m.addClass(i.field);var j="";if(i.field=="response_code"){var l=parseInt(i.value,10);if(l!=403){m.addClass("failure");j="alert"}else{if(l=403){m.addClass("success");j="circle-filled"}else{m.addClass("failure");j="alert"}}}else{if(i.field=="response_time"||i.field=="average"){var k=parseFloat(i.value,10);if(k&amp;gt;=1000){m.addClass("failure")}else{m.addClass("success")}}}if(j!=null){m.html(c.template('&amp;lt;i class="icon-&amp;lt;%- icon %&amp;gt;"&amp;gt; &amp;lt;/i&amp;gt;&amp;lt;%- value %&amp;gt;',{value:i.value,icon:j}))}else{m.html(i.value)}}});return f});
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2016 16:01:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279659#M32921</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-09-16T16:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to change parameters of up/down?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279660#M32922</link>
      <description>&lt;P&gt;I tried this and it doesn't appear to work.&lt;/P&gt;

&lt;P&gt;BUT:  I need to do some troubleshooting.  The result now is Connection Failed which indicates it is timing out.  and then some other things (unrelated) started happening which has currently forced me to uninstall this app (when it rains it pours).  &lt;/P&gt;

&lt;P&gt;So I'm going to have to focus on those things and stop working on this.  thanks for your help.  When I get back to this I'll start a new thread.&lt;/P&gt;

&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 18:56:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279660#M32922</guid>
      <dc:creator>reswob4</dc:creator>
      <dc:date>2016-09-16T18:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to change parameters of up/down?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279661#M32923</link>
      <description>&lt;P&gt;dont start a new thread, this should have worked, it would require a splunk restart and possible clearing browser cache by pressing ctrl+f5 at same time... but if you start a new thread this one will go unanswered and it fubar's our statistics.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 19:01:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279661#M32923</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-09-16T19:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to change parameters of up/down?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279662#M32924</link>
      <description>&lt;P&gt;OK, will continue this thread then.  &lt;/P&gt;

&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 19:03:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-parameters-of-up-down/m-p/279662#M32924</guid>
      <dc:creator>reswob4</dc:creator>
      <dc:date>2016-09-16T19:03:13Z</dc:date>
    </item>
  </channel>
</rss>

