Splunk Search

Custom expand table row visulization

tomasmoser
Contributor

Hi Team,

I have a simple table that I want to show in a dashboard - user search history. Columns "_time" and "search". On top of that I want to see ONLY first line from every row with a search where this search span multiple lines - expandable row with little "arrow" on the left side.

This is probably done via some JavaScript file and custom vizualisation logic. I have seen many examples but none such simple - usually expanded row provide some additional search. I do not want that. Can someone give me a .js code example to achieve my goal?

I want the same output as here in "Search and Reporting" app under "Search History".

Tomas

0 Karma

woodcock
Esteemed Legend
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...