Sample dashboard {
"visualizations": {
"viz_3hKq7uoX": {
"type": "splunk.singlevalue",
"options": {},
"dataSources": {
"primary": "ds_...
See more...
Sample dashboard {
"visualizations": {
"viz_3hKq7uoX": {
"type": "splunk.singlevalue",
"options": {},
"dataSources": {
"primary": "ds_a2mWNgri"
}
},
"viz_JUFcFWVl": {
"type": "splunk.singlevalue",
"options": {},
"dataSources": {
"primary": "ds_LbaP4o2H"
}
}
},
"dataSources": {
"ds_a2mWNgri": {
"type": "ds.search",
"options": {
"query": "| makeresults\n| eval selected_total = count($element$)\n| table selected_total"
},
"name": "Search_eval"
},
"ds_LbaP4o2H": {
"type": "ds.search",
"options": {
"query": "| makeresults\n| stats count($element$) as selected_total\n| table selected_total"
},
"name": "Search_stats"
}
},
"defaults": {
"dataSources": {
"ds.search": {
"options": {
"queryParameters": {
"latest": "$global_time.latest$",
"earliest": "$global_time.earliest$"
}
}
}
}
},
"inputs": {
"input_global_trp": {
"type": "input.timerange",
"options": {
"token": "global_time",
"defaultValue": "-24h@h,now"
},
"title": "Global Time Range"
},
"input_QDGCxYVt": {
"options": {
"items": [
{
"label": "Apple",
"value": "a"
},
{
"label": "Banana",
"value": "b"
},
{
"label": "Coconut",
"value": "c"
},
{
"label": "Dragonfruit",
"value": "d"
},
{
"label": "Elderberry",
"value": "e"
},
{
"label": "Fig",
"value": "f"
},
{
"label": "Grape",
"value": "g"
}
],
"token": "element"
},
"title": "Select something",
"type": "input.multiselect"
}
},
"layout": {
"type": "absolute",
"options": {
"width": 1440,
"height": 960,
"display": "auto"
},
"structure": [
{
"item": "viz_3hKq7uoX",
"type": "block",
"position": {
"x": 20,
"y": 20,
"w": 250,
"h": 250
}
},
{
"item": "viz_JUFcFWVl",
"type": "block",
"position": {
"x": 290,
"y": 20,
"w": 250,
"h": 250
}
}
],
"globalInputs": [
"input_global_trp",
"input_QDGCxYVt"
]
},
"description": "test",
"title": "test"
}