<?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: HiddenSavedSearch not taking a $variable$ in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82464#M5277</link>
    <description>&lt;P&gt;What's the status on this? I'd love to be able to use $foo$ substitution with HiddenSavedSearches. It's been two years since the last post and so I figured that I'd ask&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jan 2015 21:23:17 GMT</pubDate>
    <dc:creator>Splunkster45</dc:creator>
    <dc:date>2015-01-30T21:23:17Z</dc:date>
    <item>
      <title>HiddenSavedSearch not taking a $variable$</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82457#M5270</link>
      <description>&lt;P&gt;I am creating a dashboard that has a drill down table of values. When the user clicks on the value in the table, the dashboard will send variables to a new dashboard page, which will render the result set. &lt;/P&gt;

&lt;P&gt;The new event results dashboard page will read in variables passed to it, which includes the name of the savedsearch I want it to run. The problem I am running into is that HiddenSavedSearch appears to not read a variable?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;        &amp;lt;module name="HiddenSavedSearch" layoutPanel="panel_row1_col1"&amp;gt;
            &amp;lt;param name="savedSearch"&amp;gt;$mySavedSearchVariable$&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I know the variable is getting passed into the page, as other splunk elements can read it. Why would HiddenSavedSearch not be able to? If this is an oversight, are there plans to fix or is there a workaround? This search in question can contain up to 50,000 events or more and would be viewed by many different users. The HiddenSavedSearch is nice as it brings the results back almost instantly.&lt;/P&gt;

&lt;P&gt;Now of course, I could hard code the name of the search, but the idea was to create an events dashboard that I could feed any HiddenSavedSearch name to.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;P.S. - I should add that I am using Sideview Utils. Sounds like the savedsearch module in sideview would give me this functionality, but also sounds like it cant (yet) load last run search results.&lt;/P&gt;

&lt;P&gt;This was kind of asked, but then self answered with a (less than ideal) hack in this post:&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/39664/dynamic-saved-search-foo-substitution"&gt;http://splunk-base.splunk.com/answers/39664/dynamic-saved-search-foo-substitution&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2012 16:06:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82457#M5270</guid>
      <dc:creator>pj</dc:creator>
      <dc:date>2012-03-01T16:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: HiddenSavedSearch not taking a $variable$</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82458#M5271</link>
      <description>&lt;P&gt;HiddenSavedSearch is not a Sideview module, but rather a module in the core Splunk UI.   Although almost all params in Sideview Utils modules support $foo$ substitution,  very few of them in the core Splunk UI do, and I'm afraid the HiddenSavedSearch module's savedSearch param is not one of them.&lt;/P&gt;

&lt;P&gt;Sideview Utils has a module called "SavedSearch".   Unfortunately as you correctly guessed, that module has never been given the ability to pull jobs previously run by the scheduler,   and notably it also does not support $foo$ substitution on it's "savedSearch" param.    My apologies on both counts.   &lt;/P&gt;

&lt;P&gt;As to giving SavedSearch the ability to pull jobs previously run by the scheduler:  I'm actually quite surprised I've been able to go this long without anybody emailing me to ask for that.  (email me and nag me about it and I'll get it done)&lt;/P&gt;

&lt;P&gt;As to the "savedSearch" param not doing $foo$ substitution...  Well that's a bit trickier because  loading the saved search is generally something that you'd do at page-load time,  and not something we can just reload at runtime when an upstream value changes...   I'll think about it though and it's certainly not impossible. &lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2012 07:02:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82458#M5271</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2012-03-02T07:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: HiddenSavedSearch not taking a $variable$</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82459#M5272</link>
      <description>&lt;P&gt;I am passing the page the variable of the saved search from another page before that - so the variable should absolutely be available at page load time. I am then leveraging the sideview URL loader on the new page:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;module name="URLLoader" layoutPanel="panel_row1_col1" autoRun="True"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I will shoot you a mail. However, in the mean time - am I a little up the creek without a paddle?, or is there some kind of workaround other than using | loadjob in the search module, as the other post suggests that I referred to in my question (which, incidentally is able to take a variable..)&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2012 19:47:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82459#M5272</guid>
      <dc:creator>pj</dc:creator>
      <dc:date>2012-03-02T19:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: HiddenSavedSearch not taking a $variable$</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82460#M5273</link>
      <description>&lt;P&gt;A little bit.   If it's OK for the substitution to be only at pageload time, directly from the URL, then I can do that.   Yes, Search will certainly do $foo$ substitution (Note that Search is a Sideview module, although users are increasingly coming to assume that it's a core module).  But no, I cant think of a paddle for you that's any better than loadjob.  That's to say I can think of several, but they're all considerably more complicated.  In the long run I'll certainly see what I can do.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2012 19:51:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82460#M5273</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2012-03-02T19:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: HiddenSavedSearch not taking a $variable$</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82461#M5274</link>
      <description>&lt;P&gt;did this issue get resolved on Splunk 5.0 or on new sideview? i have two dashboards created for 2 diffrent host with exactly the same saved searchs used on both of them and i need to consolidate those two dashboards in one single dashboard using the saved search but i need to pass "host" parameter dynamically to this saved search and unable to do that. did you find any workarround for this?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2013 13:07:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82461#M5274</guid>
      <dc:creator>royimad</dc:creator>
      <dc:date>2013-02-25T13:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: HiddenSavedSearch not taking a $variable$</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82462#M5275</link>
      <description>&lt;P&gt;I have similar issue and i was wondering how did you fix this ?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2013 13:09:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82462#M5275</guid>
      <dc:creator>royimad</dc:creator>
      <dc:date>2013-02-25T13:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: HiddenSavedSearch not taking a $variable$</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82463#M5276</link>
      <description>&lt;P&gt;The SavedSearch module still does not do $foo$ substitution even with latest Sideview Utils.  Way back in 2.0 though it did get a useHistory param that can be Auto, False or True.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2013 17:31:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82463#M5276</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-02-25T17:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: HiddenSavedSearch not taking a $variable$</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82464#M5277</link>
      <description>&lt;P&gt;What's the status on this? I'd love to be able to use $foo$ substitution with HiddenSavedSearches. It's been two years since the last post and so I figured that I'd ask&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2015 21:23:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/HiddenSavedSearch-not-taking-a-variable/m-p/82464#M5277</guid>
      <dc:creator>Splunkster45</dc:creator>
      <dc:date>2015-01-30T21:23:17Z</dc:date>
    </item>
  </channel>
</rss>

