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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...