All Apps and Add-ons

How to Select rows of a table using checkboxes ?

bkumarm
Contributor

I have a requirement to display a lookup table which looks like below:

hostname user index status Select
abc.xy.com user1 idx1 Y √
abc.xy.com user2 idx2 Y √
abc.xy.com user3 idx3 Y √
abd.xy.com user1 idx1 Y √

Basically the last column needs to be a checkbox. Suppose the first row is selected. I need a search query that updates the lookuptable and the output should look like below:

hostname user index status Select
abc.xy.com user1 idx1 N

abc.xy.com user2 idx2 Y √
abc.xy.com user3 idx3 Y √
abd.xy.com user1 idx1 Y √

I need help in creating a dashboard ( form) with such display. Anyone has done this implementation. please share.

0 Karma

aromanauskas
Path Finder

This is going to need both js and css to to work.

See the answer here: https://answers.splunk.com/answers/587089/multiselect-table-rows.html

You'll really want to create an app specifically for this dashboard/collection of dashboards so you don't mess with the static css/js for the search app.

0 Karma

vasanthi77
Explorer

I do have the same requirement . Can you let me know how you achieved this Please?

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust
0 Karma

woodcock
Esteemed Legend

This is typically done with a dropdown and multi-select.

0 Karma

bkumarm
Contributor

actually we did that using dropdowns .. somehow the usecase seemed to be more user friendly when we display the content of the entire row and select the rows that are required.

Thanks

0 Karma

woodcock
Esteemed Legend

I suspect you will have to go javascript and build everything.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...