<?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: CPU &amp;amp; MEMORY utilization in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/CPU-amp-MEMORY-utilization/m-p/656771#M226842</link>
    <description>&lt;P&gt;To get help about data analysis, you want to explain what data you have (preferably with text illustration), key characteristics of data, illustrate your desired output, and the logic between data and output.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2023 06:29:53 GMT</pubDate>
    <dc:creator>yuanliu</dc:creator>
    <dc:date>2023-09-06T06:29:53Z</dc:date>
    <item>
      <title>CPU &amp; MEMORY utilization</title>
      <link>https://community.splunk.com/t5/Splunk-Search/CPU-amp-MEMORY-utilization/m-p/656765#M226837</link>
      <description>&lt;P&gt;HI Team,&lt;/P&gt;&lt;P&gt;how to write search query for cpu &amp;amp; memory utilization&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help on this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 05:46:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/CPU-amp-MEMORY-utilization/m-p/656765#M226837</guid>
      <dc:creator>lucky</dc:creator>
      <dc:date>2023-09-06T05:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: CPU &amp; MEMORY utilization</title>
      <link>https://community.splunk.com/t5/Splunk-Search/CPU-amp-MEMORY-utilization/m-p/656771#M226842</link>
      <description>&lt;P&gt;To get help about data analysis, you want to explain what data you have (preferably with text illustration), key characteristics of data, illustrate your desired output, and the logic between data and output.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 06:29:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/CPU-amp-MEMORY-utilization/m-p/656771#M226842</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2023-09-06T06:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: CPU &amp; MEMORY utilization</title>
      <link>https://community.splunk.com/t5/Splunk-Search/CPU-amp-MEMORY-utilization/m-p/656772#M226843</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/245717"&gt;@lucky&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;as also&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;&amp;nbsp;asked, you should better desctibe your requirement:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;did you already ingested data?&lt;/LI&gt;&lt;LI&gt;did you installed the Add-Ons to correctly parse data?&lt;/LI&gt;&lt;LI&gt;are you speaking of Windows or Linux systems,&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Anyway the answer depends on these information.&lt;/P&gt;&lt;P&gt;Supponing that you are speaking of windows systems, that you already installed the requested Add-On (Splunk_TA_Windows) and that you already ingested the requested data (perfmon:CPU and perfmon:Memory), you could run something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=windows sourcetype=WinHostMon Type=Processor $host$ 
| eval host=upper(host)
| dedup host 
| sort host
| table Name NumberOfCores Architecture ClockSpeedMHz Manufacturer
| rename name AS CPU  Manufacturer AS "CPU Manufacturer"&lt;/LI-CODE&gt;&lt;P&gt;and&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=windows sourcetype=WinHostMon Type=OperatingSystem $host$
| eval host=upper(host)
| dedup host 
| sort host 
| eval 
   FreePhysicalMemoryGB=FreePhysicalMemoryKB/1024/1024,
   FreeVirtualMemoryGB=FreeVirtualMemoryKB/1024/1024,
   TotalPhysicalMemoryGB=TotalPhysicalMemoryKB/1024/1024,
   TotalVirtualMemoryGB=TotalVirtualMemoryKB/1024/1024,
   Virtual_mem_free_percent=FreeVirtualMemoryKB/TotalVirtualMemoryKB*100
| table FreePhysicalMemoryGB TotalPhysicalMemoryGB mem_free_percent FreeVirtualMemoryGB TotalVirtualMemoryGB Virtual_mem_free_percent  
| rename FreePhysicalMemoryGB AS "Free Physical Memory" TotalPhysicalMemoryGB AS "Total Physical Memory" mem_free_percent AS "Free Physical Memory%" FreeVirtualMemoryGB AS "Free Virtual Memory" TotalVirtualMemoryGB AS "Total Virtual Memory" Virtual_mem_free_percent AS "Free Virtual Memory%"&lt;/LI-CODE&gt;&lt;P&gt;to adapt to your requirements.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 06:40:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/CPU-amp-MEMORY-utilization/m-p/656772#M226843</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-09-06T06:40:22Z</dc:date>
    </item>
  </channel>
</rss>

