<?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: Hi   I'm new to splunk,.  and I have the code to  generate a  dashboard Panel to show the top 5  Servers  with  high CPU. but I only  get 1 server at  68% .. in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Hi-I-m-new-to-splunk-and-I-have-the-code-to-generate-a-dashboard/m-p/314167#M40027</link>
    <description>&lt;P&gt;Try this (untested) search which I think may be closer to what you need:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=b2b_os sourcetype=top pctMEM=*| streamstats sum(pctMEM) as Mem |top 5 Mem | table host Mem
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 22 Jan 2018 19:37:49 GMT</pubDate>
    <dc:creator>nickhills</dc:creator>
    <dc:date>2018-01-22T19:37:49Z</dc:date>
    <item>
      <title>Hi   I'm new to splunk,.  and I have the code to  generate a  dashboard Panel to show the top 5  Servers  with  high CPU. but I only  get 1 server at  68% ..</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Hi-I-m-new-to-splunk-and-I-have-the-code-to-generate-a-dashboard/m-p/314164#M40024</link>
      <description>&lt;P&gt;index=b2b_os host=* sourcetype=top pctMEM=*| transaction host _time | streamstats window=1 global=f sum(pctMEM) as MEM | table  host  MEM |top |  dedup host   &lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 16:56:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Hi-I-m-new-to-splunk-and-I-have-the-code-to-generate-a-dashboard/m-p/314164#M40024</guid>
      <dc:creator>jampar12</dc:creator>
      <dc:date>2018-01-22T16:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hi   I'm new to splunk,.  and I have the code to  generate a  dashboard Panel to show the top 5  Servers  with  high CPU. but I only  get 1 server at  68% ..</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Hi-I-m-new-to-splunk-and-I-have-the-code-to-generate-a-dashboard/m-p/314165#M40025</link>
      <description>&lt;P&gt;Hi jampar12,&lt;/P&gt;

&lt;P&gt;please provide us with some sample events and also your &lt;CODE&gt;pctMEM=&lt;/CODE&gt; at the beginning of your search has no value assigned, as well as the host-field&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 19:27:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Hi-I-m-new-to-splunk-and-I-have-the-code-to-generate-a-dashboard/m-p/314165#M40025</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2018-01-22T19:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hi   I'm new to splunk,.  and I have the code to  generate a  dashboard Panel to show the top 5  Servers  with  high CPU. but I only  get 1 server at  68% ..</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Hi-I-m-new-to-splunk-and-I-have-the-code-to-generate-a-dashboard/m-p/314166#M40026</link>
      <description>&lt;P&gt;Also &lt;CODE&gt;|transaction&lt;/CODE&gt; with &lt;CODE&gt;_time&lt;/CODE&gt; will only group events which share the same exact timestamp - probably not what you want.&lt;/P&gt;

&lt;P&gt;Also I presume you mean memory use, rather than high CPU?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 19:33:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Hi-I-m-new-to-splunk-and-I-have-the-code-to-generate-a-dashboard/m-p/314166#M40026</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2018-01-22T19:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hi   I'm new to splunk,.  and I have the code to  generate a  dashboard Panel to show the top 5  Servers  with  high CPU. but I only  get 1 server at  68% ..</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Hi-I-m-new-to-splunk-and-I-have-the-code-to-generate-a-dashboard/m-p/314167#M40027</link>
      <description>&lt;P&gt;Try this (untested) search which I think may be closer to what you need:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=b2b_os sourcetype=top pctMEM=*| streamstats sum(pctMEM) as Mem |top 5 Mem | table host Mem
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Jan 2018 19:37:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Hi-I-m-new-to-splunk-and-I-have-the-code-to-generate-a-dashboard/m-p/314167#M40027</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2018-01-22T19:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hi   I'm new to splunk,.  and I have the code to  generate a  dashboard Panel to show the top 5  Servers  with  high CPU. but I only  get 1 server at  68% ..</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Hi-I-m-new-to-splunk-and-I-have-the-code-to-generate-a-dashboard/m-p/314168#M40028</link>
      <description>&lt;P&gt;thank  you  .. it's working  good  now ..  Just  one more small  ask .. &lt;/P&gt;

&lt;P&gt;I need to   add    if the Mem   &amp;gt;=  10 %  then  turn green  and if  it's  &amp;gt;=50&amp;amp; turn yellow and if it's  90%  turn red ..&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 20:43:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Hi-I-m-new-to-splunk-and-I-have-the-code-to-generate-a-dashboard/m-p/314168#M40028</guid>
      <dc:creator>jampar12</dc:creator>
      <dc:date>2018-01-22T20:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hi   I'm new to splunk,.  and I have the code to  generate a  dashboard Panel to show the top 5  Servers  with  high CPU. but I only  get 1 server at  68% ..</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Hi-I-m-new-to-splunk-and-I-have-the-code-to-generate-a-dashboard/m-p/314169#M40029</link>
      <description>&lt;P&gt;You can use rangemap to set the target colours for a given result, but this wont colour a table for you (you would need to modify the CSS for that) but if your using charts, this should set the colours as per your definitions&lt;/P&gt;

&lt;P&gt;...| rangemap field=Mem green=0-49 yellow=50-89 default=red|...&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.1/SearchReference/Rangemap"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.1/SearchReference/Rangemap&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 21:36:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Hi-I-m-new-to-splunk-and-I-have-the-code-to-generate-a-dashboard/m-p/314169#M40029</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2018-01-22T21:36:46Z</dc:date>
    </item>
  </channel>
</rss>

