Skip to content

Instantly share code, notes, and snippets.

@alq666
Created March 20, 2014 23:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alq666/9675918 to your computer and use it in GitHub Desktop.
Save alq666/9675918 to your computer and use it in GitHub Desktop.
{
"board_bgtype": "board_graph",
"board_title": "Elasticsearch Screenboard",
"height": 160,
"id": 3,
"template_variables": [
{
"default": "*",
"name": "scope"
}
],
"templated": true,
"widgets": [
{
"aggregator": "avg",
"conditional_formats": [
{
"color": "white_on_green",
"comparator": ">=",
"invert": false,
"value": 160
},
{
"color": "white_on_red",
"comparator": "<",
"invert": false,
"value": 160
}
],
"height": 12,
"precision": 0,
"query": "avg:elasticsearch.active_primary_shards{$scope}",
"text_align": "right",
"text_size": "auto",
"timeframe": "5m",
"title": true,
"title_align": "right",
"title_size": 13,
"title_text": "Active Shards",
"type": "query_value",
"unit": "",
"width": 15,
"x": 69,
"y": 0
},
{
"aggregator": "avg",
"conditional_formats": [
{
"color": "white_on_red",
"comparator": ">",
"invert": false,
"value": 0
},
{
"color": "white_on_green",
"comparator": "<=",
"invert": false,
"value": 0
}
],
"height": 5,
"precision": 0,
"query": "avg:elasticsearch.initializing_shards{$scope}",
"text_align": "right",
"text_size": "auto",
"timeframe": "5m",
"title": true,
"title_align": "left",
"title_size": 13,
"title_text": "Initializing",
"type": "query_value",
"unit": "auto",
"width": 8,
"x": 84,
"y": 7
},
{
"aggregator": "avg",
"conditional_formats": [
{
"color": "white_on_yellow",
"comparator": ">",
"invert": false,
"value": 0
},
{
"color": "white_on_green",
"comparator": "<=",
"invert": false,
"value": 0
}
],
"height": 5,
"precision": 0,
"query": "avg:elasticsearch.relocating_shards{$scope}",
"text_align": "right",
"text_size": "auto",
"timeframe": "5m",
"title": true,
"title_align": "left",
"title_size": 13,
"title_text": "Relocating",
"type": "query_value",
"unit": "auto",
"width": 8,
"x": 84,
"y": 0
},
{
"aggregator": "max",
"conditional_formats": [],
"height": 12,
"precision": 0,
"query": "sum:elasticsearch.docs.count{$scope}",
"text_align": "right",
"text_size": "auto",
"timeframe": "1h",
"title": true,
"title_align": "left",
"title_size": 20,
"title_text": "Events",
"type": "query_value",
"unit": "auto",
"width": 24,
"x": 18,
"y": 0
},
{
"height": 16,
"tile_def": {
"events": [],
"requests": [
{
"q": "jvm.mem.heap_used{$scope} by {host}",
"stacked": false
}
],
"viz": "timeseries"
},
"timeframe": "4h",
"title": true,
"title_align": "left",
"title_size": 13,
"title_text": "Heap",
"type": "timeseries",
"width": 35,
"x": 21,
"y": 54
},
{
"height": 17,
"legend": true,
"tile_def": {
"events": [],
"requests": [
{
"q": "max:system.cpu.iowait{$scope} by {host}",
"stacked": false
}
],
"viz": "timeseries"
},
"timeframe": "1d",
"title": true,
"title_align": "left",
"title_size": 13,
"title_text": "IOWait (%)",
"type": "timeseries",
"width": 35,
"x": 21,
"y": 73
},
{
"height": 16,
"tile_def": {
"events": [],
"requests": [
{
"q": "rate(avg:elasticsearch.indexing.index.time{$scope})"
}
],
"viz": "timeseries"
},
"timeframe": "4h",
"title": true,
"title_align": "left",
"title_size": 13,
"title_text": "Indexing Time",
"type": "timeseries",
"width": 35,
"x": 21,
"y": 16
},
{
"height": 16,
"tile_def": {
"events": [],
"requests": [
{
"q": "rate(sum:elasticsearch.search.query.total{$scope})"
}
],
"viz": "timeseries"
},
"timeframe": "4h",
"title": true,
"title_align": "left",
"title_size": 13,
"title_text": "Query Rate",
"type": "timeseries",
"width": 35,
"x": 21,
"y": 35
},
{
"height": 16,
"tile_def": {
"events": [],
"requests": [
{
"q": "rate(avg:elasticsearch.search.query.time{$scope})"
}
],
"viz": "timeseries"
},
"timeframe": "4h",
"title": true,
"title_align": "left",
"title_size": 13,
"title_text": "Query Time",
"type": "timeseries",
"width": 35,
"x": 57,
"y": 16
},
{
"height": 16,
"tile_def": {
"events": [],
"requests": [
{
"q": "rate(avg:elasticsearch.search.fetch.time{$scope})"
}
],
"viz": "timeseries"
},
"timeframe": "4h",
"title": true,
"title_align": "left",
"title_size": 13,
"title_text": "Fetch Time",
"type": "timeseries",
"width": 35,
"x": 93,
"y": 16
},
{
"height": 12,
"tile_def": {
"events": [],
"requests": [
{
"q": "avg:elasticsearch.active_shards{$scope},avg:elasticsearch.initializing_shards{$scope},avg:elasticsearch.relocating_shards{$scope}"
}
],
"viz": "timeseries"
},
"timeframe": "1d",
"title": true,
"title_align": "left",
"title_size": 13,
"title_text": "Shards by state (last day)",
"type": "timeseries",
"width": 35,
"x": 93,
"y": 0
},
{
"height": 16,
"tile_def": {
"events": [],
"requests": [
{
"q": "sum:system.net.bytes_rcvd{$scope}"
},
{
"q": "0 - sum:system.net.bytes_sent{$scope}"
}
]
},
"timeframe": "1d",
"title": true,
"title_align": "left",
"title_size": 13,
"title_text": "Aggregate Network Traffic",
"type": "timeseries",
"width": 35,
"x": 57,
"y": 73
},
{
"event_size": "s",
"height": 35,
"query": "elasticsearch -sources:chef status:error priority:all",
"timeframe": "1d",
"title": true,
"title_align": "left",
"title_size": 13,
"title_text": "Elasticsearch Errors",
"type": "event_stream",
"width": 35,
"x": 93,
"y": 35
},
{
"bgcolor": "blue",
"font_size": "14",
"height": 16,
"html": "Timings",
"text_align": "center",
"tick": true,
"tick_edge": "right",
"tick_pos": "50%",
"title": true,
"title_align": "left",
"title_size": 16,
"title_text": "",
"type": "note",
"width": 18,
"x": 1,
"y": 17
},
{
"bgcolor": "blue",
"font_size": "14",
"height": 15,
"html": "Rates",
"text_align": "center",
"tick": true,
"tick_edge": "right",
"tick_pos": "50%",
"title": true,
"title_align": "left",
"title_size": 16,
"title_text": "",
"type": "note",
"width": 18,
"x": 1,
"y": 36
},
{
"bgcolor": "blue",
"font_size": "14",
"height": 15,
"html": "JVM Memory",
"text_align": "center",
"tick": true,
"tick_edge": "right",
"tick_pos": "50%",
"title": true,
"title_align": "left",
"title_size": 16,
"title_text": "",
"type": "note",
"width": 18,
"x": 1,
"y": 55
},
{
"bgcolor": "blue",
"font_size": "14",
"height": 15,
"html": "System metrics
(past day)",
"text_align": "center",
"tick": true,
"tick_edge": "right",
"tick_pos": "50%",
"title": true,
"title_align": "left",
"title_size": 16,
"title_text": "",
"type": "note",
"width": 18,
"x": 1,
"y": 74
},
{
"height": 16,
"legend": false,
"legend_size": "0",
"tile_def": {
"events": [],
"requests": [
{
"q": "avg:system.load.norm.15{$scope} by {host}",
"stacked": false
}
],
"viz": "heatmap"
},
"timeframe": "1d",
"title": true,
"title_align": "left",
"title_size": 13,
"title_text": "Normalized load",
"type": "timeseries",
"width": 35,
"x": 93,
"y": 73
},
{
"bgcolor": "yellow",
"font_size": "24",
"height": 21,
"html": "Events and Shards
No relocating, no initializing mean all green.",
"text_align": "center",
"tick": false,
"tick_edge": "right",
"tick_pos": "50%",
"title": true,
"title_align": "left",
"title_size": 16,
"title_text": "",
"type": "note",
"width": 23,
"x": 130,
"y": 1
},
{
"height": 16,
"tile_def": {
"events": [],
"requests": [
{
"q": "jvm.mem.heap_used{$scope} by {host}",
"stacked": false
}
],
"viz": "timeseries"
},
"timeframe": "1d",
"title": true,
"title_align": "left",
"title_size": 13,
"title_text": "Heap (past day)",
"type": "timeseries",
"width": 35,
"x": 57,
"y": 54
},
{
"aggregator": "avg",
"conditional_formats": [
{
"color": "white_on_red",
"comparator": "<",
"invert": false,
"value": 9
},
{
"color": "white_on_green",
"comparator": ">=",
"invert": false,
"value": 9
}
],
"height": 12,
"precision": 0,
"query": "avg:elasticsearch.number_of_nodes{$scope}",
"text_align": "right",
"text_size": "auto",
"timeframe": "5m",
"title": true,
"title_align": "left",
"title_size": 16,
"title_text": "Nodes",
"type": "query_value",
"unit": "auto",
"width": 13,
"x": 42,
"y": 0
},
{
"aggregator": "avg",
"conditional_formats": [
{
"color": "white_on_red",
"comparator": "<",
"invert": false,
"value": 6
},
{
"color": "white_on_green",
"comparator": ">=",
"invert": false,
"value": 6
}
],
"height": 12,
"precision": 0,
"query": "avg:elasticsearch.number_of_data_nodes{$scope}",
"text_align": "right",
"text_size": "auto",
"timeframe": "5m",
"title": true,
"title_align": "left",
"title_size": 16,
"title_text": "Data Nodes",
"type": "query_value",
"unit": "auto",
"width": 13,
"x": 55,
"y": 0
},
{
"height": 16,
"tile_def": {
"events": [],
"requests": [
{
"q": "rate(sum:elasticsearch.indexing.index.total{$scope})"
}
],
"viz": "timeseries"
},
"timeframe": "4h",
"title": true,
"title_align": "left",
"title_size": 13,
"title_text": "Indexing Rate",
"type": "timeseries",
"width": 35,
"x": 57,
"y": 35
},
{
"aggregator": "avg",
"conditional_formats": [
{
"color": "white_on_red",
"comparator": ">",
"invert": false,
"value": 10
},
{
"color": "white_on_green",
"comparator": ">",
"invert": false,
"value": 2
}
],
"height": 6,
"precision": 2,
"query": "rate(avg:elasticsearch.search.query.total{*})",
"text_align": "left",
"text_size": "auto",
"timeframe": "5m",
"title": true,
"title_align": "left",
"title_size": 16,
"title_text": "Query Rate",
"type": "query_value",
"unit": "/s",
"width": 15,
"x": 2,
"y": 0
},
{
"aggregator": "avg",
"conditional_formats": [
{
"color": "white_on_green",
"comparator": ">",
"invert": false,
"value": 2
}
],
"height": 6,
"precision": 2,
"query": "rate(avg:elasticsearch.indexing.index.total{*})",
"text_align": "left",
"text_size": "auto",
"timeframe": "5m",
"title": true,
"title_align": "left",
"title_size": 16,
"title_text": "Indexing Rate",
"type": "query_value",
"unit": "/s",
"width": 15,
"x": 2,
"y": 8
}
],
"width": "100%"
}
@fortysevenlabs
Copy link

Is this dashboard format still usable? I ran into some issues exporting the dashboard. It was looking for title, description, graph, etc fields.

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