{
"visualizations": {
"viz_yxqQUaLH": {
"type": "splunk.table",
"options": {
"columnFormat": {
"Websphere": {
...
See more...
{
"visualizations": {
"viz_yxqQUaLH": {
"type": "splunk.table",
"options": {
"columnFormat": {
"Websphere": {
"rowBackgroundColors": "> table | seriesByName(\"Websphere\") | matchValue(nameColumnFormatConfig)"
},
"GUI": {
"rowBackgroundColors": "> table | seriesByName(\"GUI\") | matchValue(nameColumnFormatConfig)"
}
},
"backgroundColor": "transparent",
"tableFormat": {
"rowBackgroundColors": "> table | seriesByIndex(0) | pick(tableRowBackgroundColorsByBackgroundColor)",
"headerBackgroundColor": "> backgroundColor | setColorChannel(tableHeaderBackgroundColorConfig)",
"rowColors": "> rowBackgroundColors | maxContrast(tableRowColorMaxContrast)",
"headerColor": "> headerBackgroundColor | maxContrast(tableRowColorMaxContrast)"
}
},
"dataSources": {
"primary": "ds_1ZOKlMox"
},
"context": {
"nameColumnFormatConfig": [
{
"match": "DOWN",
"value": "#FF0000"
},
{
"match": "UP",
"value": "#00FF00"
}
]
}
}
},
"dataSources": {
"ds_1ZOKlMox": {
"type": "ds.search",
"options": {
"query": "| makeresults\n| eval Websphere=mvindex(split(\"DOWN,UP\",\",\"),random()%2)\n| eval GUI=mvindex(split(\"DOWN,UP\",\",\"),random()%2)\n| table Websphere GUI",
"queryParameters": {
"earliest": "-24h@h",
"latest": "now"
}
},
"name": "Search_2"
}
},
"defaults": {
"dataSources": {
"ds.search": {
"options": {
"queryParameters": {
"latest": "$global_time.latest$",
"earliest": "$global_time.earliest$"
}
}
}
}
},
"inputs": {},
"layout": {
"type": "absolute",
"options": {
"width": 1440,
"height": 960,
"display": "auto"
},
"structure": [
{
"item": "viz_yxqQUaLH",
"type": "block",
"position": {
"x": 20,
"y": 20,
"w": 480,
"h": 230
}
}
],
"globalInputs": []
},
"description": "",
"title": "Webstatus"
}