Skip to content

Instantly share code, notes, and snippets.

@wangqiang8511
Last active August 29, 2015 14:11
Show Gist options
  • Save wangqiang8511/3010659c4f9b79e97812 to your computer and use it in GitHub Desktop.
Save wangqiang8511/3010659c4f9b79e97812 to your computer and use it in GitHub Desktop.
Kibana portal for aws infra cloudwatch monitoring
{
"title": "AWS Infra Monitoring",
"services": {
"query": {
"list": {
"0": {
"query": "name:writelatency",
"alias": "",
"color": "#7EB26D",
"id": 0,
"pin": true,
"type": "lucene",
"enable": true
},
"1": {
"id": 1,
"color": "#EAB839",
"alias": "",
"pin": true,
"type": "lucene",
"enable": true,
"query": "name:freestoragespace"
},
"2": {
"id": 2,
"color": "#6ED0E0",
"alias": "",
"pin": true,
"type": "lucene",
"enable": true,
"query": "name:freeablememory"
},
"3": {
"id": 3,
"color": "#BF1B00",
"alias": "",
"pin": true,
"type": "lucene",
"enable": true,
"query": "name:HTTPCode_ELB_5XX AND dimension:cortexinstallapi"
},
"4": {
"id": 4,
"color": "#E5A8E2",
"alias": "",
"pin": true,
"type": "lucene",
"enable": true,
"query": "name:HealthyHostCount AND dimension:albedozerokuber"
},
"5": {
"id": 5,
"color": "#1F78C1",
"alias": "",
"pin": true,
"type": "lucene",
"enable": true,
"query": "name:HealthyHostCount AND dimension:cortexinstallapi"
},
"6": {
"id": 6,
"color": "#962D82",
"alias": "",
"pin": true,
"type": "lucene",
"enable": true,
"query": "name:HTTPCode_ELB_5XX AND dimension:albedozerokuber"
},
"7": {
"id": 7,
"color": "#64B0C8",
"alias": "",
"pin": true,
"type": "lucene",
"enable": true,
"query": "name:RequestCount AND dimension:albedozerokuber"
},
"8": {
"id": 8,
"color": "#508642",
"alias": "",
"pin": true,
"type": "lucene",
"enable": true,
"query": "name:RequestCount AND dimension:cortexinstallapi"
},
"9": {
"id": 9,
"color": "#CCA300",
"alias": "",
"pin": true,
"type": "lucene",
"enable": true,
"query": "name:CPUUtilization"
}
},
"ids": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
]
},
"filter": {
"list": {
"0": {
"type": "time",
"field": "timestamp",
"from": "now-24h",
"to": "now",
"mandate": "must",
"active": true,
"alias": "",
"id": 0
}
},
"ids": [
0
]
}
},
"rows": [
{
"title": "Options",
"height": "50px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"error": false,
"span": 12,
"editable": true,
"group": [
"default"
],
"type": "text",
"status": "Stable",
"mode": "markdown",
"content": "Razer Bigdata monitoring service.",
"style": {},
"title": "Razer Big Data"
}
],
"notice": false
},
{
"title": "Graph",
"height": "250px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 3,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "mean",
"time_field": "timestamp",
"value_field": "data",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_format": "none",
"grid": {
"max": null,
"min": null
},
"queries": {
"mode": "selected",
"ids": [
0
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 10,
"interval": "3h",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 0,
"linewidth": 3,
"points": false,
"pointradius": 5,
"bars": false,
"stack": true,
"spyable": true,
"zoomlinks": true,
"options": true,
"legend": true,
"show_query": true,
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": true,
"derivative": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"title": "DB_writeLatency"
},
{
"span": 3,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "min",
"time_field": "timestamp",
"value_field": "data",
"x-axis": true,
"y-axis": true,
"scale": "0.000000001",
"y_format": "none",
"grid": {
"max": null,
"min": null
},
"queries": {
"mode": "selected",
"ids": [
1
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 10,
"interval": "3h",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 0,
"linewidth": 3,
"points": false,
"pointradius": 5,
"bars": false,
"stack": true,
"spyable": true,
"zoomlinks": true,
"options": true,
"legend": true,
"show_query": true,
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": true,
"derivative": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"title": "Free Disk"
},
{
"span": 3,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "min",
"time_field": "timestamp",
"value_field": "data",
"x-axis": true,
"y-axis": true,
"scale": "0.000000001",
"y_format": "none",
"grid": {
"max": null,
"min": null
},
"queries": {
"mode": "selected",
"ids": [
2
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 10,
"interval": "3h",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 0,
"linewidth": 3,
"points": false,
"pointradius": 5,
"bars": false,
"stack": true,
"spyable": true,
"zoomlinks": true,
"options": true,
"legend": true,
"show_query": true,
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": true,
"derivative": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"title": "Free Memory"
},
{
"span": 3,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "mean",
"time_field": "timestamp",
"value_field": "data",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_format": "none",
"grid": {
"max": null,
"min": 0
},
"queries": {
"mode": "selected",
"ids": [
9
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 100,
"interval": "10m",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 0,
"linewidth": 3,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"spyable": true,
"zoomlinks": true,
"options": true,
"legend": true,
"show_query": true,
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": false,
"derivative": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"title": "CPU"
}
],
"notice": false
},
{
"title": "ELB",
"height": "250px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 4,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "total",
"time_field": "timestamp",
"value_field": "data",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_format": "none",
"grid": {
"max": null,
"min": 0
},
"queries": {
"mode": "selected",
"ids": [
3,
6
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 10,
"interval": "3h",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": false,
"fill": 0,
"linewidth": 3,
"points": false,
"pointradius": 5,
"bars": true,
"stack": true,
"spyable": true,
"zoomlinks": true,
"options": true,
"legend": true,
"show_query": true,
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": true,
"derivative": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"title": "5xx Request"
},
{
"span": 4,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "min",
"time_field": "timestamp",
"value_field": "data",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_format": "none",
"grid": {
"max": null,
"min": 0
},
"queries": {
"mode": "selected",
"ids": [
4,
5
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 10,
"interval": "3h",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 0,
"linewidth": 3,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"spyable": true,
"zoomlinks": true,
"options": true,
"legend": true,
"show_query": true,
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": true,
"derivative": false,
"tooltip": {
"value_type": "individual",
"query_as_alias": true
},
"title": "Health Instance"
},
{
"span": 4,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "total",
"time_field": "timestamp",
"value_field": "data",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_format": "none",
"grid": {
"max": null,
"min": null
},
"queries": {
"mode": "selected",
"ids": [
7,
8
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 10,
"interval": "3h",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 0,
"linewidth": 3,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"spyable": true,
"zoomlinks": true,
"options": true,
"legend": true,
"show_query": true,
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": true,
"derivative": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"title": "Total Requests"
}
],
"notice": false
},
{
"title": "Events",
"height": "650px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"error": false,
"span": 12,
"editable": true,
"group": [
"default"
],
"type": "table",
"size": 100,
"pages": 5,
"offset": 0,
"sort": [
"name",
"desc"
],
"style": {
"font-size": "9pt"
},
"overflow": "min-height",
"fields": [
"name",
"dimension",
"data"
],
"highlight": [],
"sortable": true,
"header": true,
"paging": true,
"spyable": true,
"queries": {
"mode": "all",
"ids": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
]
},
"field_list": true,
"status": "Stable",
"trimFactor": 300,
"normTimes": true,
"title": "Documents",
"all_fields": false,
"localTime": false,
"timeField": "@timestamp"
}
],
"notice": false
}
],
"editable": true,
"index": {
"interval": "day",
"pattern": "[cloudwatch_index-]YYYY.MM.DD",
"default": "cloudwatch_index",
"warm_fields": false
},
"style": "dark",
"failover": false,
"panel_hints": 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
},
"pulldowns": [
{
"type": "query",
"collapse": false,
"notice": false,
"query": "*",
"pinned": true,
"history": [
"name:CPUUtilization",
"name:RequestCount AND dimension:cortexinstallapi",
"name:RequestCount AND dimension:albedozerokuber",
"name:HTTPCode_ELB_5XX AND dimension:albedozerokuber",
"name:HealthyHostCount AND dimension:cortexinstallapi",
"name:HealthyHostCount AND dimension:albedozerokuber",
"name:HTTPCode_ELB_5XX AND dimension:cortexinstallapi",
"name:freeablememory",
"name:freestoragespace",
"name:writelatency"
],
"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",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
],
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"timefield": "timestamp",
"enable": true,
"now": true,
"filter_id": 0
}
],
"refresh": "5m"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment