Hi,
We want to assign a value to input text box depending on checkbox values selected in the dashboard. User should also able to update the values in text box.
We want user able to update the search condition, depending on attributes selected. Search results will be displayed depending on the search condition.
Is it possible with splunk dashbord ?
@praspai,
Try
<form>
<fieldset submitButton="false" autoRun="false">
<input type="checkbox" token="attribute">
<label>Attribute</label>
<choice value="Receiver=" "">Receiver</choice>
<choice value="Status=" "">Status</choice>
<choice value="UserStatus=" "">UserStatus</choice>
<choice value="*">All</choice>
<delimiter> AND </delimiter>
<change>
<set token="srcFilter">$attribute$</set>
</change>
</input>
<input type="text" token="searchFilter" searchWhenChanged="true">
<label>Search</label>
<default>$srcFilter$</default>
<initialValue>$srcFilter$</initialValue>
</input>
</fieldset>
<row>
<panel>
<html>
<h1>This is my search filter from text box $searchFilter$</h1>
</html>
</panel>
</row>
</form>
@praspai,
Try
<form>
<fieldset submitButton="false" autoRun="false">
<input type="checkbox" token="attribute">
<label>Attribute</label>
<choice value="Receiver=" "">Receiver</choice>
<choice value="Status=" "">Status</choice>
<choice value="UserStatus=" "">UserStatus</choice>
<choice value="*">All</choice>
<delimiter> AND </delimiter>
<change>
<set token="srcFilter">$attribute$</set>
</change>
</input>
<input type="text" token="searchFilter" searchWhenChanged="true">
<label>Search</label>
<default>$srcFilter$</default>
<initialValue>$srcFilter$</initialValue>
</input>
</fieldset>
<row>
<panel>
<html>
<h1>This is my search filter from text box $searchFilter$</h1>
</html>
</panel>
</row>
</form>