how to fetch value from search text box and pass the value to query to get results?
Hi @Jasmine,
are you speaking of a text box input, I suppose?
If this is your need, it's easy:
you have to create the text box input by GUI
<input id="text_box" type="text" token="text_box">
<label>Text Box</label>
<default>*</default>
<initialValue>*</initialValue>
</input>
and then, in the main searches in you dashboard add the token:
<your_search> $text_box$
| ...
In this way, you performa a full text search on your events.
Ciao.
Giuseppe
Hi @Jasmine,
are you speaking of a text box input, I suppose?
If this is your need, it's easy:
you have to create the text box input by GUI
<input id="text_box" type="text" token="text_box">
<label>Text Box</label>
<default>*</default>
<initialValue>*</initialValue>
</input>
and then, in the main searches in you dashboard add the token:
<your_search> $text_box$
| ...
In this way, you performa a full text search on your events.
Ciao.
Giuseppe
Hi @Jasmine ,
good for you, see next time!
Ciao and happy splunking
Giuseppe
P.S.: Karma Points are appreciated 😉