<?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: Timechart for stacked with multiseries in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432938#M40797</link>
    <description>&lt;P&gt;@Esperteyu ,&lt;/P&gt;

&lt;P&gt;Are you trying to create just a chart with stacked series ? Something similar to this? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;testing&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_* earliest=-15m |timechart span=5m count,avg(date_hour) by sourcetype&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.stackMode"&amp;gt;stacked&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.style"&amp;gt;minimal&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.scales.shared"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 23 Oct 2018 05:31:25 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2018-10-23T05:31:25Z</dc:date>
    <item>
      <title>Timechart for stacked with multiseries</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432933#M40792</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm really struggling with something I thought would be easier. I'm trying to display a timeline of ratios between error/total for several type of requests and thought it would be nice if I could use stacked columns for each of them (and as the number of them is big maybe using the trellis visualization) but can't make it work. Looked into many answers and the closes one was &lt;A href="https://answers.splunk.com/answers/216720/how-to-create-a-stacked-column-timechart-with-mult.html?utm_source=typeahead&amp;amp;utm_medium=newquestion&amp;amp;utm_campaign=no_votes_sort_relev"&gt;this one&lt;/A&gt; but as the author says it doesn't work fine.&lt;/P&gt;

&lt;P&gt;My query would be something as "simple" as &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base_search
| stats count as total sum(error) as errors by request_type
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have honestly lost track of how many things I tried, any help?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 21:45:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432933#M40792</guid>
      <dc:creator>Esperteyu</dc:creator>
      <dc:date>2018-10-22T21:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart for stacked with multiseries</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432934#M40793</link>
      <description>&lt;P&gt;what is the anticipated result? &lt;BR /&gt;
maybe consider using &lt;CODE&gt;eventstats&lt;/CODE&gt; ?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 00:29:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432934#M40793</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-10-23T00:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart for stacked with multiseries</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432935#M40794</link>
      <description>&lt;P&gt;Can you please share a sample log with field names?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 02:24:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432935#M40794</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2018-10-23T02:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart for stacked with multiseries</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432936#M40795</link>
      <description>&lt;P&gt;Thanks @Vijeta not sure if helps a lot but with the above query for a given range I get something like this&lt;/P&gt;

&lt;P&gt;request_type       total    errors&lt;BR /&gt;
BASIC:AUS     10708 527&lt;BR /&gt;
SCHEMA1:AUS 6469    247&lt;BR /&gt;
BASIC:USA      18467    230&lt;BR /&gt;
SCHEMA1:CAN 7385    124&lt;BR /&gt;
SCHEMA2:USA 6003    86&lt;BR /&gt;
BASIC:CAN       1477    33&lt;BR /&gt;
BASIC:UK              3 0&lt;BR /&gt;
SCHEMA2:AUT 102 0&lt;BR /&gt;
BASIC:BGR            24 0&lt;/P&gt;

&lt;P&gt;I evaluate the request_type from the body of the response log just extracting strings and errors would be evaluated like this | eval error=if(like(response,"%FAILED%"),1,0) before summing them up&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 03:22:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432936#M40795</guid>
      <dc:creator>Esperteyu</dc:creator>
      <dc:date>2018-10-23T03:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart for stacked with multiseries</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432937#M40796</link>
      <description>&lt;P&gt;Sorry @adonio but if I understand it properly after streamstats I would need to use a command to make it chartable and that's where I don't get anything useful from the different options I tried&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 03:26:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432937#M40796</guid>
      <dc:creator>Esperteyu</dc:creator>
      <dc:date>2018-10-23T03:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart for stacked with multiseries</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432938#M40797</link>
      <description>&lt;P&gt;@Esperteyu ,&lt;/P&gt;

&lt;P&gt;Are you trying to create just a chart with stacked series ? Something similar to this? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;testing&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_* earliest=-15m |timechart span=5m count,avg(date_hour) by sourcetype&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.stackMode"&amp;gt;stacked&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.style"&amp;gt;minimal&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.scales.shared"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Oct 2018 05:31:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432938#M40797</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-10-23T05:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart for stacked with multiseries</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432939#M40798</link>
      <description>&lt;P&gt;@renjith.nair Not sure if it's a setting but I can't seem to be able to use simple xml (?), can just create dashboards based on searches. But by the look of it I'm not sure if that's what I'm behind as would like a stacked barchart of percentages (for instance errors:10% success:90%) over time for quite a few types as the split by field&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 07:09:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Timechart-for-stacked-with-multiseries/m-p/432939#M40798</guid>
      <dc:creator>Esperteyu</dc:creator>
      <dc:date>2018-10-23T07:09:50Z</dc:date>
    </item>
  </channel>
</rss>

