I want to pass value form driilldown to another view but its not working .Drill down redirecting to another view but in that view iam not able to get that value iam getting null value in that view. What could be the issue .Please help
this is what i have tried
My table looks like this:
iam trying to get the value which is coming under value and have written a serch on that in another view.
You almost had it!
Keep in mind that you are passing a 'search string' (rather than a 'context', which contains things like 'click.value' and the intention to be string-replaced) to the second view. Therefore, you need to get the full search string in the first view before you pass it on to the second view.
Try something like this below the SimpleResultsTable in the first view:
The second view will receive the search string with the replacement already done, and will use this explicit search string in the view. Thus, you shouldn't need the HiddenSearch in the second view unless you intend on also using this same view in non-drilldown scenarios.
answered 21 May '12, 08:59
If you're interested in giving yourself an easier way to do this, as well as to do many other things, you should check out Sideview Utils.
The 1.3.X version of Sideview Utils is available from Splunkbase under an LGPL license.
Anyway, with either the older or the new versions, this has been in Sideview Utils for a while and you can greatly simplify linking from page to page as follows:
Here's what your XML would look like if you switched. Note Search, HTML, Pager, Redirector and URLLoader are all Sideview modules that get loaded from Utils and that just fit in as available modules right along the core modules.
Then, if say the user clicks on a row where $click.value$ is "fred", the table clicks then send the user to `nameOfMyTargetView?myPassedValue=fred.
And the target view would just look like this. (Note that I've taken the liberty of replacing your SingleValue modules with simple HTML. If you don't like rolling your own CSS and customizing the look and feel, you may prefer to keep using SingleValue though).
Note that TONS more information, documentation and examples are available inside Sideview Utils.