<?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 get the particluar hour cpu,memory,and disk usage using splunk? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300393#M2786</link>
    <description>&lt;P&gt;I am getting only server names. data not coming into remaining fields .&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2017 08:43:25 GMT</pubDate>
    <dc:creator>prathapkcsc</dc:creator>
    <dc:date>2017-05-19T08:43:25Z</dc:date>
    <item>
      <title>how to get the particluar hour cpu,memory,and disk usage using splunk?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300389#M2782</link>
      <description>&lt;P&gt;HI, i have event like this&lt;BR /&gt;
 SNo                          TIme                                                    event&lt;BR /&gt;
1            5/15/17   12:00:00.000 AM                     servername, nodename ,2017-05-15,00:00,18, 19, 13&lt;/P&gt;

&lt;P&gt;2           5/15/17 14:00:00.000 PM                       servername, nodename ,2017-05-15,00:00,17, 18, 11&lt;/P&gt;

&lt;P&gt;Here in 1st one, 18= cpu usage, 19=memory usage,13=disk usage&lt;BR /&gt;
like this i have 24 hours data.In single event the server name,node name, cpu, memory,disk usage are there with comma separator.&lt;BR /&gt;
Now my requirement is i want to generate histogram to cpu for only 8:00 AM, 12:00 PM, and 18:00 PM.Like this same for memory usage and disk usage.&lt;BR /&gt;
Can anyone help me regarding this?&lt;BR /&gt;
Thank you.&lt;BR /&gt;
Proper response should be appreciated.&lt;/P&gt;

&lt;P&gt;NOte: &lt;BR /&gt;
In event logs,Under  event section the fileds like this server name, node name, cpu usage, memory usage, disk usage&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 06:16:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300389#M2782</guid>
      <dc:creator>prathapkcsc</dc:creator>
      <dc:date>2017-05-18T06:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the particluar hour cpu,memory,and disk usage using splunk?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300390#M2783</link>
      <description>&lt;P&gt;start with this...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search
| rex "(AM|PM)\s+(?&amp;lt;SERV&amp;gt;[^,]+),\s+?(?&amp;lt;NODE&amp;gt;[^,]+),\s+?(?&amp;lt;mydate&amp;gt;[^,]+),\s+?(?&amp;lt;mytime&amp;gt;[^,]+),\s+?(?&amp;lt;CPU&amp;gt;\d+),\s+?(?&amp;lt;MEM&amp;gt;\d+),\s+?(?&amp;lt;DISK&amp;gt;\d+)"
| bin _time as desired_times span=4h
| where _time = desired_times
| table _time SERV NODE CPU MEM DISK
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;...then any one of these... &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart max(CPU) as CPU by SERV 
| timechart max(MEM) as MEM by SERV 
| timechart max(DISK) as DISK by SERV 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The &lt;CODE&gt;| bin _time as&lt;/CODE&gt; will create a new field with the 4-hour increment to compare against.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 19:14:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300390#M2783</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-05-18T19:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the particluar hour cpu,memory,and disk usage using splunk?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300391#M2784</link>
      <description>&lt;P&gt;how to give the 8:00 AM as my time in the  where _time clause&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 04:50:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300391#M2784</guid>
      <dc:creator>prathapkcsc</dc:creator>
      <dc:date>2017-05-19T04:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the particluar hour cpu,memory,and disk usage using splunk?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300392#M2785</link>
      <description>&lt;P&gt;The above command not giving any results.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 04:59:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300392#M2785</guid>
      <dc:creator>prathapkcsc</dc:creator>
      <dc:date>2017-05-19T04:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the particluar hour cpu,memory,and disk usage using splunk?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300393#M2786</link>
      <description>&lt;P&gt;I am getting only server names. data not coming into remaining fields .&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 08:43:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300393#M2786</guid>
      <dc:creator>prathapkcsc</dc:creator>
      <dc:date>2017-05-19T08:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the particluar hour cpu,memory,and disk usage using splunk?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300394#M2787</link>
      <description>&lt;P&gt;Try this for the &lt;CODE&gt;rex&lt;/CODE&gt;....&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | rex ".*?(AM|PM)\s+(?&amp;lt;SERV&amp;gt;[^,]+),\s*?(?&amp;lt;NODE&amp;gt;[^,]+),\s*?(?&amp;lt;mydate&amp;gt;[^,]+),\s*?(?&amp;lt;mytime&amp;gt;[^,]+),\s*?(?&amp;lt;CPU&amp;gt;\d+),\s*?(?&amp;lt;MEM&amp;gt;\d+),\s*?(?&amp;lt;DISK&amp;gt;\d+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 May 2017 14:39:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300394#M2787</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-05-22T14:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the particluar hour cpu,memory,and disk usage using splunk?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300395#M2788</link>
      <description>&lt;P&gt;Where _time=desired_times..&lt;BR /&gt;
In this how can i provide my timings as 8AM,12PM,18PM..&lt;BR /&gt;
Can you help on this?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:10:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300395#M2788</guid>
      <dc:creator>prathapkcsc</dc:creator>
      <dc:date>2020-09-29T14:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the particluar hour cpu,memory,and disk usage using splunk?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300396#M2789</link>
      <description>&lt;P&gt;my event has only this " servername, nodename ,2017-05-15,00:00,18, 19, 13".&lt;BR /&gt;
There is no time AM/PM on my event...&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 17:04:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300396#M2789</guid>
      <dc:creator>prathapkcsc</dc:creator>
      <dc:date>2017-05-22T17:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the particluar hour cpu,memory,and disk usage using splunk?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300397#M2790</link>
      <description>&lt;P&gt;It is working now.But the problem is i am not getting two servers, remaining all servers data am getting. In place of that am getting a new column "OTHERS", which is not exists in my data. Can you tell about this&lt;BR /&gt;
?&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 07:49:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/how-to-get-the-particluar-hour-cpu-memory-and-disk-usage-using/m-p/300397#M2790</guid>
      <dc:creator>prathapkcsc</dc:creator>
      <dc:date>2017-05-23T07:49:44Z</dc:date>
    </item>
  </channel>
</rss>

