<?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 Windows High Memory Usage Per Process-Alert in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Windows-High-Memory-Usage-Per-Process-Alert/m-p/536954#M10157</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could someone please help me with the Alert for High Memory Usage Per Process&lt;/P&gt;&lt;P&gt;Whenever the memory used per process is higher that 90% then trigger an alert.&lt;/P&gt;&lt;P&gt;Below is the query which I tried but not working.&lt;/P&gt;&lt;P&gt;index="index" &amp;nbsp; sourcetype="PerfmonMk:Process" process_name="sqlservr"&lt;BR /&gt;| eval Proc_Mem_mb = process_mem_used / (1024 * 1024)&lt;BR /&gt;| fields Proc_Mem_mb process_name host _time&lt;BR /&gt;| join host [ search index="index2" sourcetype="WinHostMon" Type=OperatingSystem | eval Tot_Mem_mb = TotalPhysicalMemoryKB/1024 | fields host Tot_Mem_mb ]&lt;BR /&gt;| eval high_mem_per_proc = ( (Proc_Mem_mb/Tot_Mem_mb) * 100 )&lt;BR /&gt;| eval AlertStatus=if(high_mem_per_proc &amp;gt; 90, "Alert", "Ignore")&lt;BR /&gt;|table _time host process_name Tot_Mem_mb Proc_Mem_mb high_mem_per_proc AlertStatus&lt;BR /&gt;| search AlertStatus="Alert"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 24 Jan 2021 17:27:55 GMT</pubDate>
    <dc:creator>Supriya</dc:creator>
    <dc:date>2021-01-24T17:27:55Z</dc:date>
    <item>
      <title>Windows High Memory Usage Per Process-Alert</title>
      <link>https://community.splunk.com/t5/Alerting/Windows-High-Memory-Usage-Per-Process-Alert/m-p/536954#M10157</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could someone please help me with the Alert for High Memory Usage Per Process&lt;/P&gt;&lt;P&gt;Whenever the memory used per process is higher that 90% then trigger an alert.&lt;/P&gt;&lt;P&gt;Below is the query which I tried but not working.&lt;/P&gt;&lt;P&gt;index="index" &amp;nbsp; sourcetype="PerfmonMk:Process" process_name="sqlservr"&lt;BR /&gt;| eval Proc_Mem_mb = process_mem_used / (1024 * 1024)&lt;BR /&gt;| fields Proc_Mem_mb process_name host _time&lt;BR /&gt;| join host [ search index="index2" sourcetype="WinHostMon" Type=OperatingSystem | eval Tot_Mem_mb = TotalPhysicalMemoryKB/1024 | fields host Tot_Mem_mb ]&lt;BR /&gt;| eval high_mem_per_proc = ( (Proc_Mem_mb/Tot_Mem_mb) * 100 )&lt;BR /&gt;| eval AlertStatus=if(high_mem_per_proc &amp;gt; 90, "Alert", "Ignore")&lt;BR /&gt;|table _time host process_name Tot_Mem_mb Proc_Mem_mb high_mem_per_proc AlertStatus&lt;BR /&gt;| search AlertStatus="Alert"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 17:27:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Windows-High-Memory-Usage-Per-Process-Alert/m-p/536954#M10157</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2021-01-24T17:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Windows High Memory Usage Per Process-Alert</title>
      <link>https://community.splunk.com/t5/Alerting/Windows-High-Memory-Usage-Per-Process-Alert/m-p/536963#M10158</link>
      <description>&lt;P&gt;Please explain what "not working" means.&amp;nbsp; What is not working?&amp;nbsp; Does the query not find results or the alert not fire or something else?&amp;nbsp; Have you confirmed at least one process is using 90% of memory?&lt;/P&gt;&lt;P&gt;May I suggest these lines to replace the last four?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval high_mem_per_proc = (Proc_Mem_mb * 100)/Tot_Mem_mb
| where high_mem_per_proc &amp;gt; 90
| table _time host process_name Tot_Mem_mb Proc_Mem_mb high_mem_per_proc AlertStatus&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 24 Jan 2021 19:37:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Windows-High-Memory-Usage-Per-Process-Alert/m-p/536963#M10158</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-01-24T19:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Windows High Memory Usage Per Process-Alert</title>
      <link>https://community.splunk.com/t5/Alerting/Windows-High-Memory-Usage-Per-Process-Alert/m-p/537101#M10164</link>
      <description>&lt;DIV class="lia-message-author-avatar lia-component-author-avatar lia-component-message-view-widget-author-avatar"&gt;&lt;DIV class="UserAvatar lia-user-avatar lia-component-common-widget-user-avatar"&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-SplunkTrust lia-component-message-view-widget-author-username"&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957" target="_self"&gt;&lt;SPAN class="login-bold"&gt;@richgalloway&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;- Thank you for responding&lt;/P&gt;&lt;P&gt;Below is the screenshot of my results and high_mem_per_proc is not giving exact results&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Supriya_1-1611601707778.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12658i662BF9D8254DEB7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Supriya_1-1611601707778.png" alt="Supriya_1-1611601707778.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 19:08:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Windows-High-Memory-Usage-Per-Process-Alert/m-p/537101#M10164</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2021-01-25T19:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Windows High Memory Usage Per Process-Alert</title>
      <link>https://community.splunk.com/t5/Alerting/Windows-High-Memory-Usage-Per-Process-Alert/m-p/537209#M10165</link>
      <description>&lt;P&gt;According to my calculator, the high_mem_per_proc field is exactly what it should be.&amp;nbsp; What result are you expecting?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 19:20:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Windows-High-Memory-Usage-Per-Process-Alert/m-p/537209#M10165</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-02-02T19:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Windows High Memory Usage Per Process-Alert</title>
      <link>https://community.splunk.com/t5/Alerting/Windows-High-Memory-Usage-Per-Process-Alert/m-p/538315#M10184</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;we observed that process_mem_used data is not being sent to splunk.&lt;/P&gt;&lt;P&gt;Could you please provide Stanza to add in input.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 17:24:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Windows-High-Memory-Usage-Per-Process-Alert/m-p/538315#M10184</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2021-02-02T17:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Windows High Memory Usage Per Process-Alert</title>
      <link>https://community.splunk.com/t5/Alerting/Windows-High-Memory-Usage-Per-Process-Alert/m-p/538460#M10190</link>
      <description>&lt;P&gt;process_mem_used is a calculated field defined by the splunk_TA_nix and splunk_TA_windows apps.&amp;nbsp; It's part of the ps and Perfmon:Process sourcetypes.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 13:36:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Windows-High-Memory-Usage-Per-Process-Alert/m-p/538460#M10190</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-02-03T13:36:55Z</dc:date>
    </item>
  </channel>
</rss>

