Dashboards & Visualizations

How to display only certain fields from data source in table for dashboard studio?

Path Finder


I have been building a dashboard in dashboard studio and was looking for some help wrt implementing the fields option in XML dashboard in dashboard studio

If my panel in XML dashboard has like 5 fields and I want to display only 3 in the table, we can use this


However when I download the panel results, I will still be able to view all the 5 fields with this


I am looking to do something same in dashboard studio and I am not able to get the functionality. I have tried using header option in Table option and didn't get any success.


"type": "splunk.table",
"options": {
"tableFormat": {
"headerBackgroundColor": "#0E6162",
"rowBackgroundColors": "> table | seriesByIndex(0) | pick(tableAltRowBackgroundColorsByBackgroundColor)",
"rowColors": "> rowBackgroundColors | maxContrast(tableRowColorMaxContrast)",
"headerColor": "> headerBackgroundColor | maxContrast(tableRowColorMaxContrast)"
"backgroundColor": "#ffffff",
"table": "> [\"field1\",\"field2\"]", -> didnt work
"headers": "> table | getField([\"field1\",\"field2\"])", -> didnt work
"showInternalFields": false
"dataSources": {
"primary": "ds_TlbXBz5i"
"context": {},
"showProgressBar": false,
"showLastUpdated": false
Labels (2)
0 Karma
Get Updates on the Splunk Community!

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...