<?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 Worker Process CPU and RAM monitoring in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/509304#M86640</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I want to monitor individual CPU and RAM of the worker processes which I get when I run&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;C:\Windows\System32\inetsrv&amp;gt;appcmd list wps&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please let me know how to onboard the CPU and RAM metrics of these worker processes.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Vedhajanani&lt;/DIV&gt;</description>
    <pubDate>Wed, 15 Jul 2020 13:34:12 GMT</pubDate>
    <dc:creator>developmenttool</dc:creator>
    <dc:date>2020-07-15T13:34:12Z</dc:date>
    <item>
      <title>Worker Process CPU and RAM monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/509304#M86640</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I want to monitor individual CPU and RAM of the worker processes which I get when I run&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;C:\Windows\System32\inetsrv&amp;gt;appcmd list wps&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please let me know how to onboard the CPU and RAM metrics of these worker processes.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Vedhajanani&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Jul 2020 13:34:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/509304#M86640</guid>
      <dc:creator>developmenttool</dc:creator>
      <dc:date>2020-07-15T13:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Worker Process CPU and RAM monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/509315#M86641</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/185937"&gt;@developmenttool&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you can create a scripted input, in other words, in Splunk it's possible to schedule and run a script taking the output directly in Splunk.&lt;/P&gt;&lt;P&gt;then you can parse the results to extract the values you want.&lt;/P&gt;&lt;P&gt;The instrauctions to do this are:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/8.0.2004/AdvancedDev/ScriptedInputsIntro" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/8.0.2004/AdvancedDev/ScriptedInputsIntro&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check in Splunkbase if there's a Technical Add-On that already does your need.&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, 15 Jul 2020 14:12:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/509315#M86641</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-15T14:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Worker Process CPU and RAM monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/509325#M86642</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;&lt;P&gt;I am thinking to keep the powershell script and scripted input as a last option if there is no native splunk capability. I have tried to enable perfmon counters and instances as wildcard and checked the logs using Splunk App for Infrastructure.&lt;/P&gt;&lt;P&gt;[perfmon://CPU]&lt;BR /&gt;counters = *&lt;BR /&gt;instances = *&lt;BR /&gt;interval = 60&lt;BR /&gt;object = Processor&lt;BR /&gt;mode = single&lt;BR /&gt;useEnglishOnly = true&lt;BR /&gt;sourcetype = PerfmonMetrics:CPU&lt;BR /&gt;index = em_metrics&lt;/P&gt;&lt;P&gt;But still I cannot find these application pools as metric names in the query&lt;/P&gt;&lt;P&gt;|mstats avg(_value) prestats=true WHERE environment="PROD" AND entity_type="Windows_Host" AND host=myhost AND metric_name=* AND&amp;nbsp; "index"="em_*" span=1m BY "host"&amp;nbsp;&lt;BR /&gt;|timechart avg(_value) as "Avg" agg=max limit=100 useother=false span=5m BY "metric_name".&lt;/P&gt;&lt;P&gt;Please let me know if there is any other native option.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vedhajanani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 14:45:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/509325#M86642</guid>
      <dc:creator>developmenttool</dc:creator>
      <dc:date>2020-07-15T14:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Worker Process CPU and RAM monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/509333#M86644</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/185937"&gt;@developmenttool&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;as I said, see in Splunkbase, TA section, if there's a TA that takes the information you need (maybe the TA-Windows is sufficient).&lt;/P&gt;&lt;P&gt;then how to deploy results is an easy following problem, the main job is to extract data.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 15:07:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/509333#M86644</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-15T15:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Worker Process CPU and RAM monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/510369#M86762</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/WindowsAddOn/8.0.0/User/Configuration" target="_blank"&gt;https://docs.splunk.com/Documentation/WindowsAddOn/8.0.0/User/Configuration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I cannot find any config which monitors the CPU and memory for worker processes&amp;nbsp;&lt;/P&gt;&lt;P&gt;So we should proceed with scripted input only right?&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.anexinet.com/blog/powershell-script-to-list-worker-processors-and-their-application-pool-names-with-memory-consumption-and-cpu-utilization/" target="_blank"&gt;https://www.anexinet.com/blog/powershell-script-to-list-worker-processors-and-their-application-pool-names-with-memory-consumption-and-cpu-utilization/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please help me if you can suggest any better native add-on which does the same.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vedhajanani&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 07:57:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/510369#M86762</guid>
      <dc:creator>developmenttool</dc:creator>
      <dc:date>2020-07-22T07:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Worker Process CPU and RAM monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/510384#M86763</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/185937"&gt;@developmenttool&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Sorry, I didn't used scripted inputs for this scope, only for others!&lt;/P&gt;&lt;P&gt;but if you well know the script to obtain your result, you can run it in Splunk inseriting the script input in inputs.conf.&lt;/P&gt;&lt;P&gt;To understand how to use scripted inputs, you can see documentation or copy and modify a scripted inputs in TA_Windows.&lt;/P&gt;&lt;P&gt;In this way the script output will be ingested in Splunk.&lt;/P&gt;&lt;P&gt;Then you have to parse the results to extract the structured informations.&lt;/P&gt;&lt;P&gt;I cannot help you in script development, I can help you in results parsing.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 09:24:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/510384#M86763</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-22T09:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Worker Process CPU and RAM monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/510425#M86767</link>
      <description>&lt;P&gt;Hii&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes. I have the working script and I can configure the scripted input as well. I would like to confirm if there is any splunk native add-on which does the same thing so that I can use the add-on itself instead of scripted input. If you confirm that there is no TA config for this, I will go with my scripted input itself.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vedhajanani&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 12:49:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/510425#M86767</guid>
      <dc:creator>developmenttool</dc:creator>
      <dc:date>2020-07-22T12:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Worker Process CPU and RAM monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/510429#M86768</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/185937"&gt;@developmenttool&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I don't know it but I cannot exclude that it exists!&lt;/P&gt;&lt;P&gt;Anyway, if you have the script you can add it to the TA_Windows ot create your own TA.&lt;/P&gt;&lt;P&gt;Then you have to parse the output.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 12:58:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/510429#M86768</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-22T12:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Worker Process CPU and RAM monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/510842#M86803</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am going with scripted inputs in my windows universal forwarder. This is my configuration in inputs:&lt;/P&gt;&lt;P&gt;[powershell://Processes-EX1]&lt;BR /&gt;disabled = false&lt;BR /&gt;script = . "C:\Program Files\SplunkUniversalForwarder\etc\apps\myapp\bin\WPSMonitor.ps1"&lt;BR /&gt;index = myindex&lt;BR /&gt;schedule = * * * * *&lt;BR /&gt;sourcetype = stdout:wps:script&lt;/P&gt;&lt;P&gt;It is entering my script WPSMonitor.ps1 but it is throwing the below error:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;ERROR&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Executing&lt;/SPAN&gt; &lt;SPAN class="t"&gt;script=.&lt;/SPAN&gt;&lt;SPAN&gt; "&lt;/SPAN&gt;&lt;SPAN class="t"&gt;C:\Program&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Files\SplunkUniversalForwarder\etc\apps\myapp\bin\WPSMonitor.ps1&lt;/SPAN&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;SPAN class="t"&gt;for&lt;/SPAN&gt; &lt;SPAN class="t"&gt;stanza=Processes-EX1&lt;/SPAN&gt; &lt;SPAN class="t"&gt;failed&lt;/SPAN&gt; &lt;SPAN class="t"&gt;with&lt;/SPAN&gt; &lt;SPAN class="t"&gt;exception=The&lt;/SPAN&gt; &lt;SPAN class="t"&gt;term&lt;/SPAN&gt;&lt;SPAN&gt; '&lt;/SPAN&gt;&lt;SPAN class="t"&gt;â&lt;/SPAN&gt;&lt;SPAN class="t"&gt;€&lt;/SPAN&gt;&lt;SPAN class="t"&gt;œ&lt;/SPAN&gt;&lt;SPAN class="t"&gt;Handle=&lt;/SPAN&gt;&lt;SPAN class="t"&gt;â&lt;/SPAN&gt;&lt;SPAN class="t"&gt;€&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&amp;#157;&lt;/SPAN&gt;&lt;SPAN&gt;' &lt;/SPAN&gt;&lt;SPAN class="t"&gt;is&lt;/SPAN&gt; &lt;SPAN class="t"&gt;not&lt;/SPAN&gt; &lt;SPAN class="t"&gt;recognized&lt;/SPAN&gt; &lt;SPAN class="t"&gt;as&lt;/SPAN&gt; &lt;SPAN class="t"&gt;the&lt;/SPAN&gt; &lt;SPAN class="t"&gt;name&lt;/SPAN&gt; &lt;SPAN class="t"&gt;of&lt;/SPAN&gt; &lt;SPAN class="t"&gt;a&lt;/SPAN&gt; &lt;SPAN class="t"&gt;cmdlet&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="t"&gt;function&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="t"&gt;script&lt;/SPAN&gt; &lt;SPAN class="t"&gt;file&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="t"&gt;or&lt;/SPAN&gt; &lt;SPAN class="t"&gt;operable&lt;/SPAN&gt; &lt;SPAN class="t"&gt;program.&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Check&lt;/SPAN&gt; &lt;SPAN class="t"&gt;the&lt;/SPAN&gt; &lt;SPAN class="t"&gt;spelling&lt;/SPAN&gt; &lt;SPAN class="t"&gt;of&lt;/SPAN&gt; &lt;SPAN class="t"&gt;the&lt;/SPAN&gt; &lt;SPAN class="t"&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="t"&gt;or&lt;/SPAN&gt; &lt;SPAN class="t"&gt;if&lt;/SPAN&gt; &lt;SPAN class="t"&gt;a&lt;/SPAN&gt; &lt;SPAN class="t"&gt;path&lt;/SPAN&gt; &lt;SPAN class="t"&gt;was&lt;/SPAN&gt; &lt;SPAN class="t"&gt;included&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="t"&gt;verify&lt;/SPAN&gt; &lt;SPAN class="t"&gt;that&lt;/SPAN&gt; &lt;SPAN class="t"&gt;the&lt;/SPAN&gt; &lt;SPAN class="t"&gt;path&lt;/SPAN&gt; &lt;SPAN class="t"&gt;is&lt;/SPAN&gt; &lt;SPAN class="t"&gt;correct&lt;/SPAN&gt; &lt;SPAN class="t"&gt;and&lt;/SPAN&gt; &lt;SPAN class="t"&gt;try&lt;/SPAN&gt; &lt;SPAN class="t"&gt;again&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have used&amp;nbsp;$filter = “Handle=” + $p.Id in my script.&lt;/P&gt;&lt;P&gt;Do you have any idea on this error?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vedhajanani&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 13:33:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/510842#M86803</guid>
      <dc:creator>developmenttool</dc:creator>
      <dc:date>2020-07-24T13:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Worker Process CPU and RAM monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/510844#M86804</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/185937"&gt;@developmenttool&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Sorry, I'm not an expert in scripting!&lt;/P&gt;&lt;P&gt;only one dubt: the cron scheduling executes the script every minute, are you sure?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 13:40:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Worker-Process-CPU-and-RAM-monitoring/m-p/510844#M86804</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-24T13:40:11Z</dc:date>
    </item>
  </channel>
</rss>

