Splunk Search

[Dashboard studio] Hiding sort indicators in table

wp-uk-36
Explorer

Hi, 

Is it possible to hide sort indicators in the headers of a table in Dashboard studio?

Thank you

Labels (1)
0 Karma

tscroggins
Champion

Hi @wp-uk-36,

This solution also disables pagination, but you can pre-sort your data source search, set the visualization count option to the desired number of rows, and then set the visualization paginateDataSourceKey option to an empty string:

{
    ...,
    "visualizations": {
        "viz_xxx": {
            "dataSources": {
                "primary": "ds_xxx"
            },
            "options": {
                "count": 100,
                "paginateDataSourceKey": ""
            },
            "type": "splunk.table"
        }
    },
    ...
}

The sort indicators are still visible, but clicking a header cell will have no effect.

wp-uk-36
Explorer

That won't work, I need sort indicators gone visually. They take up space on screen so when a large number of columns is displayed some columns end up being squashed. If sort indicators were absent those wouldn't be squashed.

Thank you for taking the time to reply though, I appreciate it.

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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...