<?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 do I get a single value drilldown to a table? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-get-a-single-value-drilldown-to-a-table/m-p/390802#M25643</link>
    <description>&lt;P&gt;@MarcoG17 &lt;/P&gt;

&lt;P&gt;Your field name in search is &lt;CODE&gt;User Events&lt;/CODE&gt; and you are trying to set the token to &lt;CODE&gt;user&lt;/CODE&gt;&lt;BR /&gt;
i.e. &lt;CODE&gt;stats dc(user) AS "User Events"&lt;/CODE&gt; vs &lt;CODE&gt;$row.user$&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;Try changing the search to &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;stats dc(user) AS user
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 19 Feb 2019 03:31:26 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2019-02-19T03:31:26Z</dc:date>
    <item>
      <title>How do I get a single value drilldown to a table?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-get-a-single-value-drilldown-to-a-table/m-p/390801#M25642</link>
      <description>&lt;P&gt;I have a single value panel that shows me the number of events by user. I want to create a drilldown when I click on the single value that displays a new panel in table format and lists the users and other details. I created a token, but I can't seem to get it to pull any user information.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Users Deleted (last 30 days)&amp;lt;/title&amp;gt;
      &amp;lt;single&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=windows sourcetype="wineventlog" source="wineventlog:security" EventCode="4726" NOT User="*$" | stats dc(user) AS "User Events"&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-30d@d&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;set token="USER"&amp;gt;$row.user$&amp;lt;/set&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/single&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel depends="$USER$"&amp;gt;
      &amp;lt;title&amp;gt;User Details&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=windows sourcetype="wineventlog" source="wineventlog:security" user="$USER$" | table user&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-30d@d&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Feb 2019 22:50:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-get-a-single-value-drilldown-to-a-table/m-p/390801#M25642</guid>
      <dc:creator>MarcoG17</dc:creator>
      <dc:date>2019-02-18T22:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a single value drilldown to a table?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-get-a-single-value-drilldown-to-a-table/m-p/390802#M25643</link>
      <description>&lt;P&gt;@MarcoG17 &lt;/P&gt;

&lt;P&gt;Your field name in search is &lt;CODE&gt;User Events&lt;/CODE&gt; and you are trying to set the token to &lt;CODE&gt;user&lt;/CODE&gt;&lt;BR /&gt;
i.e. &lt;CODE&gt;stats dc(user) AS "User Events"&lt;/CODE&gt; vs &lt;CODE&gt;$row.user$&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;Try changing the search to &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;stats dc(user) AS user
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Feb 2019 03:31:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-get-a-single-value-drilldown-to-a-table/m-p/390802#M25643</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-02-19T03:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a single value drilldown to a table?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-get-a-single-value-drilldown-to-a-table/m-p/390803#M25644</link>
      <description>&lt;P&gt;makes sense i did what you said but when i click on the single value number it still doesn't show the user name in the table.&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://i.imgur.com/uZCYQhf.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 15:06:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-get-a-single-value-drilldown-to-a-table/m-p/390803#M25644</guid>
      <dc:creator>MarcoG17</dc:creator>
      <dc:date>2019-02-19T15:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a single value drilldown to a table?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-get-a-single-value-drilldown-to-a-table/m-p/390804#M25645</link>
      <description>&lt;P&gt;@MarcoG17- Your first query should be&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;stats dc(user) AS "User Events" by User| fields "User Events" , User
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Feb 2019 15:23:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-get-a-single-value-drilldown-to-a-table/m-p/390804#M25645</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-02-19T15:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a single value drilldown to a table?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-get-a-single-value-drilldown-to-a-table/m-p/390805#M25646</link>
      <description>&lt;P&gt;this displays the users instead of the number in the single value panel. Not working as i would imagine.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 19:58:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-get-a-single-value-drilldown-to-a-table/m-p/390805#M25646</guid>
      <dc:creator>MarcoG17</dc:creator>
      <dc:date>2019-02-19T19:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a single value drilldown to a table?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-get-a-single-value-drilldown-to-a-table/m-p/390806#M25647</link>
      <description>&lt;P&gt;@MarcoG17,&lt;BR /&gt;
Click on the search icon under the table panel and see what search it has executed. This would help us to find what value is passed and why no result is retrieved for that user.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Feb 2019 07:22:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-get-a-single-value-drilldown-to-a-table/m-p/390806#M25647</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-02-23T07:22:54Z</dc:date>
    </item>
  </channel>
</rss>

