Forum Discussion

j0ebeer's avatar
j0ebeer
Copper Contributor
Apr 01, 2024
Solved

Add a search button to a workbook?

Can I add a search to a workbook?  For example I'd to click a button to search for an IP across all logs.  I'd like to put something near the top that would let me input the IP address and then click a button that would run the search in the Logs window.  Is this possible?

 

TIA, Joe

  • j0ebeer 

     

    You could add a parameter and a query that uses that value?

    The important part is to pass the name of the parameter (I called mine: enterIP) into the query, you need to put '{ }' around it.  e.g.  

    search "{enterIP}"



    I'd also, in the query modify the [advanced setting] to only show the query if there is a value in the text parameter 

     


    Which would look like:

     

     

1 Reply

  • Clive_Watson's avatar
    Clive_Watson
    Bronze Contributor

    j0ebeer 

     

    You could add a parameter and a query that uses that value?

    The important part is to pass the name of the parameter (I called mine: enterIP) into the query, you need to put '{ }' around it.  e.g.  

    search "{enterIP}"



    I'd also, in the query modify the [advanced setting] to only show the query if there is a value in the text parameter 

     


    Which would look like:

     

     

Resources