@Sudhagar Are you looking something like this? Attached image. I created using some dummy data with static values. { "title": "Static CPU Usage Charts per Host", "visualizations": { "viz_host123": { "dataSources": { "primary": "ds_host123" }, "options": { "legendPlacement": "right", "xAxisTitle": "Time", "yAxisTitle": "CPU Usage (%)" }, "title": "host123 - CPU Usage %", "type": "splunk.line" }, "viz_host456": { "dataSources": { "primary": "ds_host456" }, "options": { "legendPlacement": "right", "xAxisTitle": "Time", "yAxisTitle": "CPU Usage (%)" }, "title": "host456 - CPU Usage %", "type": "splunk.line" }, "viz_host789": { "dataSources": { "primary": "ds_host789" }, "options": { "legendPlacement": "right", "xAxisTitle": "Time", "yAxisTitle": "CPU Usage (%)" }, "title": "host789 - CPU Usage %", "type": "splunk.line" } }, "dataSources": { "ds_host123": { "options": { "query": "| makeresults count=10\n| streamstats count as row\n| eval _time = relative_time(now(), \"-\" . (10 - row) . \"m\")\n| eval host=\"host123\"\n| eval state_list=split(\"user,system,idle\", \",\")\n| mvexpand state_list\n| eval state=state_list\n| eval percent=case(state==\"user\",20+random()%10,state==\"system\",10+random()%5,state==\"idle\",70+random()%10)\n| eval host_state=host.\"_\".state\n| timechart span=1m avg(percent) by host_state", "queryParameters": { "earliest": "-30m", "latest": "now" } }, "type": "ds.search" }, "ds_host456": { "options": { "query": "| makeresults count=10\n| streamstats count as row\n| eval _time = relative_time(now(), \"-\" . (10 - row) . \"m\")\n| eval host=\"host456\"\n| eval state_list=split(\"user,system,idle\", \",\")\n| mvexpand state_list\n| eval state=state_list\n| eval percent=case(state==\"user\",20+random()%10,state==\"system\",10+random()%5,state==\"idle\",70+random()%10)\n| eval host_state=host.\"_\".state\n| timechart span=1m avg(percent) by host_state", "queryParameters": { "earliest": "-30m", "latest": "now" } }, "type": "ds.search" }, "ds_host789": { "options": { "query": "| makeresults count=10\n| streamstats count as row\n| eval _time = relative_time(now(), \"-\" . (10 - row) . \"m\")\n| eval host=\"host789\"\n| eval state_list=split(\"user,system,idle\", \",\")\n| mvexpand state_list\n| eval state=state_list\n| eval percent=case(state==\"user\",20+random()%10,state==\"system\",10+random()%5,state==\"idle\",70+random()%10)\n| eval host_state=host.\"_\".state\n| timechart span=1m avg(percent) by host_state", "queryParameters": { "earliest": "-30m", "latest": "now" } }, "type": "ds.search" } }, "layout": { "layoutDefinitions": { "layout_1": { "options": { "backgroundColor": "transparent" }, "structure": [ { "item": "viz_host123", "position": { "h": 400, "w": 1200, "x": 0, "y": 0 }, "type": "block" }, { "item": "viz_host456", "position": { "h": 400, "w": 1200, "x": 0, "y": 400 }, "type": "block" }, { "item": "viz_host789", "position": { "h": 400, "w": 1200, "x": 0, "y": 800 }, "type": "block" } ], "type": "grid" } }, "tabs": { "items": [ { "label": "New tab", "layoutId": "layout_1" } ] } } }
... View more