I am working on the Splunk APP for the first time. So would like to know if I can create a Customized UI where I can I have a dropdown (which is dynamically populated from my search query). And when one of the items from dropdown is clicked, some other search events run.
I got links on how to use search query using Java SDK. Can anyone point me to the location from where I can use Java SDK to create an APP having dropdown and other related search, dashboard and report information.
Clone the repository from github and browse the examples.
I think Option 2 is more suitable for our application as I need process the search result after the populated dropdown info. Thanks for that.
I am saying that you have 2 options and if you only want a populated dropdown, option 1 is going to be simpler and quicker to build.
Option 1 : Create an Advanced XML form via Splunk Web.
All you really need to do is execute a search, process the search result set (in XML, CSV or JSON), and fill your dropdown component.
Exactly this is what i have been looking for. But not finding any suitable examples done earlier.
Yes of course you can.
You would have to code this functionality in your custom UI yourself.