<?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: Memory usage 100% stacked graphs for multiple servers? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42370#M9902</link>
    <description>&lt;P&gt;If you did need a timechart, you would have to use something like this: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/User/ReportOfMultipleDataSeries"&gt;http://docs.splunk.com/Documentation/Splunk/latest/User/ReportOfMultipleDataSeries&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Aug 2012 04:20:13 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2012-08-23T04:20:13Z</dc:date>
    <item>
      <title>Memory usage 100% stacked graphs for multiple servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42365#M9897</link>
      <description>&lt;P&gt;Based on Stephen Sorkin's advice &lt;A href="http://splunk-base.splunk.com/answers/4777/free-vs-used-visualization-ideas"&gt;here&lt;/A&gt;, I'm attempting to create some 100% stacked graphs for memory usage across a number of servers.  &lt;/P&gt;

&lt;P&gt;Here's what I have working for a single server:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=data ComputerName=Server01 source=WMI:Server_Memory | eval FreeGB=AvailableBytes/1024/1024/1024 | eval UsedGB=CommittedBytes/1024/1024/1024 | timechart span=5min median(FreeGB) median(UsedGB)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The problem I'm having is splitting this out by ComputerName.  Any recommendations are appreciated&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2012 20:36:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42365#M9897</guid>
      <dc:creator>dang</dc:creator>
      <dc:date>2012-08-22T20:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 100% stacked graphs for multiple servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42366#M9898</link>
      <description>&lt;P&gt;Should be as simple as this :&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=data ComputerName=* source=WMI:Server_Memory | eval FreeGB=AvailableBytes/1024/1024/1024 | eval UsedGB=CommittedBytes/1024/1024/1024 | timechart span=5min median(FreeGB) median(UsedGB) by ComputerName&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Depending on the number of servers, you might need to experiment with limit=X  as an option to the timechart&lt;/P&gt;

&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2012 22:27:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42366#M9898</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2012-08-22T22:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 100% stacked graphs for multiple servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42367#M9899</link>
      <description>&lt;P&gt;Actually, it's very close to being that simple.  I figured it out once I was able to stop multitasking with other things.  The trick is to not use "timechart" but to use "chart" like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=data ComputerName=Server* source=WMI:Server_Memory | eval FreeGB=AvailableBytes/1024/1024/1024 | eval UsedGB=CommittedBytes/1024/1024/1024 | chart median(FreeGB) median(UsedGB) by ComputerName
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Limiting the result set is definitely something we'll need to do, but that's got us well on the way.  Thanks John.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2012 22:40:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42367#M9899</guid>
      <dc:creator>dang</dc:creator>
      <dc:date>2012-08-22T22:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 100% stacked graphs for multiple servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42368#M9900</link>
      <description>&lt;P&gt;Thats tough.&lt;/P&gt;

&lt;P&gt;You can have 2 stacked charts per time interval, if you use flashcharts, duplicate the Yaxis, and set the spacing to 0 and 0.5. &lt;/P&gt;

&lt;P&gt;Anything more than 2 Y axis and the bars overlap (you can't control the width of the bars, only the spacing between them)&lt;/P&gt;

&lt;P&gt;I'm guessing you have more than 2 servers though ...&lt;/P&gt;

&lt;P&gt;This :&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=data ComputerName=* source=WMI:Server_Memory | eval FreeGB=AvailableBytes/1024/1024/1024 | eval UsedGB=CommittedBytes/1024/1024/1024 | timechart span=5min median(FreeGB) median(UsedGB) by ComputerName&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Just gives you a jumble of lines.&lt;/P&gt;

&lt;P&gt;I'd go with a summary chart showing free memory % per server over time.&lt;/P&gt;

&lt;P&gt;Then have a separate chart, with a dropdown list of servers, that shows the stacked free and used memory over time for the selected server.&lt;/P&gt;

&lt;P&gt;Be interesting to hear some other options..&lt;/P&gt;

&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2012 23:55:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42368#M9900</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2012-08-22T23:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 100% stacked graphs for multiple servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42369#M9901</link>
      <description>&lt;P&gt;Ah - I thought you needed a timeseries ( based on the other question you linked.&lt;/P&gt;

&lt;P&gt;You can have 2 stacked charts per time interval, if you use flashcharts, duplicate the Yaxis, and set the spacing to 0 and 0.5. &lt;/P&gt;

&lt;P&gt;Anything more than 2 Y-axes and the bars overlap and it looks rubbish.&lt;/P&gt;

&lt;P&gt;I'm guessing you have more than 2 servers though ...&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2012 23:58:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42369#M9901</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2012-08-22T23:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 100% stacked graphs for multiple servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42370#M9902</link>
      <description>&lt;P&gt;If you did need a timechart, you would have to use something like this: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/User/ReportOfMultipleDataSeries"&gt;http://docs.splunk.com/Documentation/Splunk/latest/User/ReportOfMultipleDataSeries&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2012 04:20:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42370#M9902</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-08-23T04:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 100% stacked graphs for multiple servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42371#M9903</link>
      <description>&lt;P&gt;timechart help: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/User/ReportOfMultipleDataSeries"&gt;http://docs.splunk.com/Documentation/Splunk/latest/User/ReportOfMultipleDataSeries&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2012 04:20:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42371#M9903</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-08-23T04:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 100% stacked graphs for multiple servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42372#M9904</link>
      <description>&lt;P&gt;Odd. - the scenario listed is valid and works, though I distinctly remember this failing for me before..&lt;/P&gt;

&lt;P&gt;index=_internal series=splunk* kbps &amp;gt; 0 eps &amp;gt; 0 | timechart span=1m avg(kbps) as throughput avg(eps) as load by series &lt;/P&gt;

&lt;P&gt;gives the same results as this (apart from the legend)&lt;/P&gt;

&lt;P&gt;same_base_search | bin_time span=1m | stats avg(kbps) as kbps avg(eps) as eps by series _time | eval s1="throughput load" | makemv s1 | mvexpand s1 | eval yval=case(s1=="throughput",kbps,s1=="load",eps) | eval chart_series=series+":"+s1 | xyseries _time,chart_series,yval | makecontinuous _time&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:19:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42372#M9904</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2020-09-28T12:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 100% stacked graphs for multiple servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42373#M9905</link>
      <description>&lt;P&gt;This looks like there has been an enhancement was made in version 4.3. to have &lt;CODE&gt;timechart&lt;/CODE&gt; automatically do what used to require the &lt;CODE&gt;xyseries&lt;/CODE&gt; technique.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2012 13:53:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42373#M9905</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-08-23T13:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 100% stacked graphs for multiple servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42374#M9906</link>
      <description>&lt;P&gt;Very likely. On 4.3.2 you can't specify the span if you have multiple series.  Its valid on 4.3.3 though.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2012 13:56:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Memory-usage-100-stacked-graphs-for-multiple-servers/m-p/42374#M9906</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2012-08-23T13:56:34Z</dc:date>
    </item>
  </channel>
</rss>

