<?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: Splunk Django WebFramework : Cascading Form &amp; Search in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-Django-WebFramework-Cascading-Form-Search/m-p/134641#M1926</link>
    <description>&lt;P&gt;Why not a Post Process manager?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{% postprocessmanager
    id="sourcetypesearch"
    managerid="indexsearch"
    search="search &amp;lt;your_next_search&amp;gt;" %}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 22 Sep 2014 15:53:35 GMT</pubDate>
    <dc:creator>alacercogitatus</dc:creator>
    <dc:date>2014-09-22T15:53:35Z</dc:date>
    <item>
      <title>Splunk Django WebFramework : Cascading Form &amp; Search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-Django-WebFramework-Cascading-Form-Search/m-p/134640#M1925</link>
      <description>&lt;P&gt;I was trying to build a django based web front-end using the examples shown in "&lt;A href="https://github.com/splunk/splunk-webframework-toolkit/blob/master/splunk_wftoolkit/django/splunk_wftoolkit/templates/cascade.html"&gt;Splunk Web Framework Toolkit&lt;/A&gt;". The example shown for cascaded form is "technically" NOT a cascading search, but rather searches the "whole" data every single time. &lt;BR /&gt;
&lt;STRONG&gt;Original Example&lt;/STRONG&gt;.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    {% block managers %}
    {% searchmanager id="indexsearch" search="| eventcount summarize=false index=* OR index=_*" cache=True preview=False %}
    {% searchmanager id="sourcetypesearch" search="| metadata index=$index$ OR index=_$index$ type=sourcetypes"|token_safe
    cache=True preview=True autostart=False %}
    {% endblock managers %}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What it means is: The search is run everytime with value from previous selection.  So its not actually cascading the search, but rather redoing the entire search !!.&lt;BR /&gt;
Is there a way we can &lt;STRONG&gt;"cascade" the search&lt;/STRONG&gt; too as we do in advanced XML (or sideviewutils) ?&lt;/P&gt;

&lt;P&gt;I'm &lt;STRONG&gt;looking for something like&lt;/STRONG&gt;..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{% block managers %}
{% searchmanager id="indexsearch" search="| eventcount summarize=false index=* OR index=_*" cache=True preview=False %}
{% searchmanager id="sourcetypesearch" search=$indexsearch$|token_safe
cache=True preview=True autostart=False %}
{% endblock managers %}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;whereby the whole of  "&lt;EM&gt;indexsearch&lt;/EM&gt;" is passed as a token to the next search , rather than searching the whole once again?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2014 11:40:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-Django-WebFramework-Cascading-Form-Search/m-p/134640#M1925</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2014-09-22T11:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Django WebFramework : Cascading Form &amp; Search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-Django-WebFramework-Cascading-Form-Search/m-p/134641#M1926</link>
      <description>&lt;P&gt;Why not a Post Process manager?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{% postprocessmanager
    id="sourcetypesearch"
    managerid="indexsearch"
    search="search &amp;lt;your_next_search&amp;gt;" %}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Sep 2014 15:53:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-Django-WebFramework-Cascading-Form-Search/m-p/134641#M1926</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2014-09-22T15:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Django WebFramework : Cascading Form &amp; Search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-Django-WebFramework-Cascading-Form-Search/m-p/134642#M1927</link>
      <description>&lt;P&gt;Perfect thanks. Didn't know we could use all functionalities in django.&lt;BR /&gt;
Thanks mate&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2014 08:43:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-Django-WebFramework-Cascading-Form-Search/m-p/134642#M1927</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2014-09-23T08:43:31Z</dc:date>
    </item>
  </channel>
</rss>

