<?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 point to events for aggregate functions in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/point-to-events-for-aggregate-functions/m-p/351201#M22881</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;So, I have a dashboard containing search query like :&lt;/P&gt;

&lt;P&gt;search query | stats max(field1) by field2&lt;/P&gt;

&lt;P&gt;but when I want to see the events for a particular point it leads me to all results for field1  rather than the showing events for field1= max(field1) and field2=result2(selected point for).&lt;/P&gt;

&lt;P&gt;Any suggestions, please?&lt;/P&gt;</description>
    <pubDate>Fri, 20 Apr 2018 10:25:17 GMT</pubDate>
    <dc:creator>pratibha2018</dc:creator>
    <dc:date>2018-04-20T10:25:17Z</dc:date>
    <item>
      <title>point to events for aggregate functions</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/point-to-events-for-aggregate-functions/m-p/351201#M22881</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;So, I have a dashboard containing search query like :&lt;/P&gt;

&lt;P&gt;search query | stats max(field1) by field2&lt;/P&gt;

&lt;P&gt;but when I want to see the events for a particular point it leads me to all results for field1  rather than the showing events for field1= max(field1) and field2=result2(selected point for).&lt;/P&gt;

&lt;P&gt;Any suggestions, please?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 10:25:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/point-to-events-for-aggregate-functions/m-p/351201#M22881</guid>
      <dc:creator>pratibha2018</dc:creator>
      <dc:date>2018-04-20T10:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: point to events for aggregate functions</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/point-to-events-for-aggregate-functions/m-p/351202#M22882</link>
      <description>&lt;P&gt;Try the following Run anywhere dashboard example based on Splunk's _internal index. It passes on the value of &lt;CODE&gt;max(date_seconds)&lt;/CODE&gt; to a new search (using predefined drilldown token &lt;CODE&gt;$click.value2$&lt;/CODE&gt;) which opens in new window.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Max Field Value for Drilldown&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="time" token="tokTime" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
      &amp;lt;default&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;/default&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;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=*
| stats max(date_second) as date_second by log_level&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$tokTime.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$tokTime.latest$&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;link target="_blank"&amp;gt;search?q=index=_internal sourcetype=splunkd log_level=* date_second="$click.value2$"&amp;amp;amp;earliest=$tokTime.earliest$&amp;amp;amp;latest=$tokTime.latest$&amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&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, 29 Sep 2020 19:05:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/point-to-events-for-aggregate-functions/m-p/351202#M22882</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-09-29T19:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: point to events for aggregate functions</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/point-to-events-for-aggregate-functions/m-p/351203#M22883</link>
      <description>&lt;P&gt;This works.&lt;/P&gt;

&lt;P&gt;Thanks, @niketnilay!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 05:27:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/point-to-events-for-aggregate-functions/m-p/351203#M22883</guid>
      <dc:creator>pratibha2018</dc:creator>
      <dc:date>2018-04-23T05:27:39Z</dc:date>
    </item>
  </channel>
</rss>

