Hi @ITWhisperer I'm using dashboard studio. Here is my source code {
"title": "ButterCup Game",
"description": "",
"inputs": {
"input_global_trp": {
"options": {
"defaultValue": "0,",
"token": "global_time"
},
"title": "Global Time Range",
"type": "input.timerange"
},
"input_wAcCA79n": {
"options": {
"defaultValue": "*",
"items": [
{
"label": "All",
"value": "*"
},
{
"label": "ACCESSORIES",
"value": "ACCESSORIES"
},
{
"label": "ARCADE",
"value": "ARCADE"
},
{
"label": "SHOOTER",
"value": "SHOOTER"
},
{
"label": "SIMULATION",
"value": "SIMULATION"
},
{
"label": "SPORTS",
"value": "SPORTS"
},
{
"label": "STRATEGY",
"value": "STRATEGY"
},
{
"label": "TEE",
"value": "TEE"
}
],
"token": "dd_token"
},
"title": "Game Categories",
"type": "input.dropdown"
}
},
"defaults": {
"dataSources": {
"ds.search": {
"options": {
"queryParameters": {
"earliest": "$global_time.earliest$",
"latest": "$global_time.latest$"
}
}
}
}
},
"visualizations": {
"viz_t3jLGiwh": {
"dataSources": {
"primary": "ds_V5vxqc3K"
},
"title": "Sales count by product",
"type": "splunk.pie"
}
},
"dataSources": {
"ds_V5vxqc3K": {
"name": "CategorySales",
"options": {
"query": "index=web sourcetype=\"access_combined\" status=200 product_name=* categoryId=$dd_token$\n| stats count by product_name",
"queryParameters": {
"earliest": "$global_time.earliest$",
"latest": "$global_time.latest$"
}
},
"type": "ds.search"
}
},
"layout": {
"globalInputs": [
"input_global_trp",
"input_wAcCA79n"
],
"layoutDefinitions": {
"layout_1": {
"options": {
"height": 960,
"width": 1440
},
"structure": [
{
"item": "viz_t3jLGiwh",
"position": {
"h": 400,
"w": 1440,
"x": 0,
"y": 0
},
"type": "block"
}
],
"type": "grid"
},
"layout_AfZAhYi7": {
"structure": [],
"type": "grid"
}
},
"options": {},
"tabs": {
"items": [
{
"label": "Inventory",
"layoutId": "layout_1"
},
{
"label": "Sales",
"layoutId": "layout_AfZAhYi7"
}
]
}
}
}
... View more