<?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: Please see the below, trying to calculate avgCpuUtilization maxCpuUtilization for differect DC in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/qq/m-p/627697#M15162</link>
    <description>&lt;P&gt;request your help on this&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jan 2023 08:42:27 GMT</pubDate>
    <dc:creator>chandankr</dc:creator>
    <dc:date>2023-01-20T08:42:27Z</dc:date>
    <item>
      <title>qq</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/qq/m-p/627681#M15159</link>
      <description />
      <pubDate>Fri, 20 Jan 2023 16:28:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/qq/m-p/627681#M15159</guid>
      <dc:creator>chandankr</dc:creator>
      <dc:date>2023-01-20T16:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Please see the below, trying to calculate avgCpuUtilization maxCpuUtilization for differect DC</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/qq/m-p/627695#M15160</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| ...... base search 

| rex field=_raw "measResults\W(?&amp;lt;avgCpuUtilization&amp;gt;\d{0,3})\s(?&amp;lt;maxCpuUtilization&amp;gt;\d{0,3})"
| rex field=_raw "PLMN-PLMN\W\w+-\d\W\w\w\w-\d{0,3}.\d{0,3}.\d{0,3}.\d{0,3}@(?&amp;lt;data_center&amp;gt;\w+-\w+)"
| rex field=_raw " endTime\D\D(?&amp;lt;year&amp;gt;\d{0,4})\D(?&amp;lt;month&amp;gt;\d\d)\D(?&amp;lt;date&amp;gt;\d\d)"
| eval order = case(month==1,"january", month==2,"february", month==3,"march", month==4,"april", month==5,"may", month==6,"june", month==7,"july", month==8,"august", month==9,"september", month==10,"october", month==11,"november", 1==1, "december")
| chart avg(avgCpuUtilization) as AvgCpuLoad max(maxCpuUtilization) as MaxCpuLoad by order, data_center
| eval order = upper(order)
| rename "AvgCpuLoad: LVS_DC" as "AvgCpuLoad-UKDC", "AvgCpuLoad: RB_DC" as "AvgCpuLoad-USDC", "MaxCpuLoad: LVS_DC" as "MaxCpuLoad-UKDC", "MaxCpuLoad: RB_DC" as "MaxCpuLoad-USDC"&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 20 Jan 2023 08:33:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/qq/m-p/627695#M15160</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-01-20T08:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Please see the below, trying to calculate avgCpuUtilization maxCpuUtilization for differect DC</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/qq/m-p/627696#M15161</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; for your reply . i am trying to fetch data based on data_center and create four fields that is&amp;nbsp;AvgCpuLoad-UKDC&amp;nbsp;MaxCpuLoad-UKDC&amp;nbsp;AvgCpuLoad-USDC&amp;nbsp;MaxCpuLoad-USDC.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 08:42:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/qq/m-p/627696#M15161</guid>
      <dc:creator>chandankr</dc:creator>
      <dc:date>2023-01-20T08:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Please see the below, trying to calculate avgCpuUtilization maxCpuUtilization for differect DC</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/qq/m-p/627697#M15162</link>
      <description>&lt;P&gt;request your help on this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 08:42:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/qq/m-p/627697#M15162</guid>
      <dc:creator>chandankr</dc:creator>
      <dc:date>2023-01-20T08:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Please see the below, trying to calculate avgCpuUtilization maxCpuUtilization for differect DC</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/qq/m-p/627699#M15164</link>
      <description>&lt;P&gt;If what I suggested doesn't work for you, perhaps you could share some of your raw events in a code block &amp;lt;/&amp;gt; and the output from my suggestion?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 08:45:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/qq/m-p/627699#M15164</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-01-20T08:45:47Z</dc:date>
    </item>
  </channel>
</rss>

