<?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 Question about perfmon search in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Question-about-perfmon-search/m-p/64166#M12895</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;As we know that in Splunk Window application, we can use the search:&lt;BR /&gt;
source=WMI:Memory OR source=WMI:CPUTime OR source=WMI:LocalPhysicalDisk | timechart avg(PercentProcessorTime) as "CPU",avg(PercentCommittedBytesInUse) as "Memory",avg(PercentDiskTime) as "Disk"&lt;BR /&gt;
to get performance snapshot by using WMI performance data format&lt;BR /&gt;
But with performance data got from perfmon, the structure is different, and all have the same field called "Value" for each counter of specific instance. For ex:&lt;/P&gt;

&lt;P&gt;source="Perfmon:CPUTime"&lt;BR /&gt;
collection=CPUTime&lt;BR /&gt;
object=Processor&lt;BR /&gt;
counter="% Processor Time"&lt;BR /&gt;
instance=_Total&lt;BR /&gt;
Value=33.697347893915754&lt;/P&gt;

&lt;P&gt;source="Perfmon:Memory"&lt;BR /&gt;
collection=Memory&lt;BR /&gt;
object=Memory&lt;BR /&gt;
counter="% Committed Bytes In Use"&lt;BR /&gt;
Value=34.116872992745115&lt;/P&gt;

&lt;P&gt;Can you suggest me how to do a query that gets the same result as the search above but on perfmon data ?&lt;/P&gt;</description>
    <pubDate>Tue, 18 Sep 2012 23:57:08 GMT</pubDate>
    <dc:creator>sieutruc</dc:creator>
    <dc:date>2012-09-18T23:57:08Z</dc:date>
    <item>
      <title>Question about perfmon search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Question-about-perfmon-search/m-p/64166#M12895</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;As we know that in Splunk Window application, we can use the search:&lt;BR /&gt;
source=WMI:Memory OR source=WMI:CPUTime OR source=WMI:LocalPhysicalDisk | timechart avg(PercentProcessorTime) as "CPU",avg(PercentCommittedBytesInUse) as "Memory",avg(PercentDiskTime) as "Disk"&lt;BR /&gt;
to get performance snapshot by using WMI performance data format&lt;BR /&gt;
But with performance data got from perfmon, the structure is different, and all have the same field called "Value" for each counter of specific instance. For ex:&lt;/P&gt;

&lt;P&gt;source="Perfmon:CPUTime"&lt;BR /&gt;
collection=CPUTime&lt;BR /&gt;
object=Processor&lt;BR /&gt;
counter="% Processor Time"&lt;BR /&gt;
instance=_Total&lt;BR /&gt;
Value=33.697347893915754&lt;/P&gt;

&lt;P&gt;source="Perfmon:Memory"&lt;BR /&gt;
collection=Memory&lt;BR /&gt;
object=Memory&lt;BR /&gt;
counter="% Committed Bytes In Use"&lt;BR /&gt;
Value=34.116872992745115&lt;/P&gt;

&lt;P&gt;Can you suggest me how to do a query that gets the same result as the search above but on perfmon data ?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2012 23:57:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Question-about-perfmon-search/m-p/64166#M12895</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2012-09-18T23:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Question about perfmon search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Question-about-perfmon-search/m-p/64167#M12896</link>
      <description>&lt;P&gt;I guess you could try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="Perfmon:CPUTime" collection=CPUTime object=Processor counter="% Processor Time" instance=_Total | eval PercentProcessorTime=Value | append [search source="Perfmon:Memory" collection=Memory object=Memory counter="% Committed Bytes In Use" | eval PercentCommittedBytesInUse=Value] | timechart avg(PercentProcessorTime) as "CPU",avg(PercentCommittedBytesInUse) as "Memory"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Sep 2012 13:15:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Question-about-perfmon-search/m-p/64167#M12896</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-09-19T13:15:43Z</dc:date>
    </item>
  </channel>
</rss>

