<?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: search result as field for filtering in visualization in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/search-result-as-field-for-filtering-in-visualization/m-p/425830#M28050</link>
    <description>&lt;P&gt;Hi  totaro,&lt;BR /&gt;
let me understand. do you want to display Field1 values with Date fiels greather than the clicked value clicking e.g. on 04/18 and without re run the search?&lt;BR /&gt;
You could do this passing the clicked field value as a token to another search to run in a different panel of the same dashboard or to another dashboard, in this way you have to re-run the same search but limited by the clicked value.&lt;BR /&gt;
You can find how to pass a token to another panel of the same dashboard in the Dashboard Examples App (see &lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;https://splunkbase.splunk.com/app/1603/&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2019 08:19:57 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2019-04-25T08:19:57Z</dc:date>
    <item>
      <title>search result as field for filtering in visualization</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/search-result-as-field-for-filtering-in-visualization/m-p/425829#M28049</link>
      <description>&lt;P&gt;Hi &lt;BR /&gt;
i have a statistic table in one of my dashboard that show the result of a search. Is it possible to use some of those fields as filter without re-running the search?&lt;/P&gt;

&lt;P&gt;e.g.&lt;BR /&gt;
Table:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Date Field     Field1
04/22              A
04/18              B
04/11              C
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As the date field is dynamic and is the result of the search, is it possible to use those as a field as dashboard input to show Field1 only from a specific date.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 08:03:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/search-result-as-field-for-filtering-in-visualization/m-p/425829#M28049</guid>
      <dc:creator>totaro</dc:creator>
      <dc:date>2019-04-25T08:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: search result as field for filtering in visualization</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/search-result-as-field-for-filtering-in-visualization/m-p/425830#M28050</link>
      <description>&lt;P&gt;Hi  totaro,&lt;BR /&gt;
let me understand. do you want to display Field1 values with Date fiels greather than the clicked value clicking e.g. on 04/18 and without re run the search?&lt;BR /&gt;
You could do this passing the clicked field value as a token to another search to run in a different panel of the same dashboard or to another dashboard, in this way you have to re-run the same search but limited by the clicked value.&lt;BR /&gt;
You can find how to pass a token to another panel of the same dashboard in the Dashboard Examples App (see &lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;https://splunkbase.splunk.com/app/1603/&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 08:19:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/search-result-as-field-for-filtering-in-visualization/m-p/425830#M28050</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-04-25T08:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: search result as field for filtering in visualization</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/search-result-as-field-for-filtering-in-visualization/m-p/425831#M28051</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Check this sample and use base search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;filter&amp;lt;/label&amp;gt;
  &amp;lt;search id="base_query"&amp;gt;
    &amp;lt;query&amp;gt;index="_internal"  |table source,host,sourcetype,splunk_server&amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;$timepicker.earliest$&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;$timepicker.latest$&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="time" token="timepicker"&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;input type="dropdown" token="host"&amp;gt;
      &amp;lt;label&amp;gt;host&amp;lt;/label&amp;gt;
      &amp;lt;search base="base_query"&amp;gt;
        &amp;lt;query&amp;gt;|stats count by host&amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;host&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;host&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;prefix&amp;gt;host="&amp;lt;/prefix&amp;gt;
      &amp;lt;suffix&amp;gt;"&amp;lt;/suffix&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 base="base_query"&amp;gt;
          &amp;lt;query&amp;gt;
           |search $host$ |stats count by source
          &amp;lt;/query&amp;gt;
        &amp;lt;/search&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>Fri, 26 Apr 2019 07:01:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/search-result-as-field-for-filtering-in-visualization/m-p/425831#M28051</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-04-26T07:01:43Z</dc:date>
    </item>
  </channel>
</rss>

