Hi @jaibalaraman, Here's a static example that uses separate elements to display a Sankey-like bar: {
"visualizations": {
"viz_GGlMQrhz": {
"type": "splunk.rectangle",
"options": {
"fillColor": "#5a4575",
"strokeColor": "#5a4575"
}
},
"viz_sdLspBWZ": {
"type": "splunk.rectangle",
"options": {
"fillColor": "#5a4575",
"strokeColor": "#5a4575",
"fillOpacity": 0.5,
"strokeOpacity": 0.5
}
},
"viz_G2e5COXh": {
"type": "splunk.rectangle",
"options": {
"fillColor": "#0877a6",
"strokeColor": "#0877a6"
}
},
"viz_izmTEXa4": {
"type": "splunk.singlevalue",
"options": {
"backgroundColor": "transparent",
"majorFontSize": 20
},
"dataSources": {
"primary": "ds_zydmsUyG"
}
},
"viz_OBDGe1i4": {
"type": "splunk.markdown",
"options": {
"markdown": "****Account Temporarily Locked Out (403120)****",
"fontSize": "custom",
"customFontSize": 20
}
}
},
"dataSources": {
"ds_zydmsUyG": {
"type": "ds.search",
"options": {
"query": "| stats count\n| eval count=123",
"queryParameters": {
"earliest": "0",
"latest": ""
}
},
"name": "Search_1"
}
},
"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"
}
},
"layout": {
"type": "absolute",
"options": {
"width": 1440,
"height": 960,
"display": "auto"
},
"structure": [
{
"item": "viz_GGlMQrhz",
"type": "block",
"position": {
"x": 0,
"y": 0,
"w": 20,
"h": 70
}
},
{
"item": "viz_sdLspBWZ",
"type": "block",
"position": {
"x": 20,
"y": 0,
"w": 510,
"h": 70
}
},
{
"item": "viz_G2e5COXh",
"type": "block",
"position": {
"x": 530,
"y": 0,
"w": 20,
"h": 70
}
},
{
"item": "viz_izmTEXa4",
"type": "block",
"position": {
"x": 430,
"y": 0,
"w": 100,
"h": 70
}
},
{
"item": "viz_OBDGe1i4",
"type": "block",
"position": {
"x": 30,
"y": 20,
"w": 400,
"h": 30
}
}
],
"globalInputs": [
"input_global_trp"
]
},
"description": "",
"title": "Sankey-like"
}
... View more