<?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: How many tokens can I pass from one panel to another? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-many-tokens-can-I-pass-from-one-panel-to-another/m-p/274309#M17320</link>
    <description>&lt;P&gt;think this is what i am looking for from here &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/tokens"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/tokens&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Token   Description
click.name  Name of the leftmost field that appears in the table. This is always _time, if present.
click.value Value of the leftmost column in the row.
click.name2 Name of the column.
click.value2    Value of the column.
row.&amp;lt;fieldname&amp;gt; All field values for the table row, including those fields that are not displayed.
earliest/latest Time range of the table row, or if not applicable, the time range of the search.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 19 Oct 2015 19:50:40 GMT</pubDate>
    <dc:creator>HattrickNZ</dc:creator>
    <dc:date>2015-10-19T19:50:40Z</dc:date>
    <item>
      <title>How many tokens can I pass from one panel to another?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-many-tokens-can-I-pass-from-one-panel-to-another/m-p/274307#M17318</link>
      <description>&lt;P&gt;How many tokens can I pass from one panel to another? Below is my thinking, but not sure if I am right?&lt;/P&gt;

&lt;P&gt;panel 1 is a table with 3 values I want to pass to panel 2: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;drilldown&amp;gt;
&amp;lt;set token="mytoken"&amp;gt;$click.name$&amp;lt;/set&amp;gt;
&amp;lt;set token="mytoken2"&amp;gt;$click.name2$&amp;lt;/set&amp;gt;
&amp;lt;set token="mytoken3"&amp;gt;$click.value$&amp;lt;/set&amp;gt;
&amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is panel 2 which receives these tokens: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;row&amp;gt;
&amp;lt;panel depends="$mytoken$" depends="$click.name2$" depends="$click.value$"&amp;gt;
&amp;lt;chart&amp;gt;



....
&amp;lt;/chart&amp;gt;
&amp;lt;/panel&amp;gt;
&amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Oct 2015 21:05:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-many-tokens-can-I-pass-from-one-panel-to-another/m-p/274307#M17318</guid>
      <dc:creator>HattrickNZ</dc:creator>
      <dc:date>2015-10-15T21:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: How many tokens can I pass from one panel to another?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-many-tokens-can-I-pass-from-one-panel-to-another/m-p/274308#M17319</link>
      <description>&lt;P&gt;I don't think so there is any documented limit on the drilldown tokens. You can setup the drilldown level at row level, if it's a table and then can use either $click.*$ tokens OR "$row.$ token that can be passed. See the drilldown section from below link to find possible tokens that can be set/passed.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Viz/PanelreferenceforSimplifiedXML"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Viz/PanelreferenceforSimplifiedXML&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 22:11:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-many-tokens-can-I-pass-from-one-panel-to-another/m-p/274308#M17319</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-10-15T22:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: How many tokens can I pass from one panel to another?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-many-tokens-can-I-pass-from-one-panel-to-another/m-p/274309#M17320</link>
      <description>&lt;P&gt;think this is what i am looking for from here &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/tokens"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/tokens&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Token   Description
click.name  Name of the leftmost field that appears in the table. This is always _time, if present.
click.value Value of the leftmost column in the row.
click.name2 Name of the column.
click.value2    Value of the column.
row.&amp;lt;fieldname&amp;gt; All field values for the table row, including those fields that are not displayed.
earliest/latest Time range of the table row, or if not applicable, the time range of the search.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Oct 2015 19:50:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-many-tokens-can-I-pass-from-one-panel-to-another/m-p/274309#M17320</guid>
      <dc:creator>HattrickNZ</dc:creator>
      <dc:date>2015-10-19T19:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: How many tokens can I pass from one panel to another?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-many-tokens-can-I-pass-from-one-panel-to-another/m-p/274310#M17321</link>
      <description>&lt;P&gt;think this is what i am looking for from here &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/tokens"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/tokens&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; Token    Description
 click.name    Name of the leftmost field that appears in the table. This is always _time, if present.
 click.value    Value of the leftmost column in the row.
 click.name2    Name of the column.
 click.value2    Value of the column.
 row.    All field values for the table row, including those fields that are not displayed.
 earliest/latest    Time range of the table row, or if not applicable, the time range of the search.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Dec 2016 01:33:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-many-tokens-can-I-pass-from-one-panel-to-another/m-p/274310#M17321</guid>
      <dc:creator>HattrickNZ</dc:creator>
      <dc:date>2016-12-19T01:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: How many tokens can I pass from one panel to another?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-many-tokens-can-I-pass-from-one-panel-to-another/m-p/274311#M17322</link>
      <description>&lt;P&gt;Could you expand on passing rows? &lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 23:21:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-many-tokens-can-I-pass-from-one-panel-to-another/m-p/274311#M17322</guid>
      <dc:creator>exocore123</dc:creator>
      <dc:date>2017-06-16T23:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: How many tokens can I pass from one panel to another?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-many-tokens-can-I-pass-from-one-panel-to-another/m-p/274312#M17323</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/43018"&gt;@exocore123&lt;/a&gt;, you can use Field Names for the columns which are displayed in the table. Following is a run anywhere search using Splunk's &lt;STRONG&gt;_internal&lt;/STRONG&gt; index. For example for log_level I have used $row.log_level$.&lt;/P&gt;

&lt;P&gt;PS: for &lt;STRONG&gt;_time&lt;/STRONG&gt; which is the &lt;STRONG&gt;first column&lt;/STRONG&gt; in my result, it can also be accessed by &lt;STRONG&gt;$click.name$&lt;/STRONG&gt;, as stated in the document or with $row._time$ as well&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="_internal" sourcetype="splunkd" log_level!="INFO"
| bin span=1h _time 
| stats count by _time log_level component&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&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="count"&amp;gt;20&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
        &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;set token="log_level"&amp;gt;$row.log_level$&amp;lt;/set&amp;gt;
          &amp;lt;set token="component"&amp;gt;$row.component$&amp;lt;/set&amp;gt;
          &amp;lt;set token="count"&amp;gt;$row.count$&amp;lt;/set&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel depends="$log_level$,$component$,$count$"&amp;gt;
      &amp;lt;title&amp;gt;$log_level$ $component$ $count$&amp;lt;/title&amp;gt;
      &amp;lt;chart&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:31:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-many-tokens-can-I-pass-from-one-panel-to-another/m-p/274312#M17323</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-09-29T14:31:18Z</dc:date>
    </item>
  </channel>
</rss>

