Skip to content

Instantly share code, notes, and snippets.

@hamishforbes
Created August 12, 2014 14:47
Show Gist options
  • Save hamishforbes/0174fd67c264ef3cdb77 to your computer and use it in GitHub Desktop.
Save hamishforbes/0174fd67c264ef3cdb77 to your computer and use it in GitHub Desktop.
{
"title": "Edge Analytics",
"services": {
"query": {
"list": {
"0": {
"query": "expires: <1407775286",
"alias": "Fresh",
"color": "#7EB26D",
"id": 0,
"pin": true,
"type": "lucene",
"enable": true
},
"1": {
"id": 1,
"color": "#EAB839",
"alias": "Expired",
"pin": true,
"type": "lucene",
"enable": true,
"query": "expires: >1407775286"
},
"2": {
"id": 2,
"color": "#6ED0E0",
"alias": "All",
"pin": true,
"type": "lucene",
"enable": true,
"query": "*"
}
},
"ids": [
0,
1,
2
]
},
"filter": {
"list": {
"0": {
"type": "time",
"field": "@timestamp",
"from": "now-24h",
"to": "now",
"mandate": "must",
"active": true,
"alias": "",
"id": 0
},
"1": {
"type": "field",
"field": "uri.host",
"query": "\"beds.staging.squizedge.net\"",
"mandate": "must",
"active": true,
"alias": "",
"id": 1
},
"2": {
"type": "terms",
"field": "@timestamp",
"value": 1407777035000,
"mandate": "must",
"active": true,
"alias": "",
"id": 2
}
},
"ids": [
0,
1,
2
]
}
},
"rows": [
{
"title": "Graph",
"height": "350px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"height": "200px",
"chart": "table",
"field": "@timestamp",
"span": 4,
"type": "terms",
"title": "Snapshops",
"exclude": [],
"missing": true,
"other": true,
"size": 10,
"order": "count",
"style": {
"font-size": "10pt"
},
"donut": false,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"counter_pos": "above",
"spyable": true,
"queries": {
"mode": "all",
"ids": [
0,
1,
2
]
},
"tmode": "terms",
"tstat": "total",
"valuefield": ""
},
{
"height": "200px",
"field": "max_age",
"mode": "mean",
"span": 4,
"type": "stats",
"title": "Max Age",
"queries": {
"mode": "all",
"ids": [
0,
1,
2
]
},
"style": {
"font-size": "24pt"
},
"format": "number",
"display_breakdown": "yes",
"sort_field": "",
"sort_reverse": false,
"label_name": "Query",
"value_name": "Value",
"spyable": true,
"show": {
"count": true,
"min": true,
"max": true,
"mean": true,
"std_deviation": true,
"sum_of_squares": false,
"total": false,
"variance": false
}
},
{
"height": "200px",
"field": "body_len",
"mode": "count",
"span": 4,
"type": "stats",
"title": "Response Body",
"queries": {
"mode": "all",
"ids": [
0,
1,
2
]
},
"style": {
"font-size": "24pt"
},
"format": "number",
"display_breakdown": "yes",
"sort_field": "",
"sort_reverse": false,
"label_name": "Query",
"value_name": "Value",
"spyable": true,
"show": {
"count": true,
"min": false,
"max": true,
"mean": true,
"std_deviation": true,
"sum_of_squares": false,
"total": true,
"variance": false
},
"unit": ""
}
],
"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": 5,
"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
]
},
"field_list": true,
"status": "Stable",
"trimFactor": 300,
"normTimes": true,
"all_fields": false
}
],
"notice": false
}
],
"editable": true,
"failover": false,
"index": {
"interval": "day",
"pattern": "[edge-meta-]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": [
"expires: >1407775286",
"expires: <1407775286"
],
"remember": 10,
"enable": true
},
{
"type": "filtering",
"collapse": false,
"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",
"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": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment