Skip to content

Instantly share code, notes, and snippets.

@sexibytes
Created March 6, 2015 13:55
Show Gist options
  • Select an option

  • Save sexibytes/f19810766d1780e7d435 to your computer and use it in GitHub Desktop.

Select an option

Save sexibytes/f19810766d1780e7d435 to your computer and use it in GitHub Desktop.
SexiBoard:LogicalSession
{
"title": "SexiBoard:LogicalSession",
"services": {
"query": {
"list": {
"0": {
"id": 0,
"type": "lucene",
"query": "logicalsession AND hostname:(VC001)",
"alias": "VC001",
"color": "#508642",
"pin": false,
"enable": true
},
"1": {
"id": 1,
"color": "#EAB839",
"alias": "VC002",
"pin": false,
"type": "lucene",
"enable": true,
"query": "logicalsession AND hostname:(VC002)"
},
"2": {
"id": 2,
"color": "#6ED0E0",
"alias": "VC003",
"pin": false,
"type": "lucene",
"enable": true,
"query": "logicalsession AND hostname:(VC003)"
},
"3": {
"id": 3,
"color": "#E24D42",
"alias": "VC004",
"pin": false,
"type": "lucene",
"enable": true,
"query": "logicalsession AND hostname:(VC004)"
}
},
"ids": [
0,
1,
2,
3
]
},
"filter": {
"list": {
"0": {
"type": "time",
"field": "@timestamp",
"from": "now-24h",
"to": "now",
"mandate": "must",
"active": true,
"alias": "",
"id": 0
}
},
"ids": [
0
]
}
},
"rows": [
{
"title": "Graph",
"height": "350px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 12,
"editable": true,
"group": [
"default"
],
"type": "histogram",
"mode": "mean",
"time_field": "@timestamp",
"value_field": "ScoreboardStats",
"auto_int": true,
"resolution": 100,
"interval": "10m",
"fill": 2,
"linewidth": 2,
"timezone": "browser",
"spyable": true,
"zoomlinks": true,
"bars": false,
"stack": false,
"points": true,
"lines": true,
"legend": true,
"x-axis": true,
"y-axis": true,
"percentage": false,
"interactive": true,
"queries": {
"mode": "all",
"ids": [
0,
1,
2,
3
]
},
"title": "Events over time",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1M",
"1y"
],
"options": true,
"tooltip": {
"value_type": "individual",
"query_as_alias": true
},
"scale": 1,
"y_format": "none",
"grid": {
"max": null,
"min": 0
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"pointradius": 3,
"show_query": true,
"legend_counts": true,
"zerofill": false,
"derivative": false
}
],
"notice": false
},
{
"title": "Events",
"height": "350px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"title": "All events",
"error": false,
"span": 12,
"editable": true,
"group": [
"default"
],
"type": "table",
"size": 100,
"pages": 50,
"offset": 0,
"sort": [
"@timestamp",
"desc"
],
"style": {
"font-size": "9pt"
},
"overflow": "min-height",
"fields": [],
"localTime": true,
"timeField": "@timestamp",
"highlight": [],
"sortable": true,
"header": true,
"paging": true,
"spyable": true,
"queries": {
"mode": "all",
"ids": [
0,
1,
2,
3
]
},
"field_list": true,
"status": "Stable",
"trimFactor": 300,
"normTimes": true,
"all_fields": false
}
],
"notice": false
}
],
"editable": true,
"failover": false,
"index": {
"interval": "day",
"pattern": "[logstash-]YYYY.MM.DD",
"default": "NO_TIME_FILTER_OR_INDEX_PATTERN_NOT_MATCHED",
"warm_fields": true
},
"style": "dark",
"panel_hints": true,
"pulldowns": [
{
"type": "query",
"collapse": false,
"notice": false,
"query": "*",
"pinned": true,
"history": [
"logicalsession AND hostname:(VC004)",
"logicalsession AND hostname:(VC003)",
"logicalsession AND hostname:(VC002)",
"logicalsession AND hostname:(VC001)",
"logicalsession AND hostname:(PARG1PVC004)",
"logicalsession AND hostname:(EQDG1PVC003)",
"logicalsession AND hostname:(EQDG1PVC002)",
"logicalsession AND hostname:(EQDG1PVC001)",
"VdbStatement AND hostname:(PARG1PVC004)",
"VdbStatement AND hostname:(EQDG1PVC003)"
],
"remember": 10,
"enable": true
},
{
"type": "filtering",
"collapse": true,
"notice": true,
"enable": true
}
],
"nav": [
{
"type": "timepicker",
"collapse": false,
"notice": false,
"status": "Stable",
"time_options": [
"5m",
"15m",
"1h",
"2h",
"6h",
"12h",
"18h",
"24h",
"2d",
"7d",
"30d"
],
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"timefield": "@timestamp",
"now": true,
"filter_id": 0,
"enable": true
}
],
"loader": {
"save_gist": false,
"save_elasticsearch": true,
"save_local": true,
"save_default": true,
"save_temp": true,
"save_temp_ttl_enable": true,
"save_temp_ttl": "30d",
"load_gist": true,
"load_elasticsearch": true,
"load_elasticsearch_size": 20,
"load_local": true,
"hide": false
},
"refresh": "5m"
}
@Wicaeed
Copy link

Wicaeed commented Mar 26, 2015

How can we edit this file to include our own vCenter name? Every time I make edits and try to import as a new Dashboard I'm told that my code is malformed.

@rschitz
Copy link

rschitz commented Apr 2, 2015

Do it in Kibana after the import then save

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment