<?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: Resource monitoring in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Resource-monitoring-Why-am-i-only-getting-timestamps-but-no/m-p/654824#M226205</link>
    <description>&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Seems to have done the trick.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you have a wonderful weekend ahead of you.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Aug 2023 08:39:13 GMT</pubDate>
    <dc:creator>denipon</dc:creator>
    <dc:date>2023-08-18T08:39:13Z</dc:date>
    <item>
      <title>Resource monitoring: Why am i only getting timestamps but no other value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Resource-monitoring-Why-am-i-only-getting-timestamps-but-no/m-p/653879#M225981</link>
      <description>&lt;P&gt;Hello friends,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm fairly new to Splunk, so please bear with me here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the output of the sar -u command on a solaris server. in the format:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="20%"&gt;Timestamp&lt;/TD&gt;
&lt;TD width="20%"&gt;%usr&lt;/TD&gt;
&lt;TD width="20%"&gt;%sys&lt;/TD&gt;
&lt;TD width="20%"&gt;%wio&lt;/TD&gt;
&lt;TD width="10%"&gt;%idle&lt;/TD&gt;
&lt;TD width="10%"&gt;%cpu&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;now i was able to create a line graph outputting all five values, but as soon as i take away even one of the categories, i only get timestamps but no other value. how can i specifically search to output only the cpu value as average in either a bar chart or filler gauge?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reading.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Denipon&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 17:43:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Resource-monitoring-Why-am-i-only-getting-timestamps-but-no/m-p/653879#M225981</guid>
      <dc:creator>denipon</dc:creator>
      <dc:date>2023-08-18T17:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Resource monitoring</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Resource-monitoring-Why-am-i-only-getting-timestamps-but-no/m-p/653882#M225983</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;can you post your sample data and what you have on your query? Please use &amp;lt;/&amp;gt; tag when you add those here!&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 08:39:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Resource-monitoring-Why-am-i-only-getting-timestamps-but-no/m-p/653882#M225983</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-08-10T08:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Resource monitoring</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Resource-monitoring-Why-am-i-only-getting-timestamps-but-no/m-p/654576#M226148</link>
      <description>&lt;P&gt;Sorry for the absolutely overwhelmingly late response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the logs are just the standard "sar" command logs from solaris, displaying "usr", "sys", "wio", "idle", "cpu".&lt;/P&gt;&lt;P&gt;in events they show up like this "Average&amp;nbsp; &amp;nbsp; &amp;nbsp; 15&amp;nbsp; &amp;nbsp; &amp;nbsp; 24&amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; 45&amp;nbsp; &amp;nbsp; &amp;nbsp; 55"&lt;/P&gt;&lt;P&gt;And for the love of all that is good, I can't figure out how to structure my search query, to only display one of these values...&lt;/P&gt;&lt;P&gt;currently my search query which i was able to display all five values with is this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Average index="name_of_index" sourcetype="name_of_source" | timechart avg(usr) avg(sys) avg(wio) avg(idle) avg(cpu) span=id&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 01:01:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Resource-monitoring-Why-am-i-only-getting-timestamps-but-no/m-p/654576#M226148</guid>
      <dc:creator>denipon</dc:creator>
      <dc:date>2023-08-17T01:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Resource monitoring</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Resource-monitoring-Why-am-i-only-getting-timestamps-but-no/m-p/654816#M226201</link>
      <description>&lt;P&gt;This should work&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="name_of_index" sourcetype="name_of_source" 
| timechart span=&amp;lt;time span like 15m&amp;gt; avg(usr) avg(sys) avg(wio) avg(idle) avg(cpu) by host&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;with this you could add/remove those avg(xyz) from time chart. If you don' t add span=15m then time chart use span based on your search time slot.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 08:10:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Resource-monitoring-Why-am-i-only-getting-timestamps-but-no/m-p/654816#M226201</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-08-18T08:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Resource monitoring</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Resource-monitoring-Why-am-i-only-getting-timestamps-but-no/m-p/654824#M226205</link>
      <description>&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Seems to have done the trick.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you have a wonderful weekend ahead of you.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 08:39:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Resource-monitoring-Why-am-i-only-getting-timestamps-but-no/m-p/654824#M226205</guid>
      <dc:creator>denipon</dc:creator>
      <dc:date>2023-08-18T08:39:13Z</dc:date>
    </item>
  </channel>
</rss>

