<?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 to combine three different source types(CPU,Memory, Network Utilization as perecentage) from same index type and get one report in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-combine-three-different-source-types-CPU-Memory-Network/m-p/278368#M2602</link>
    <description>&lt;P&gt;Hi Sundaresh,&lt;/P&gt;

&lt;P&gt;Just adding to the above comment I tried using the command eval MemPerc=round(('Committed Bytes'/'Available Bytes' + 'Committed Bytes')  100, 2) |, it shows the value same as like that of the Available Bytes(1342345466) instead of showing in percentage.&lt;/P&gt;

&lt;P&gt;Please advise on this also.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;BR /&gt;
Vick&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2016 02:48:17 GMT</pubDate>
    <dc:creator>vickgic</dc:creator>
    <dc:date>2016-09-19T02:48:17Z</dc:date>
    <item>
      <title>How to combine three different source types(CPU,Memory, Network Utilization as perecentage) from same index type and get one report</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-combine-three-different-source-types-CPU-Memory-Network/m-p/278363#M2597</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a problem here,  we have three source types named as "CPUtime", "Memory" , "Localnetwork"&lt;BR /&gt;
CPUtime source types has fields such as object="Processor" counter="% Processor Time" instance="*" &lt;BR /&gt;
Memory source types has fields such as object="Memory" counter="Committed Bytes"&lt;BR /&gt;
Local Network source types has fields such as object="Network Interface" counter="Bytes Received/Sec"&lt;/P&gt;

&lt;P&gt;Currently I am trying to combine these three source types and calculate avg as percentage put in one report&lt;/P&gt;

&lt;P&gt;I have tried almost everything but nothing seems to be working.. Output should be listed host, CPU, Memory,Network  in %. Can you please help me with this one?&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Vick&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 06:48:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-combine-three-different-source-types-CPU-Memory-Network/m-p/278363#M2597</guid>
      <dc:creator>vickgic</dc:creator>
      <dc:date>2016-09-15T06:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine three different source types(CPU,Memory, Network Utilization as perecentage) from same index type and get one report</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-combine-three-different-source-types-CPU-Memory-Network/m-p/278364#M2598</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=xyz (sourcetype=CPUtime OR sourcetype=Memory OR sourcetype=Localnetwork)  (counter="% Processor Time" OR counter="Committed Bytes" OR counter="Bytes Received/Sec") | chart  avg(Value) as values over host by counter
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Sep 2016 12:49:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-combine-three-different-source-types-CPU-Memory-Network/m-p/278364#M2598</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-09-15T12:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine three different source types(CPU,Memory, Network Utilization as perecentage) from same index type and get one report</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-combine-three-different-source-types-CPU-Memory-Network/m-p/278365#M2599</link>
      <description>&lt;P&gt;Hi Sundaresh,&lt;/P&gt;

&lt;P&gt;Thanks for providing the command, it was really helpful.&lt;/P&gt;

&lt;P&gt;I used the following syntax and the sample output as shown below &lt;/P&gt;

&lt;P&gt;index=xyz (sourcetype="Perfmon:CPUTime" OR sourcetype="Perfmon:Memory" OR sourcetype="Perfmon:LocalNetwork") host="*" (counter="% Processor Time" OR (counter="Available Bytes" OR counter="Committed Bytes") OR counter="Bytes Total/Sec") | chart  max(Value) as values over host by counter&lt;/P&gt;

&lt;P&gt;Output:&lt;BR /&gt;
host                      %CPUTime                          Available Bytes                      Committed Bytes                         Bytes Total/Sec &lt;BR /&gt;
xxxxxxx                      3.55555                         1003000000000                      803000000000                            3520600192&lt;/P&gt;

&lt;P&gt;basically wat I want to achieve as Memory as in percentage same as CPUtime , I tired using the command syntax  eval(Committed Bytes/Available Bytes + Committed Bytes)* 100.&lt;/P&gt;

&lt;P&gt;Could you please help on this.&lt;/P&gt;

&lt;P&gt;Much appreciate your advise, thanks in advance&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;BR /&gt;
Vick&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 06:01:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-combine-three-different-source-types-CPU-Memory-Network/m-p/278365#M2599</guid>
      <dc:creator>vickgic</dc:creator>
      <dc:date>2016-09-16T06:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine three different source types(CPU,Memory, Network Utilization as perecentage) from same index type and get one report</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-combine-three-different-source-types-CPU-Memory-Network/m-p/278366#M2600</link>
      <description>&lt;P&gt;Since the field names have a &lt;CODE&gt;space&lt;/CODE&gt;, you need to put them within quotes. So try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=xyz (sourcetype="Perfmon:CPUTime" OR sourcetype="Perfmon:Memory" OR sourcetype="Perfmon:LocalNetwork") host="*" (counter="% Processor Time" OR (counter="Available Bytes" OR counter="Committed Bytes") OR counter="Bytes Total/Sec") 
| eval MemPerc=round(('Committed Bytes'/'Available Bytes' + 'Committed Bytes') * 100, 2)
| chart max(Value) as values over host by counter 
| table host "%CPUTime" MemPerc "Bytes Total/Sec"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2016 12:17:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-combine-three-different-source-types-CPU-Memory-Network/m-p/278366#M2600</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-09-16T12:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine three different source types(CPU,Memory, Network Utilization as perecentage) from same index type and get one report</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-combine-three-different-source-types-CPU-Memory-Network/m-p/278367#M2601</link>
      <description>&lt;P&gt;Thanks for your prompt reply, I tried using the following command syntax &lt;/P&gt;

&lt;P&gt;index= xyz (sourcetype="Perfmon:CPUTime" OR sourcetype="Perfmon:Memory" OR sourcetype="Perfmon:LocalNetwork") host="*" (counter="% Processor Time" OR (counter="Available Bytes" OR counter="Committed Bytes") OR counter="Bytes Total/Sec")  | eval MemPerc=round(('Committed Bytes'/'Available Bytes' + 'Committed Bytes') * 100, 2) | chart max(Value) as values over host by counter | table host,"%CPUTime", MemPerc,"Bytes Total/Sec"&lt;/P&gt;

&lt;P&gt;the output it displays as a table is only the host with names, whereas field such as  %CPUTime", MemPerc,"Bytes Total/Sec are blank with no values.&lt;/P&gt;

&lt;P&gt;Can you please help on this&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Vick&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2016 06:53:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-combine-three-different-source-types-CPU-Memory-Network/m-p/278367#M2601</guid>
      <dc:creator>vickgic</dc:creator>
      <dc:date>2016-09-17T06:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine three different source types(CPU,Memory, Network Utilization as perecentage) from same index type and get one report</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-combine-three-different-source-types-CPU-Memory-Network/m-p/278368#M2602</link>
      <description>&lt;P&gt;Hi Sundaresh,&lt;/P&gt;

&lt;P&gt;Just adding to the above comment I tried using the command eval MemPerc=round(('Committed Bytes'/'Available Bytes' + 'Committed Bytes')  100, 2) |, it shows the value same as like that of the Available Bytes(1342345466) instead of showing in percentage.&lt;/P&gt;

&lt;P&gt;Please advise on this also.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;BR /&gt;
Vick&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 02:48:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-combine-three-different-source-types-CPU-Memory-Network/m-p/278368#M2602</guid>
      <dc:creator>vickgic</dc:creator>
      <dc:date>2016-09-19T02:48:17Z</dc:date>
    </item>
  </channel>
</rss>

