<?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 Column Chart - unstack and stack in one chart. Show a column value as tooltip in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/579007#M201789</link>
    <description>&lt;P&gt;I have two questions.&lt;/P&gt;&lt;P&gt;1.Is it possible to Stack and unstack in a single column chart?&lt;BR /&gt;in the below chart the line on top of each bar is the total per stacked column, I want to have the total column first and then the stacked (split-up of total) next.&lt;/P&gt;&lt;P&gt;Problem: Since i am not able to do the same i had to add total as overlay&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SC1.PNG" style="width: 688px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17316i437F3F5E1E05AF0B/image-size/large?v=v2&amp;amp;px=999" role="button" title="SC1.PNG" alt="SC1.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;2. How can i show in tooltip&amp;nbsp; value of a column apart form the value chart shows by default in tooltip&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Lets assume i have TotalParts and TotalPartsRunTime, if i plot chart by TotalPartsRunTime then i can see the label&amp;nbsp;TotalPartsRunTime: value for each column/stacked column in tooltip. Along with that i also wanted to show TotalParts: value&lt;BR /&gt;&lt;BR /&gt;Problem: When i add TotalParts in result then it is stacked as part of the already stacked column and creates a separate legend for the same, what i wanted to do is just show the TotalParts count in tooltip&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SC4.jpg" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17326iC5A75BED98B607B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="SC4.jpg" alt="SC4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;e.g scenario&lt;BR /&gt;&lt;SPAN&gt;Application: ABC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;val_2_B is the total time taken to process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;val_4: is the total count of val_2_B items that was processed&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;[expected to show in tooltip and same should not be plotted in chart]&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Please let me know if i am not clear&lt;BR /&gt;&lt;BR /&gt;| makeresults&lt;BR /&gt;| eval application="FSD", val_1="A", val_2=4839, val_3=5000, val_4=1000&lt;BR /&gt;| append&lt;BR /&gt;[| makeresults&lt;BR /&gt;| eval application="ABC", val_1="B", val_2=1000, val_3=3215,val_4=2000]&lt;BR /&gt;| append&lt;BR /&gt;[| makeresults&lt;BR /&gt;| eval application="ABC", val_1="E", val_2=478, val_3=4328,val_4=3000]&lt;BR /&gt;| table application val_1 val_2 val_3 val_4&lt;BR /&gt;| sort application&lt;BR /&gt;| streamstats count by application&lt;BR /&gt;| eventstats list(val_1) as val_1 by application&lt;BR /&gt;| foreach val_*&lt;BR /&gt;[| eval name="copy_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; ".mvindex(val_1,count-1)&lt;BR /&gt;| eval {name}=&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;]&lt;BR /&gt;| stats values(copy_*) as * by application&lt;BR /&gt;| fields - val_1*&lt;/P&gt;</description>
    <pubDate>Wed, 22 Dec 2021 14:06:59 GMT</pubDate>
    <dc:creator>rajg369</dc:creator>
    <dc:date>2021-12-22T14:06:59Z</dc:date>
    <item>
      <title>Column Chart - unstack and stack in one chart. Show a column value as tooltip</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/579007#M201789</link>
      <description>&lt;P&gt;I have two questions.&lt;/P&gt;&lt;P&gt;1.Is it possible to Stack and unstack in a single column chart?&lt;BR /&gt;in the below chart the line on top of each bar is the total per stacked column, I want to have the total column first and then the stacked (split-up of total) next.&lt;/P&gt;&lt;P&gt;Problem: Since i am not able to do the same i had to add total as overlay&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SC1.PNG" style="width: 688px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17316i437F3F5E1E05AF0B/image-size/large?v=v2&amp;amp;px=999" role="button" title="SC1.PNG" alt="SC1.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;2. How can i show in tooltip&amp;nbsp; value of a column apart form the value chart shows by default in tooltip&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Lets assume i have TotalParts and TotalPartsRunTime, if i plot chart by TotalPartsRunTime then i can see the label&amp;nbsp;TotalPartsRunTime: value for each column/stacked column in tooltip. Along with that i also wanted to show TotalParts: value&lt;BR /&gt;&lt;BR /&gt;Problem: When i add TotalParts in result then it is stacked as part of the already stacked column and creates a separate legend for the same, what i wanted to do is just show the TotalParts count in tooltip&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SC4.jpg" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17326iC5A75BED98B607B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="SC4.jpg" alt="SC4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;e.g scenario&lt;BR /&gt;&lt;SPAN&gt;Application: ABC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;val_2_B is the total time taken to process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;val_4: is the total count of val_2_B items that was processed&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;[expected to show in tooltip and same should not be plotted in chart]&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Please let me know if i am not clear&lt;BR /&gt;&lt;BR /&gt;| makeresults&lt;BR /&gt;| eval application="FSD", val_1="A", val_2=4839, val_3=5000, val_4=1000&lt;BR /&gt;| append&lt;BR /&gt;[| makeresults&lt;BR /&gt;| eval application="ABC", val_1="B", val_2=1000, val_3=3215,val_4=2000]&lt;BR /&gt;| append&lt;BR /&gt;[| makeresults&lt;BR /&gt;| eval application="ABC", val_1="E", val_2=478, val_3=4328,val_4=3000]&lt;BR /&gt;| table application val_1 val_2 val_3 val_4&lt;BR /&gt;| sort application&lt;BR /&gt;| streamstats count by application&lt;BR /&gt;| eventstats list(val_1) as val_1 by application&lt;BR /&gt;| foreach val_*&lt;BR /&gt;[| eval name="copy_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; ".mvindex(val_1,count-1)&lt;BR /&gt;| eval {name}=&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;]&lt;BR /&gt;| stats values(copy_*) as * by application&lt;BR /&gt;| fields - val_1*&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 14:06:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/579007#M201789</guid>
      <dc:creator>rajg369</dc:creator>
      <dc:date>2021-12-22T14:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - unstack and stack in one chart. Show a column value as tooltip</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/579264#M201869</link>
      <description>&lt;P&gt;try using &lt;STRONG&gt;chart-overlay &lt;/STRONG&gt;(select the chart-type as stacked column and add select the field of the total count as chart-overlay, that will be displayed as a line) in the chart options.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Dec 2021 09:14:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/579264#M201869</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2021-12-26T09:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - unstack and stack in one chart. Show a column value as tooltip</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/579361#M201885</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/93915" target="_self"&gt;&lt;SPAN class=""&gt;VatsalJagani,&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have already done chart overlay for total, I have mentioned the same In my post. The question was&lt;BR /&gt;&lt;SPAN&gt;Is it possible to Stack and unstack in a single column chart? So total is first bar (unstacked) and what comes next will be stacked bar (split up of total)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 08:44:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/579361#M201885</guid>
      <dc:creator>rajg369</dc:creator>
      <dc:date>2021-12-28T08:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - unstack and stack in one chart. Show a column value as tooltip</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/579650#M201979</link>
      <description>&lt;P&gt;In case this is what you want:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval application="FSD", val_1="A", val_2=4839, val_3=5000, val_4=1000
| append
[| makeresults
| eval application="ABC", val_1="B", val_2=1000, val_3=3215,val_4=2000]
| append
[| makeresults
| eval application="ABC", val_1="E", val_2=478, val_3=4328,val_4=3000]
| table application val_1 val_2 val_3 val_4
| sort application
| streamstats count by application
| eventstats list(val_1) as val_1 by application
| foreach val_*
[| eval name="copy_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;_".mvindex(val_1,count-1)
| eval {name}=&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;]
| stats values(copy_*) as * by application
| fields - val_1*

| addtotals | addtotals col=t Total 
| fillnull application value="000" | eval Total=if(application="000", Total, null())
| sort application | eval application=if(application="000", "Total", application)&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VatsalJagani_0-1640938234029.png" style="width: 773px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17380iBCCDF8FC04160FA5/image-dimensions/773x200?v=v2" width="773" height="200" role="button" title="VatsalJagani_0-1640938234029.png" alt="VatsalJagani_0-1640938234029.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Dec 2021 08:10:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/579650#M201979</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2021-12-31T08:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - unstack and stack in one chart. Show a column value as tooltip</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/579671#M201982</link>
      <description>&lt;P&gt;It is not possible to achieve what you want in a standard column chart.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Dec 2021 09:24:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/579671#M201982</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-12-31T09:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - unstack and stack in one chart. Show a column value as tooltip</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/579788#M202022</link>
      <description>&lt;P&gt;No because of existing data issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;ISSUE:&lt;BR /&gt;1.Total is a split of 5 values but we don't have value of one of the split value.&lt;BR /&gt;&lt;BR /&gt;e.g what we have is Total=10, Split1=1 Split2=3 Split3=4. Split value 2 is missing. So we show total first as a column and then split values as stacked column the height diff between total and stacked column is the missing value&lt;/P&gt;&lt;P&gt;e.g current elk viz we are replicating in splunk&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SC1.PNG" style="width: 260px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17403i113D5102C22F3AB8/image-size/large?v=v2&amp;amp;px=999" role="button" title="SC1.PNG" alt="SC1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 11:33:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/579788#M202022</guid>
      <dc:creator>rajg369</dc:creator>
      <dc:date>2022-01-03T11:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Column Chart - unstack and stack in one chart. Show a column value as tooltip</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/580252#M202183</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;VatsalJagani,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your reply. I need Total before each stacked column. Not 1 total for all stacked columns. Can you pleas&amp;nbsp;help?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;e.g. Total before ABC stacked&amp;nbsp;column and Total before FSD stacked column&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rajesh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 11:11:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Column-Chart-unstack-and-stack-in-one-chart-Show-a-column-value/m-p/580252#M202183</guid>
      <dc:creator>rajg369</dc:creator>
      <dc:date>2022-01-07T11:11:45Z</dc:date>
    </item>
  </channel>
</rss>

