<?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 calculate memory utilization with perfmon KPI's ? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356863#M3128</link>
    <description>&lt;P&gt;Thanks for the response! &lt;/P&gt;

&lt;P&gt;I see the search query is for 1 host. What should be done if I have multiple hosts which has different static memory allocated? being new to splunk I am kind of halt! &lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 16:57:04 GMT</pubDate>
    <dc:creator>pvbharath</dc:creator>
    <dc:date>2020-02-21T16:57:04Z</dc:date>
    <item>
      <title>How to calculate memory utilization with perfmon KPI's ?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356858#M3123</link>
      <description>&lt;P&gt;Hi I want to show avg memory utilization of windows servers using Perfom KPI's. Below are the perfmon kpi's avilable&lt;/P&gt;

&lt;P&gt;Perfmon: Memory &lt;BR /&gt;
Perfmon:Available Memory&lt;/P&gt;

&lt;P&gt;How do i calculate.. Please help with the query&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 14:28:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356858#M3123</guid>
      <dc:creator>sreelakshmi123</dc:creator>
      <dc:date>2017-03-15T14:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate memory utilization with perfmon KPI's ?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356859#M3124</link>
      <description>&lt;P&gt;try that:&lt;BR /&gt;
index = *  sourcetype="Perfmon:Memory" counter="Available MBytes" | timechart avg(Value) by host&lt;BR /&gt;
hope  it helps&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 18:41:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356859#M3124</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-03-15T18:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate memory utilization with perfmon KPI's ?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356860#M3125</link>
      <description>&lt;P&gt;Since Total Memory is a static number, you can go either the way, Below is the search, assumes you are pulling from Perfmon:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=perfmon sourcetype=perfmon
 object="Memory"    (counter="Memory" OR counter="Available Memory")
| eval total=if(counter="Memory",Value,"NA")
| stats avg(Value) as  avgAvailable latest(total)  as total by object
| eval MemoryUtilization=round((total-avgAvailable)/total*100,1)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if memory is static value, you can put in your search as:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=perfmon sourcetype="Perfmon" object="Memory" counter="Available Memory"
| eval total=6144
| stats avg(Value) as  avgAvailable by object
| eval MemoryUtilization=round((total-avgAvailable)/total*100,1)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;please accept it as an answer if you liked it  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 21:36:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356860#M3125</guid>
      <dc:creator>akocak</dc:creator>
      <dc:date>2019-03-19T21:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate memory utilization with perfmon KPI's ?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356861#M3126</link>
      <description>&lt;P&gt;This should work, how about if we have multiple hosts and each host has static value? Kindly help. Thank you.  &lt;/P&gt;

&lt;P&gt;Aside, is there a way to find the total memory via search query itself?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 20:08:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356861#M3126</guid>
      <dc:creator>pvbharath</dc:creator>
      <dc:date>2020-02-20T20:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate memory utilization with perfmon KPI's ?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356862#M3127</link>
      <description>&lt;P&gt;I believe answer satisfy both questions. However, feel free to explain your question further. &lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 14:42:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356862#M3127</guid>
      <dc:creator>akocak</dc:creator>
      <dc:date>2020-02-21T14:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate memory utilization with perfmon KPI's ?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356863#M3128</link>
      <description>&lt;P&gt;Thanks for the response! &lt;/P&gt;

&lt;P&gt;I see the search query is for 1 host. What should be done if I have multiple hosts which has different static memory allocated? being new to splunk I am kind of halt! &lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 16:57:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356863#M3128</guid>
      <dc:creator>pvbharath</dc:creator>
      <dc:date>2020-02-21T16:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate memory utilization with perfmon KPI's ?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356864#M3129</link>
      <description>&lt;PRE&gt;&lt;CODE&gt; index=perfmon sourcetype=perfmon
  object="Memory"    (counter="Memory" OR counter="Available Memory")
 | eval total=if(counter="Memory",Value,"NA")
 | stats avg(Value) as  avgAvailable latest(total)  as total by host object
 | eval MemoryUtilization=round((total-avgAvailable)/total*100,1)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Adding host to by clause of stats should be sufficient. &lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 22:48:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-memory-utilization-with-perfmon-KPI-s/m-p/356864#M3129</guid>
      <dc:creator>akocak</dc:creator>
      <dc:date>2020-02-21T22:48:32Z</dc:date>
    </item>
  </channel>
</rss>

