<?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: PostProcess ViewRedirectorLink in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/PostProcess-ViewRedirectorLink/m-p/44172#M2149</link>
    <description>&lt;P&gt;I have this same issue. Is there any way to get the full and final query, including post processing?&lt;/P&gt;</description>
    <pubDate>Wed, 28 Aug 2013 07:16:48 GMT</pubDate>
    <dc:creator>joebensimo</dc:creator>
    <dc:date>2013-08-28T07:16:48Z</dc:date>
    <item>
      <title>PostProcess ViewRedirectorLink</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/PostProcess-ViewRedirectorLink/m-p/44170#M2147</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I am trying to figure out a way where for a PostProcess search, ViewRedirectorLink popup displays exact search instead of base search in the new window. For e.g. take a look at below snippet:&lt;/P&gt;

&lt;P&gt;Both the "View results" link open up with: "index=_internal source="*web_access.log" | stats count sum(bytes) as totalBytes by file, status"&lt;/P&gt;

&lt;P&gt;&lt;VIEW template="dashboard.html"&gt;&lt;BR /&gt;
    &lt;LABEL&gt;My PostProcess ViewRedirectorLink&lt;/LABEL&gt;&lt;BR /&gt;
    &lt;MODULE name="AccountBar" layoutpanel="appHeader"&gt;&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;MODULE name="AppBar" layoutpanel="appHeader"&gt;&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;MODULE name="SideviewUtils" layoutpanel="appHeader"&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="maxSize" /&gt;2&lt;BR /&gt;
        &lt;PARAM name="clearOnJobDispatch" /&gt;False&lt;BR /&gt;
    &lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;MODULE name="URLLoader" layoutpanel="panel_row1_col1" autorun="True"&gt;&lt;BR /&gt;
        &lt;MODULE name="Search" layoutpanel="panel_row2_col1"&gt;&lt;BR /&gt;
            &lt;OBJECT&gt;&lt;PARAM name="search" /&gt;index=_internal source="*web_access.log" | stats count sum(bytes) as totalBytes by file, status&lt;BR /&gt;
            &lt;PARAM name="earliest" /&gt;-6h&lt;BR /&gt;
            &lt;PARAM name="latest" /&gt;now&lt;BR /&gt;
            &lt;MODULE name="PostProcess" layoutpanel="panel_row3_col1"&gt;&lt;BR /&gt;
                &lt;PARAM name="search" /&gt;| stats sum(totalBytes) as totalBytes by file | sort - totalBytes&lt;BR /&gt;
                &lt;MODULE name="Pager"&gt;&lt;BR /&gt;
                    &lt;PARAM name="count" /&gt;5&lt;BR /&gt;
                    &lt;MODULE name="Table"&gt;&lt;/MODULE&gt;&lt;BR /&gt;
                &lt;/MODULE&gt;&lt;BR /&gt;
                &lt;MODULE name="ViewRedirectorLink"&gt;&lt;BR /&gt;
                    &lt;PARAM name="viewTarget" /&gt;flashtimeline&lt;BR /&gt;
                    &lt;PARAM name="popup" /&gt;true&lt;BR /&gt;
                &lt;/MODULE&gt;&lt;BR /&gt;
            &lt;/MODULE&gt;&lt;BR /&gt;
            &lt;MODULE name="PostProcess" layoutpanel="panel_row3_col2"&gt;&lt;BR /&gt;
                &lt;PARAM name="search" /&gt;| stats sum(count) as count by status | sort - count&lt;BR /&gt;
                &lt;MODULE name="FlashChart"&gt;&lt;/MODULE&gt;&lt;BR /&gt;
                &lt;MODULE name="ViewRedirectorLink"&gt;&lt;BR /&gt;
                    &lt;PARAM name="viewTarget" /&gt;flashtimeline&lt;BR /&gt;
                    &lt;PARAM name="popup" /&gt;true&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;/MODULE&gt;&lt;BR /&gt;
&lt;/VIEW&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:38:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/PostProcess-ViewRedirectorLink/m-p/44170#M2147</guid>
      <dc:creator>ashishrathore</dc:creator>
      <dc:date>2020-09-28T14:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: PostProcess ViewRedirectorLink</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/PostProcess-ViewRedirectorLink/m-p/44171#M2148</link>
      <description>&lt;P&gt;Can somebody answer if this is even possible in postprocess in Yes or NO?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2013 02:31:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/PostProcess-ViewRedirectorLink/m-p/44171#M2148</guid>
      <dc:creator>ashishrathore</dc:creator>
      <dc:date>2013-08-26T02:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: PostProcess ViewRedirectorLink</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/PostProcess-ViewRedirectorLink/m-p/44172#M2149</link>
      <description>&lt;P&gt;I have this same issue. Is there any way to get the full and final query, including post processing?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 07:16:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/PostProcess-ViewRedirectorLink/m-p/44172#M2149</guid>
      <dc:creator>joebensimo</dc:creator>
      <dc:date>2013-08-28T07:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: PostProcess ViewRedirectorLink</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/PostProcess-ViewRedirectorLink/m-p/44173#M2150</link>
      <description>&lt;P&gt;If I'm undestanding the need, I think I had the same Problem, and I made the following :&lt;/P&gt;

&lt;P&gt;(I use Sideview-Utils)&lt;BR /&gt;
I've made links in a HTML Module :&lt;BR /&gt;
 - one where the user see the results in a search window, without having to start the search again&lt;BR /&gt;
 - one where he can start and modify the search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="HTML"&amp;gt;
  &amp;lt;param name="html"&amp;gt;&amp;lt;![CDATA[
    &amp;lt;a href="flashtimeline?q=| loadjob $results.sid$"&amp;gt;view raw search results&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;
    &amp;lt;a href="flashtimeline?q=$search$&amp;amp;earliest=$search.timeRange.earliest$&amp;amp;latest=$search.timeRange.latest$"&amp;gt;run the search again in Splunk's default search page&amp;lt;/a&amp;gt;
  ]]&amp;gt;&amp;lt;/param&amp;gt;
&amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In this example I didn't took the postprocess, but it should be simple to add $prostprocess$ to $search$, having both in the url string&lt;/P&gt;

&lt;P&gt;I had some troubles, so you can also see my related post :&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/99680/use-query-foo-in-html-module-error-with-whitespace"&gt;http://answers.splunk.com/answers/99680/use-query-foo-in-html-module-error-with-whitespace&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 07:56:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/PostProcess-ViewRedirectorLink/m-p/44173#M2150</guid>
      <dc:creator>sbsbb</dc:creator>
      <dc:date>2013-08-28T07:56:45Z</dc:date>
    </item>
  </channel>
</rss>

