<?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: Creating stacked Bar with multiple values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255858#M76629</link>
    <description>&lt;P&gt;This is what my source dashboard looks like &lt;BR /&gt;
      &lt;SET token="host_value"&gt;$click.value2$&lt;/SET&gt; &lt;BR /&gt;
        &lt;SET token="cat_name"&gt;$click.name$&lt;/SET&gt;&lt;BR /&gt;&lt;BR /&gt;
        &lt;LINK /&gt;list_of_software_by_hostnames?form.host_value&lt;BR /&gt;
    &lt;LINK /&gt;list_of_software_by_hostnames?form.cat_name&lt;BR /&gt;
Question: is host_value and cat_name fields available to the destination dashboard in the same app? &lt;BR /&gt;
2) Do I create a new fields in the destination dashboard and pass the value / or I can directly use them in a query?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:15:31 GMT</pubDate>
    <dc:creator>ashishlal82</dc:creator>
    <dc:date>2020-09-29T10:15:31Z</dc:date>
    <item>
      <title>Creating stacked Bar with multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255851#M76622</link>
      <description>&lt;P&gt;I have a field "Allow/Deny"(fildName) which has values Allow/ Deny for a particular Host. How can I produce a stacked chart with number of Allow &amp;amp; Deny for a particular HostName?&lt;BR /&gt;
This below query just gives me a count&lt;BR /&gt;
stats count(Authorized/Unauthorized) by HostNames&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 14:00:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255851#M76622</guid>
      <dc:creator>ashishlal82</dc:creator>
      <dc:date>2016-07-14T14:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating stacked Bar with multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255852#M76623</link>
      <description>&lt;P&gt;Try like this (check the exact field name in by clause)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search |chart count over HostNames by "Authorized/Unauthorized"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This should give your fields HostNames, Allow, Deny. Once you get that go to visualization, select column chart and stacked option&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 14:14:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255852#M76623</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-14T14:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Creating stacked Bar with multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255853#M76624</link>
      <description>&lt;P&gt;Thanks, I was able to create the stacked Bar chart. how do I Create drill-down on a stacked bar chart so that for a particular Hostname, wheather clicked Auth / Unauth would display another table with list of software by HostName that are either Auth/Unauth. I have reading this &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/Dynamicdrilldownindashboardsandforms"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/Dynamicdrilldownindashboardsandforms&lt;/A&gt;  for reference&amp;gt; Not sure where to start &lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 17:43:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255853#M76624</guid>
      <dc:creator>ashishlal82</dc:creator>
      <dc:date>2016-07-14T17:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating stacked Bar with multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255854#M76625</link>
      <description>&lt;P&gt;See the list of tokens that you can use in the drilldown here&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/PanelreferenceforSimplifiedXML#Drilldown_event_tokens"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/PanelreferenceforSimplifiedXML#Drilldown_event_tokens&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You would need these&lt;BR /&gt;
    click.value Value of the field or category for the x-axis. Not available when the legend has been clicked.&lt;BR /&gt;
    click.name2 Name of the field or series for the y-axis.&lt;/P&gt;

&lt;P&gt;See this for solution for same page drilldown&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/113562/same-page-drilldown-splunk-6-simple-xml.html"&gt;https://answers.splunk.com/answers/113562/same-page-drilldown-splunk-6-simple-xml.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 17:53:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255854#M76625</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-14T17:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating stacked Bar with multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255855#M76626</link>
      <description>&lt;P&gt;The examples in the link help you to create a Form from drill down table. I am trying to drill down from stacked bar chart to a table(destination) within the same panel&lt;/P&gt;

&lt;P&gt;Authorized_List&lt;BR /&gt;
  This Dashboard presents List of Assets with number of Authorized and Unauthorized files&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;title&amp;gt;Number of Authorized And Unauthorized Files by Assets&amp;lt;/title&amp;gt;
  &amp;lt;chart&amp;gt;
    &amp;lt;title&amp;gt;Authorized_Files&amp;lt;/title&amp;gt;
    &amp;lt;search ref="Authorized_Files"&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;bar&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;shiny&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.drilldown"&amp;gt;all&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;drilldown&amp;gt;
      &amp;lt;set token="type_tok"&amp;gt;$click.value2$&amp;lt;/set&amp;gt;
      &amp;lt;set token="cat_tok"&amp;gt;$click.name$&amp;lt;/set&amp;gt;
      &amp;lt;drilldown target =" List of Softwares"
      &amp;lt;link&amp;gt;List of Softwares &amp;lt;/link&amp;gt;
     &amp;lt;/drilldown&amp;gt;
  &amp;lt;/chart&amp;gt;

&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Eventually what I am trying to do is if anyone clicks Auth/unauth bar for a particular asset which is my Y- axis, it should display a table list of software installed on that hostname. &lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 19:40:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255855#M76626</guid>
      <dc:creator>ashishlal82</dc:creator>
      <dc:date>2016-07-14T19:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating stacked Bar with multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255856#M76627</link>
      <description>&lt;P&gt;Question: 1) Should I create a destination dashboard and then link it? or does Splunk creates it dynamically?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 19:41:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255856#M76627</guid>
      <dc:creator>ashishlal82</dc:creator>
      <dc:date>2016-07-14T19:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating stacked Bar with multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255857#M76628</link>
      <description>&lt;P&gt;You would have to create the drilldown dashboard and provide link to that dashboard and pass required tokens.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 19:59:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255857#M76628</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-14T19:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating stacked Bar with multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255858#M76629</link>
      <description>&lt;P&gt;This is what my source dashboard looks like &lt;BR /&gt;
      &lt;SET token="host_value"&gt;$click.value2$&lt;/SET&gt; &lt;BR /&gt;
        &lt;SET token="cat_name"&gt;$click.name$&lt;/SET&gt;&lt;BR /&gt;&lt;BR /&gt;
        &lt;LINK /&gt;list_of_software_by_hostnames?form.host_value&lt;BR /&gt;
    &lt;LINK /&gt;list_of_software_by_hostnames?form.cat_name&lt;BR /&gt;
Question: is host_value and cat_name fields available to the destination dashboard in the same app? &lt;BR /&gt;
2) Do I create a new fields in the destination dashboard and pass the value / or I can directly use them in a query?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:15:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-stacked-Bar-with-multiple-values/m-p/255858#M76629</guid>
      <dc:creator>ashishlal82</dc:creator>
      <dc:date>2020-09-29T10:15:31Z</dc:date>
    </item>
  </channel>
</rss>

