<?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: how do you concatenate the avg(value) for perfmon process coming from two servers in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-do-you-concatenate-the-avg-value-for-perfmon-process-coming/m-p/330591#M98410</link>
    <description>&lt;P&gt;Thanks for the quick response - I will preface this by saying thanks for your patience.  The  "by"  statement does not seem to allow me to show the avg cpu for both servers on the same chart.  When I use the timechart avg(Value) As Server1 I get the single value.  When I use the by I get the same result with the null.    My goal is to show server1 and server2 in a side by side comparison on the same chart with the appropriate tags.   Is there some way of stratifying that formula, e.g  timechart avg.server1(Value) As server 1 avg.server2(Value) as server2&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2017 12:37:50 GMT</pubDate>
    <dc:creator>misnomerga</dc:creator>
    <dc:date>2017-07-26T12:37:50Z</dc:date>
    <item>
      <title>how do you concatenate the avg(value) for perfmon process coming from two servers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-do-you-concatenate-the-avg-value-for-perfmon-process-coming/m-p/330589#M98408</link>
      <description>&lt;P&gt;Very new to Splunk and need some guidance.   I believe there must be a way to index the servers to differentiate them somehow&lt;/P&gt;

&lt;P&gt;I have two servers with CPU processor time data coming in. How to display both values.   The current query returns Error in 'timechart' command.  The specifier 'avg(Value)' is specified multiple times and renamed with conflicting field names.&lt;/P&gt;

&lt;P&gt;The query is:&lt;/P&gt;

&lt;P&gt;sourcetype="Perfmon:Processor" | timechart avg(Value) As server1 avg(Value) As server2&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 11:37:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-do-you-concatenate-the-avg-value-for-perfmon-process-coming/m-p/330589#M98408</guid>
      <dc:creator>misnomerga</dc:creator>
      <dc:date>2017-07-26T11:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: how do you concatenate the avg(value) for perfmon process coming from two servers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-do-you-concatenate-the-avg-value-for-perfmon-process-coming/m-p/330590#M98409</link>
      <description>&lt;P&gt;The timechart command can separate stats values for you using the &lt;CODE&gt;by&lt;/CODE&gt; clause.  Something like this will give you a chart of average CPU processor time for each server.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="Perfmon:Processor" | timechart avg(Value) As AvgCPU by server
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Jul 2017 12:12:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-do-you-concatenate-the-avg-value-for-perfmon-process-coming/m-p/330590#M98409</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-07-26T12:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: how do you concatenate the avg(value) for perfmon process coming from two servers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-do-you-concatenate-the-avg-value-for-perfmon-process-coming/m-p/330591#M98410</link>
      <description>&lt;P&gt;Thanks for the quick response - I will preface this by saying thanks for your patience.  The  "by"  statement does not seem to allow me to show the avg cpu for both servers on the same chart.  When I use the timechart avg(Value) As Server1 I get the single value.  When I use the by I get the same result with the null.    My goal is to show server1 and server2 in a side by side comparison on the same chart with the appropriate tags.   Is there some way of stratifying that formula, e.g  timechart avg.server1(Value) As server 1 avg.server2(Value) as server2&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 12:37:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-do-you-concatenate-the-avg-value-for-perfmon-process-coming/m-p/330591#M98410</guid>
      <dc:creator>misnomerga</dc:creator>
      <dc:date>2017-07-26T12:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: how do you concatenate the avg(value) for perfmon process coming from two servers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-do-you-concatenate-the-avg-value-for-perfmon-process-coming/m-p/330592#M98411</link>
      <description>&lt;P&gt;The timechart command I provided should work, but may need a little adjusting.  In the 'by server' clause, 'server' is a field name that distinguishes server1 from server2.  Your events probably use a different name.  It may be 'host' or something else.  Replace 'server' with the appropriate field name and see what you get.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 12:50:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-do-you-concatenate-the-avg-value-for-perfmon-process-coming/m-p/330592#M98411</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-07-26T12:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: how do you concatenate the avg(value) for perfmon process coming from two servers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-do-you-concatenate-the-avg-value-for-perfmon-process-coming/m-p/330593#M98412</link>
      <description>&lt;P&gt;THANK YOU - that additional piece did the trick&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 14:32:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-do-you-concatenate-the-avg-value-for-perfmon-process-coming/m-p/330593#M98412</guid>
      <dc:creator>misnomerga</dc:creator>
      <dc:date>2017-07-26T14:32:40Z</dc:date>
    </item>
  </channel>
</rss>

