<?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: Custom Results View in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Results-View/m-p/54199#M2836</link>
    <description>&lt;P&gt;Yes, take the code above and put it in a new view, either through Manager &amp;gt; User Interface &amp;gt; Views &amp;gt; New or by pasting it in to a file in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/&amp;lt;your_app&amp;gt;/default/data/ui/views/&lt;/CODE&gt;.  If you put a reference to it in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/&amp;lt;your_app&amp;gt;/default/data/ui/nav/default.xml&lt;/CODE&gt;, it will show up in the nav bar.&lt;/P&gt;</description>
    <pubDate>Mon, 21 May 2012 15:29:16 GMT</pubDate>
    <dc:creator>araitz</dc:creator>
    <dc:date>2012-05-21T15:29:16Z</dc:date>
    <item>
      <title>Custom Results View</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Results-View/m-p/54196#M2833</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;When I search for a result I want to be able to select a single result and view it in a custom view i.e I search for "blank" and get 100 results. When I select a result from the results table I see a view with only the result I selected and information about this result.&lt;/P&gt;

&lt;P&gt;Just wondering if this is possible using the advanced XML as I have never had to use XML before, any help or questions to explain the request more are welcomed &lt;/P&gt;

&lt;P&gt;Thanks in advance &lt;BR /&gt;
Mat&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2012 09:33:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Results-View/m-p/54196#M2833</guid>
      <dc:creator>MatthewTowey</dc:creator>
      <dc:date>2012-05-17T09:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Results View</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Results-View/m-p/54197#M2834</link>
      <description>&lt;P&gt;Yes, absolutely possible.  This is off the top of my head, so excuse any typos or errors&lt;BR /&gt;
    &lt;VIEW&gt;&lt;BR /&gt;
    &lt;LABEL&gt;Your View&lt;/LABEL&gt;&lt;BR /&gt;
    &lt;MODULE name="AccountBar" layoutpanel="appHeader"&gt;&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;MODULE name="AppBar" layoutpanel="navigationHeader"&gt;&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;MODULE name="Message" layoutpanel="messaging"&gt;&lt;BR /&gt;
      &lt;OBJECT&gt;&lt;PARAM name="filter" /&gt;*&lt;BR /&gt;
      &lt;PARAM name="clearOnJobDispatch" /&gt;False&lt;BR /&gt;
      &lt;PARAM name="maxSize" /&gt;1&lt;BR /&gt;
    &lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;MODULE name="TitleBar" layoutpanel="viewHeader"&gt;&lt;BR /&gt;
      &lt;OBJECT&gt;&lt;PARAM name="actionsMenuFilter" /&gt;dashboard&lt;BR /&gt;
    &lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;MODULE name="HiddenSearch" layoutpanel="panel_row1_col1" autorun="True"&gt;&lt;BR /&gt;
      &amp;lt;!-- This is the search you use to populate the table --&amp;gt;&lt;BR /&gt;
      &lt;OBJECT&gt;&lt;PARAM name="search" /&gt;index=_internal | timechart count by source&lt;BR /&gt;
      &lt;PARAM name="earliest" /&gt;-1h&lt;BR /&gt;
      &lt;MODULE name="SimpleResultsTable"&gt;&lt;BR /&gt;
        &lt;PARAM name="entityName" /&gt;results&lt;BR /&gt;
        &amp;lt;!-- setting drilldown to 'row' means 'use the value in the first column'  --&amp;gt;&lt;BR /&gt;
        &lt;PARAM name="drilldown" /&gt;row&lt;BR /&gt;
        &lt;MODULE name="HiddenSearch"&gt;&lt;BR /&gt;
          &amp;lt;!-- This is the search you want to send on to the next view, aka the drilldown search  --&amp;gt;&lt;BR /&gt;
          &lt;PARAM name="search" /&gt;index=_internal &lt;BR /&gt;
          &lt;MODULE name="ConvertToIntention"&gt;&lt;BR /&gt;
            &lt;PARAM name="intention" /&gt;&lt;BR /&gt;
              &amp;lt;!-- This part says 'add the term "source=" plus whatever value was clicked above to the drilldown search --&amp;gt;&lt;BR /&gt;
              &lt;PARAM name="name" /&gt;addterm&lt;BR /&gt;
              &lt;PARAM name="arg" /&gt;&lt;BR /&gt;
                &lt;PARAM name="source" /&gt;$click.value$&lt;BR /&gt;
              &lt;BR /&gt;
            &lt;BR /&gt;
            &amp;lt;!-- Roll 'em up!  This will send the new search to the 'flashtimeline' view --&amp;gt;&lt;BR /&gt;
            &lt;MODULE name="ViewRedirector"&gt;&lt;BR /&gt;
              &lt;PARAM name="viewTarget" /&gt;flashtimeline&lt;BR /&gt;
            &lt;/MODULE&gt;&lt;BR /&gt;
          &lt;/MODULE&gt;&lt;BR /&gt;
        &lt;/MODULE&gt;&lt;BR /&gt;
      &lt;/MODULE&gt;&lt;BR /&gt;
    &lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;/VIEW&gt;&lt;/P&gt;

&lt;P&gt;This post has more information on the ConvertToIntention module:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/41366/drilldown-clickvalue-isnt-being-replaced" target="_blank"&gt;http://splunk-base.splunk.com/answers/41366/drilldown-clickvalue-isnt-being-replaced&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:50:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Results-View/m-p/54197#M2834</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2020-09-28T11:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Results View</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Results-View/m-p/54198#M2835</link>
      <description>&lt;P&gt;Hi araitz &lt;BR /&gt;
Thanks for the response &lt;BR /&gt;
Sorry for my complete beginner experience but your going to have to hold my hand a little here does this code that you have written go into it's own xml file in $Splunk\etc\apps&amp;lt;my app&amp;gt;\default\data\ui\views and then do I reference it in the $Splunk\etc\apps\Matt\default\data\ui\nav default.xml ???&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2012 14:31:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Results-View/m-p/54198#M2835</guid>
      <dc:creator>MatthewTowey</dc:creator>
      <dc:date>2012-05-18T14:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Results View</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Results-View/m-p/54199#M2836</link>
      <description>&lt;P&gt;Yes, take the code above and put it in a new view, either through Manager &amp;gt; User Interface &amp;gt; Views &amp;gt; New or by pasting it in to a file in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/&amp;lt;your_app&amp;gt;/default/data/ui/views/&lt;/CODE&gt;.  If you put a reference to it in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/&amp;lt;your_app&amp;gt;/default/data/ui/nav/default.xml&lt;/CODE&gt;, it will show up in the nav bar.&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2012 15:29:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Results-View/m-p/54199#M2836</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2012-05-21T15:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Results View</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Results-View/m-p/54200#M2837</link>
      <description>&lt;P&gt;You may want to check out &lt;A href="http://splunk-base.splunk.com/apps/36405/sideview-utils"&gt;Sideview Utils&lt;/A&gt;.   You can either get the older 1.3 version free from Splunkbase, or get a &lt;A href="http://sideviewapps.com/apps/sideview-utils/"&gt;90 day trial of the new 2.0 version from the Sideview site&lt;/A&gt;. &lt;/P&gt;

&lt;P&gt;As for what the benefit is here for this use case, the short short version is that it's a lot more intuitive.   a) you wont have to use intentions, or think about intentions,  and b) you can use the Redirector module to pass the clicked value from the first view to the second view, and you can use that  $myClickedUponRowValue$ token in the second view however you want.   &lt;/P&gt;

&lt;P&gt;For the long version, I'd pull down the app, either the newer or the older version, and then open the app in your browser.  You'll see it has tons of documentation and examples. You should read through all of it,  but there are several pages about these areas -- linking from view to view, prepopulating UI elements in the target view, and using the Redirector and URLLoader modules.&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2012 17:40:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Results-View/m-p/54200#M2837</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2012-05-21T17:40:39Z</dc:date>
    </item>
  </channel>
</rss>

