<?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 do you compare the average memory performance of 2 servers? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-the-average-memory-performance-of-2-servers/m-p/401712#M174427</link>
    <description>&lt;P&gt;You didn't provide any of your search so this is a lot harder.  But hopefully...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=blah host=HostA OR host=HostB
| eval MyThreshold=.8
| timechart avg(CPU_Percent) AS CPU, avg(MEM_Percent) AS Memory avg(MyThreshold) AS Threshold BY host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you wanted extra fanciness, you could also use perc95(CPU_Percent) to get the 95th percentile, or max(), or ... any of the &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.2.1/SearchReference/CommonStatsFunctions"&gt;other statistical and charting functions&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Happy Splunking,&lt;BR /&gt;
Rich&lt;/P&gt;</description>
    <pubDate>Fri, 23 Nov 2018 14:37:04 GMT</pubDate>
    <dc:creator>Richfez</dc:creator>
    <dc:date>2018-11-23T14:37:04Z</dc:date>
    <item>
      <title>How do you compare the average memory performance of 2 servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-the-average-memory-performance-of-2-servers/m-p/401711#M174426</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;Please help me create a query that compares cpu and memory with threshold performance in 1 month ( 4 data ) in 2 diff servers with a preview below&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6148iC788DDD7CD0301C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 08:22:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-the-average-memory-performance-of-2-servers/m-p/401711#M174426</guid>
      <dc:creator>mboiz</dc:creator>
      <dc:date>2018-11-23T08:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare the average memory performance of 2 servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-the-average-memory-performance-of-2-servers/m-p/401712#M174427</link>
      <description>&lt;P&gt;You didn't provide any of your search so this is a lot harder.  But hopefully...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=blah host=HostA OR host=HostB
| eval MyThreshold=.8
| timechart avg(CPU_Percent) AS CPU, avg(MEM_Percent) AS Memory avg(MyThreshold) AS Threshold BY host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you wanted extra fanciness, you could also use perc95(CPU_Percent) to get the 95th percentile, or max(), or ... any of the &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.2.1/SearchReference/CommonStatsFunctions"&gt;other statistical and charting functions&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Happy Splunking,&lt;BR /&gt;
Rich&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 14:37:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-the-average-memory-performance-of-2-servers/m-p/401712#M174427</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2018-11-23T14:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare the average memory performance of 2 servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-the-average-memory-performance-of-2-servers/m-p/401713#M174428</link>
      <description>&lt;P&gt;Thank you rich,&lt;/P&gt;

&lt;P&gt;that way is i want, but why the result is only threshold ? no avg preview&lt;BR /&gt;
i want to create 2 data memory &amp;amp; cpu from 2 servers with result above&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 09:04:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-the-average-memory-performance-of-2-servers/m-p/401713#M174428</guid>
      <dc:creator>mboiz</dc:creator>
      <dc:date>2018-11-26T09:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare the average memory performance of 2 servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-the-average-memory-performance-of-2-servers/m-p/401714#M174429</link>
      <description>&lt;P&gt;The result is only threshold probably because you didn't provide me with any information about &lt;STRONG&gt;your&lt;/STRONG&gt; fields.  So I made up names, like "CPU_Percent".  You have to fill those in because I don't know what they are.&lt;/P&gt;

&lt;P&gt;Your question and answers haven't made one thing clear - where are you at in this endeavor?  Do you have &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.2.1/Installation/Whatsinthismanual"&gt;Splunk installed&lt;/A&gt;, are you collecting &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.2.1/Metrics/Overview"&gt;performance metrics&lt;/A&gt; or CPU stats or whatever you need already?  &lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 14:27:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-the-average-memory-performance-of-2-servers/m-p/401714#M174429</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2018-11-26T14:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare the average memory performance of 2 servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-the-average-memory-performance-of-2-servers/m-p/401715#M174430</link>
      <description>&lt;P&gt;Has this answer helped you solve your problem?  If so, please "Accept" it so the next person stumbling across it in a search will know that this worked.&lt;/P&gt;

&lt;P&gt;If this is still unresolved, please provide more information on what's not working.&lt;/P&gt;

&lt;P&gt;If this is resolved and you've found another answer - great!  Post that here as an answer, and go ahead and mark it as Accepted!  It's OK to gather karma for yourself occasionally like that.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Dec 2018 13:07:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-the-average-memory-performance-of-2-servers/m-p/401715#M174430</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2018-12-02T13:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare the average memory performance of 2 servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-the-average-memory-performance-of-2-servers/m-p/401716#M174431</link>
      <description>&lt;P&gt;here my query&lt;/P&gt;

&lt;P&gt;host="121"  OR host="122"  sourcetype="cpu"&lt;BR /&gt;&lt;BR /&gt;
| timechart eval(round(avg(PercentUserTime),0)."%") span=w by host&lt;BR /&gt;
| eval threshold=90&lt;/P&gt;

&lt;P&gt;but graph cant appear likes on attachment&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 06:51:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-the-average-memory-performance-of-2-servers/m-p/401716#M174431</guid>
      <dc:creator>mboiz</dc:creator>
      <dc:date>2018-12-17T06:51:25Z</dc:date>
    </item>
  </channel>
</rss>

