Dashboards & Visualizations

How to enable pagination in dashboard with Trellis single values

ramgnisiv
Path Finder

Hi Splunkers,

I have developed a dashboard that contains Single Value results in a Trellis layout.
The dashboard is displaying data based on a token that is passed from a different dashboard.

All is working like a charm.

There is 1 problem: When the number of results exceeds 20, i want to have the pagination option so users can scroll through the results.

How do i enable this? I can't find a Simple XML option for Trellis that does this.

By the way: If i run the search via the Search option and i visualise it there using Trellis, i get the pagination button and i'm able to paginate through the search results perfectly. This just doesn't seem to work when i run the same search in a Dashboard Panel.

O yeah, Sorting Trellis results would take care of a lot of headaches, but that doesn't seem to be possible yet with Splunk.

0 Karma
1 Solution

ramgnisiv
Path Finder

The problem was with a CSS setting.

The following setting was originally in the XML:

.facets-mode-active .action-bar { display: none; }

This has been changed to the new setting:

.facets-mode-active .action-bar { display: all; }

By setting display to all this has solved the issue.

View solution in original post

0 Karma

ramgnisiv
Path Finder

The problem was with a CSS setting.

The following setting was originally in the XML:

.facets-mode-active .action-bar { display: none; }

This has been changed to the new setting:

.facets-mode-active .action-bar { display: all; }

By setting display to all this has solved the issue.

0 Karma

ramgnisiv
Path Finder

Probably this is caused by a CSS setting. Investigating now. When all CSS is removed, pagination is working as expected. Will update the question when CSS issue is found and resolved.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...