SOLVED

Add a search button to a workbook?

Copper Contributor

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

1 Reply
best response confirmed by j0ebeer (Copper Contributor)
Solution

@j0ebeer 

 

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

Clive_Watson_0-1712052366620.png

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 

Clive_Watson_1-1712052455422.png

 


Which would look like:

Clive_Watson_2-1712052580852.png

 

 

1 best response

Accepted Solutions
best response confirmed by j0ebeer (Copper Contributor)
Solution

@j0ebeer 

 

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

Clive_Watson_0-1712052366620.png

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 

Clive_Watson_1-1712052455422.png

 


Which would look like:

Clive_Watson_2-1712052580852.png

 

 

View solution in original post