Unable to add expand action button in custom logs table

I have built a severity dashboard which has multiple panels, one of which need a expand button integrated into the table which will provide a JSON output of all the unique information on the log. Coding it in Vega has not given me any fruitful results till now, and adding the drilldown option in Kibana is not applicable with the license i currently have, any suggestions?


The table has been made in TSVB as of now