<?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: Trying to chart process over time unsuccessfully with CPU query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-chart-process-over-time-unsuccessfully-with-CPU-query/m-p/306779#M160107</link>
    <description>&lt;P&gt;This seemed to work perfectly, thank you somesoni2&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2017 11:53:36 GMT</pubDate>
    <dc:creator>mightaswelby</dc:creator>
    <dc:date>2017-07-14T11:53:36Z</dc:date>
    <item>
      <title>Trying to chart process over time unsuccessfully with CPU query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-chart-process-over-time-unsuccessfully-with-CPU-query/m-p/306775#M160103</link>
      <description>&lt;P&gt;Able to get the expected value running this query, however how would I plot this over time as a timechart?&lt;/P&gt;

&lt;P&gt;sourcetype=Script:RunningProc eventtype=Security-proc1 | appendpipe [stats avg(CPUPct) as "CPU %" by Instance] | stats sum(CPU %)&lt;/P&gt;

&lt;P&gt;output: &lt;BR /&gt;
sum(CPU %)&lt;BR /&gt;
0.156074 &lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 20:32:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-chart-process-over-time-unsuccessfully-with-CPU-query/m-p/306775#M160103</guid>
      <dc:creator>mightaswelby</dc:creator>
      <dc:date>2017-07-13T20:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to chart process over time unsuccessfully with CPU query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-chart-process-over-time-unsuccessfully-with-CPU-query/m-p/306776#M160104</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=Script:RunningProc eventtype=Security-proc1
| timechahrt avg(CPUPct) by instance
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Jul 2017 20:40:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-chart-process-over-time-unsuccessfully-with-CPU-query/m-p/306776#M160104</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-07-13T20:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to chart process over time unsuccessfully with CPU query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-chart-process-over-time-unsuccessfully-with-CPU-query/m-p/306777#M160105</link>
      <description>&lt;P&gt;Thanks for the response somesoni2, however in order to produce the accurate value, the &lt;EM&gt;| stats sum(CPU %)&lt;/EM&gt; needs to be included in the query.  (issues with the way windows perfmon passes cpu data).  looking to timechart the result &lt;STRONG&gt;sum(CPU %&lt;/STRONG&gt; over a period of time and having no luck. &lt;/P&gt;

&lt;P&gt;sourcetype=Script:RunningProc eventtype=Security-proc1 | appendpipe [stats avg(CPUPct) as "CPU %" by Instance] | stats sum(CPU %)&lt;/P&gt;

&lt;P&gt;output:&lt;BR /&gt;
&lt;STRONG&gt;sum(CPU %)&lt;/STRONG&gt;&lt;BR /&gt;
0.156074 &lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 20:58:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-chart-process-over-time-unsuccessfully-with-CPU-query/m-p/306777#M160105</guid>
      <dc:creator>mightaswelby</dc:creator>
      <dc:date>2017-07-13T20:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to chart process over time unsuccessfully with CPU query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-chart-process-over-time-unsuccessfully-with-CPU-query/m-p/306778#M160106</link>
      <description>&lt;P&gt;How about this? (update span value in bucket command and timechart command per your need)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=Script:RunningProc eventtype=Security-proc1 | bucket span=15m _time | stats avg(CPUPct) as "CPU %" by _time instance | timechart span=15m sum("CPU %")  as "CPU %"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Jul 2017 21:18:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-chart-process-over-time-unsuccessfully-with-CPU-query/m-p/306778#M160106</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-07-13T21:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to chart process over time unsuccessfully with CPU query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-chart-process-over-time-unsuccessfully-with-CPU-query/m-p/306779#M160107</link>
      <description>&lt;P&gt;This seemed to work perfectly, thank you somesoni2&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 11:53:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-chart-process-over-time-unsuccessfully-with-CPU-query/m-p/306779#M160107</guid>
      <dc:creator>mightaswelby</dc:creator>
      <dc:date>2017-07-14T11:53:36Z</dc:date>
    </item>
  </channel>
</rss>

