To learn how to create a custom form search and use check boxes/radio buttons, the following link will start you from the beginning:
For more information on setting up radio buttons, which are like check boxes, the following link describes it in detail:
<input type="checkbox" searchWhenChanged="true" token="Index">
</input>
Now, if you have a checkbox checked for index3 and index4, then your search would be this:
index=$Index$
$Index$ would be "index3" AND index="index4"
so it would appear in the search as
index="index3" AND index="index4"
Do you mean you want to use a Checkbox module in a search interface? Your use of the word 'index' confuses me because this sounds like you want to use it somehow when you're setting up Splunk to index the data instead.
If you want a Checkbox module for searching, I develop an app called Sideview Utils which is available on Splunkbase, and it contains 20-some views of embedded documentation and examples. One of the many things it offers to augment the default Splunk UI, is a Checkbox module. Download the app and check it out. It unlocks a lot of things and makes many familiar tasks in view development a lot easier.
To learn how to create a custom form search and use check boxes/radio buttons, the following link will start you from the beginning:
For more information on setting up radio buttons, which are like check boxes, the following link describes it in detail:
Note: the Splunk core advanced XML does not have a checkbox module, (which of course means the Simplified XML doesn't either, since simplified is just a macro layer to the advanced xml underneath). I think this question was probably looking for a Checkbox module, hence looking for Sideview Utils / Sideview Development Kit.