Refine your search:

I'm desiging a dashboard with Advanced XML & using Sideview Utils v 2.4.9. The first search returns a Table of results. When a row is click, another search is launched which returns another table with drilled down results.

What I would like to do:

-drill down search loads the table -user clicks the "zoom out" link or "zoom in" link -the second search is re-launched with 10 seconds added or subtracted to the current -'earliest' and 'latest' values of the search

Here's some Advanced XML to help understand where I'm at and what I'm looking to do:

<module name="TextField">
    <param name="template">user=$value$</param>
    <param name="label">user</param>
    <param name="name">user</param>
        <module name="TimeRangePicker" layoutPanel="panel_row1_col1">
                <module name="Button">
                        <module name="Search" layoutPanel="panel_row2_col1">
                                <param name="search"><![CDATA[index="my_index" $user$ |  eval et=_time - 100 | eval lt=_time + 100  | table _time user lt et]]></param>
                                            <module name="Table">
                                                <param name="hiddenFields">lt,et</param>                                
                                                        <module name="Search" layoutPanel="panel_row2_col2">
                                                                    <param name="search"><![CDATA[ index="my_index" latest=$row.fields.lt$ earliest=$row.fields.et$ | table _time user status | sort _time]]></param>
                                                                            <module name="Table"/>
                                                            </module>
                                        </module>
                         </module>
                 </module>
         </module>
</module>

My inclination is to use a CustomBehavior Module in conjunction with the HTML Module that contains links that launch a JavaScript function stored in application.js. I've dangerously familiar with JavaScript, CustomBehaviors and can most likely figure this out if I get a little push in the right direction.

asked 04 Jun '13, 12:30

jpass's gravatar image

jpass
444139
accept rate: 13%

Be the first one to answer this question!
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×856
×361
×11
×8

Asked: 04 Jun '13, 12:30

Seen: 307 times

Last updated: 04 Jun '13, 12:30

Copyright © 2005-2014 Splunk Inc. All rights reserved.