Dashboards & Visualizations

Getting [/inputs/index_filter]: must NOT have additional properties when I'm trying to save the dashboard below.

NanSplk01
Communicator
{
    "title""Index Ownership Lookup",
    "description""Search index ownership and contact details from CSV lookup data.",
    "theme""light",
    "inputs": {
        "index_filter": {
             "type""input.text",
             "title""Search Index Name",
             "token""index_filter",
             "defaultValue"""

             }
    },
    "dataSources": {
        "ds_index_lookup": {
            "type""ds.search",
            "options": {
                "query""| inputlookup index_ownership.csv | eval index_lc=lower(index) | where \"$index_filter$\"=\"\" OR like(index_lc, \"%\" . lower(\"$index_filter$\") . \"%\") | fields index Owner Contact | sort index"
            }
        }
    },
    "visualizations": {
        "index_table": {
            "type""splunk.table",
            "dataSources": {
                "primary""ds_index_lookup"
            },
            "options": {
                "rowNumbers"true,
                "wrap"true,
                "cellPadding""compact"
            }
        }
    },
    "layout": {
        "tabs": {
            "items": [
                {
                    "layoutId""layout_1",
                    "label""New tab"
                }
            ]
        },
        "layoutDefinitions": {
            "layout_1": {
                "type""absolute",
                "structure": [
                    {
                        "item""index_table",
                        "type""block",
                        "position": {
                            "x"0,
                            "y"0,
                            "w"1440,
                            "h"650
                        }
                    }
                ]
            }
        }
    }
}
 
I have tried taking out the extra properties, but it just gives me a different error.  This dashboard will be reading a csv file which does exist.  How can I fix this so that the app will run?
Labels (2)
Tags (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Try like this

    "inputs": {
        "index_filter": {
             "type": "input.text",
             "title": "Search Index Name",
             "options": {
                  "token": "index_filter",
                  "defaultValue": ""
             }
        }
    },
0 Karma

NanSplk01
Communicator

Unfortunately adding that gives me:  

[Error: Input is not present in the global inputs structure or layout structure]: Input "index_filter" is defined but not used in either the Global Inputs Structure or in any Layout Structure

 "inputs": {
        "index_filter": {
             "type""input.text",
             "title""Search Index Name",
             "options": {
                "token""index_filter",
                "defaultValue"""
                }

             }
    },

 

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

OK so the error message tells you what to do!

    "layout": {
        "globalInputs": [
            "index_filter"
        ],
0 Karma
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!

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...

Upgrade Prep for 10.4, Network Observability Deep Dives, and More from Splunk Lantern

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

Splunk Developer Day announcements: AI agents, MCP tools, Forecasting, and Custom ...

Splunk Developer Day was packed with product and platform updates for developers building in the AI ...