Last active
August 29, 2015 14:04
-
-
Save whytewolf/148095fb5ba405d6496e to your computer and use it in GitHub Desktop.
apache logstash dashboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "apache", | |
"services": { | |
"query": { | |
"list": { | |
"0": { | |
"query": "type:apache", | |
"alias": "", | |
"color": "#962D82", | |
"id": 0, | |
"pin": false, | |
"type": "lucene", | |
"enable": true | |
}, | |
"1": { | |
"id": 1, | |
"color": "#7EB26D", | |
"alias": "OK", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:200" | |
}, | |
"2": { | |
"id": 2, | |
"color": "#CCA300", | |
"alias": "Multiple Choices", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:300" | |
}, | |
"3": { | |
"id": 3, | |
"type": "lucene", | |
"query": "response:401", | |
"alias": "Unauthorized", | |
"color": "#58140C", | |
"pin": false, | |
"enable": true | |
}, | |
"4": { | |
"id": 4, | |
"color": "#BF1B00", | |
"alias": "Internal Server Error", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:500" | |
}, | |
"5": { | |
"id": 5, | |
"color": "#E0F9D7", | |
"alias": "Continue", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:100" | |
}, | |
"6": { | |
"id": 6, | |
"color": "#E0F9D7", | |
"alias": "Switching Protocols", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:101" | |
}, | |
"7": { | |
"id": 7, | |
"color": "#6ED0E0", | |
"alias": "Accepted", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:202" | |
}, | |
"8": { | |
"id": 8, | |
"color": "#64B0C8", | |
"alias": "Non-Authoritative Information", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:203" | |
}, | |
"9": { | |
"id": 9, | |
"color": "#CCA300", | |
"alias": "No Content", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:204" | |
}, | |
"10": { | |
"id": 10, | |
"color": "#E5AC0E", | |
"alias": "Reset Conent", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:205" | |
}, | |
"11": { | |
"id": 11, | |
"color": "#614D93", | |
"alias": "Partial Content", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:206" | |
}, | |
"12": { | |
"id": 12, | |
"color": "#508642", | |
"alias": "Moved Permanently", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:301" | |
}, | |
"13": { | |
"id": 13, | |
"color": "#629E51", | |
"alias": "Found", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:302" | |
}, | |
"14": { | |
"id": 14, | |
"color": "#64B0C8", | |
"alias": "See Other", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:303" | |
}, | |
"15": { | |
"id": 15, | |
"color": "#629E51", | |
"alias": "Not Modified", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:304" | |
}, | |
"16": { | |
"id": 16, | |
"color": "#E5AC0E", | |
"alias": "Use Proxy", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:305" | |
}, | |
"17": { | |
"id": 17, | |
"color": "#629E51", | |
"alias": "Temporary Redirect", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:307" | |
}, | |
"18": { | |
"id": 18, | |
"color": "#890F02", | |
"alias": "Forbidden", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:403" | |
}, | |
"19": { | |
"id": 19, | |
"color": "#CCA300", | |
"alias": "Not Found", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:404" | |
}, | |
"20": { | |
"id": 20, | |
"color": "#BF1B00", | |
"alias": "Method Not Allowed", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:405" | |
}, | |
"21": { | |
"id": 21, | |
"color": "#BF1B00", | |
"alias": "Not Acceptable", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:406" | |
}, | |
"22": { | |
"id": 22, | |
"color": "#58140C", | |
"alias": "Proxy Authentication Required", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:407" | |
}, | |
"23": { | |
"id": 23, | |
"color": "#BF1B00", | |
"alias": "Request Timeout", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:408" | |
}, | |
"24": { | |
"id": 24, | |
"color": "#E0752D", | |
"alias": "Conflict", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:409" | |
}, | |
"25": { | |
"id": 25, | |
"color": "#BF1B00", | |
"alias": "Gone", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:410" | |
}, | |
"26": { | |
"id": 26, | |
"color": "#614D93", | |
"alias": "Length Required", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:411" | |
}, | |
"27": { | |
"id": 27, | |
"color": "#E5AC0E", | |
"alias": "Precondition Failed", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:412" | |
}, | |
"28": { | |
"id": 28, | |
"color": "#890F02", | |
"alias": "Request Entity Too large", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:413" | |
}, | |
"29": { | |
"id": 29, | |
"color": "#890F02", | |
"alias": "Request-URI too long", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:414" | |
}, | |
"30": { | |
"id": 30, | |
"color": "#614D93", | |
"alias": "Unsupported Media Type", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:415" | |
}, | |
"31": { | |
"id": 31, | |
"color": "#614D93", | |
"alias": "Requested Range Not satsfiable", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:416" | |
}, | |
"32": { | |
"id": 32, | |
"color": "#614D93", | |
"alias": "Expectation Failed", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:417" | |
}, | |
"33": { | |
"id": 33, | |
"color": "#BF1B00", | |
"alias": "Not Implemented", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:501" | |
}, | |
"34": { | |
"id": 34, | |
"color": "#890F02", | |
"alias": "Bad Gateway", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:502" | |
}, | |
"35": { | |
"id": 35, | |
"color": "#890F02", | |
"alias": "Service Unavailable", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:503" | |
}, | |
"36": { | |
"id": 36, | |
"color": "#58140C", | |
"alias": "Gateway Timeout", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:504" | |
}, | |
"37": { | |
"id": 37, | |
"color": "#BF1B00", | |
"alias": "HTTP Version Not Supported", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:505" | |
}, | |
"38": { | |
"id": 38, | |
"color": "#890F02", | |
"alias": "Bad Request", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "response:400" | |
} | |
}, | |
"ids": [ | |
0, | |
1, | |
2, | |
3, | |
4, | |
5, | |
6, | |
7, | |
8, | |
9, | |
10, | |
11, | |
12, | |
13, | |
14, | |
15, | |
16, | |
17, | |
18, | |
19, | |
20, | |
21, | |
22, | |
23, | |
24, | |
25, | |
26, | |
27, | |
28, | |
29, | |
30, | |
31, | |
32, | |
33, | |
34, | |
35, | |
36, | |
37, | |
38 | |
] | |
}, | |
"filter": { | |
"list": { | |
"0": { | |
"type": "time", | |
"field": "@timestamp", | |
"from": "now-24h", | |
"to": "now", | |
"mandate": "must", | |
"active": true, | |
"alias": "", | |
"id": 0 | |
}, | |
"2": { | |
"type": "querystring", | |
"query": "host:web??", | |
"mandate": "must", | |
"active": true, | |
"alias": "", | |
"id": 2 | |
} | |
}, | |
"ids": [ | |
0, | |
2 | |
] | |
} | |
}, | |
"rows": [ | |
{ | |
"title": "Map", | |
"height": "300px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"error": false, | |
"span": 4, | |
"editable": true, | |
"type": "map", | |
"loadingEditor": false, | |
"map": "world", | |
"colors": [ | |
"#A0E2E2", | |
"#265656" | |
], | |
"size": 100, | |
"exclude": [], | |
"spyable": true, | |
"queries": { | |
"mode": "all", | |
"ids": [ | |
0, | |
1, | |
2, | |
3, | |
4, | |
5, | |
6, | |
7, | |
8, | |
9, | |
10, | |
11, | |
12, | |
13, | |
14, | |
15, | |
16, | |
17, | |
18, | |
19, | |
20, | |
21, | |
22, | |
23, | |
24, | |
25, | |
26, | |
27, | |
28, | |
29, | |
30, | |
31, | |
32, | |
33, | |
34, | |
35, | |
36, | |
37, | |
38 | |
] | |
}, | |
"title": "World Map", | |
"field": "geoip.country_code2" | |
}, | |
{ | |
"error": false, | |
"span": 4, | |
"editable": true, | |
"type": "map", | |
"loadingEditor": false, | |
"map": "usa", | |
"colors": [ | |
"#A0E2E2", | |
"#265656" | |
], | |
"size": 100, | |
"exclude": [], | |
"spyable": true, | |
"queries": { | |
"mode": "all", | |
"ids": [ | |
0, | |
1, | |
2, | |
3, | |
4, | |
5, | |
6, | |
7, | |
8, | |
9, | |
10, | |
11, | |
12, | |
13, | |
14, | |
15, | |
16, | |
17, | |
18, | |
19, | |
20, | |
21, | |
22, | |
23, | |
24, | |
25, | |
26, | |
27, | |
28, | |
29, | |
30, | |
31, | |
32, | |
33, | |
34, | |
35, | |
36, | |
37, | |
38 | |
] | |
}, | |
"field": "geoip.region_name", | |
"title": "USA Map" | |
}, | |
{ | |
"error": false, | |
"span": 4, | |
"editable": true, | |
"type": "terms", | |
"loadingEditor": false, | |
"field": "verb", | |
"exclude": [], | |
"missing": true, | |
"other": false, | |
"size": 10, | |
"order": "count", | |
"style": { | |
"font-size": "10pt" | |
}, | |
"donut": false, | |
"tilt": false, | |
"labels": true, | |
"arrangement": "horizontal", | |
"chart": "bar", | |
"counter_pos": "above", | |
"spyable": false, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
0 | |
] | |
}, | |
"tmode": "terms", | |
"tstat": "total", | |
"valuefield": "", | |
"title": "Method" | |
} | |
], | |
"notice": false | |
}, | |
{ | |
"title": "Basics", | |
"height": "250px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"error": false, | |
"span": 4, | |
"editable": true, | |
"type": "terms", | |
"loadingEditor": false, | |
"field": "clientip", | |
"exclude": [ | |
"missing field" | |
], | |
"missing": false, | |
"other": false, | |
"size": 10, | |
"order": "count", | |
"style": { | |
"font-size": "10pt" | |
}, | |
"donut": true, | |
"tilt": false, | |
"labels": true, | |
"arrangement": "horizontal", | |
"chart": "table", | |
"counter_pos": "none", | |
"spyable": true, | |
"queries": { | |
"mode": "all", | |
"ids": [ | |
0, | |
1, | |
2, | |
3, | |
4, | |
5, | |
6, | |
7, | |
8, | |
9, | |
10, | |
11, | |
12, | |
13, | |
14, | |
15, | |
16, | |
17, | |
18, | |
19, | |
20, | |
21, | |
22, | |
23, | |
24, | |
25, | |
26, | |
27, | |
28, | |
29, | |
30, | |
31, | |
32, | |
33, | |
34, | |
35, | |
36, | |
37, | |
38 | |
] | |
}, | |
"tmode": "terms", | |
"tstat": "total", | |
"valuefield": "", | |
"title": "Web IPs" | |
}, | |
{ | |
"error": false, | |
"span": 4, | |
"editable": true, | |
"type": "terms", | |
"loadingEditor": false, | |
"field": "host", | |
"exclude": [], | |
"missing": false, | |
"other": true, | |
"size": 10, | |
"order": "term", | |
"style": { | |
"font-size": "10pt" | |
}, | |
"donut": false, | |
"tilt": false, | |
"labels": true, | |
"arrangement": "horizontal", | |
"chart": "table", | |
"counter_pos": "above", | |
"spyable": true, | |
"queries": { | |
"mode": "all", | |
"ids": [ | |
0, | |
1, | |
2, | |
3, | |
4, | |
5, | |
6, | |
7, | |
8, | |
9, | |
10, | |
11, | |
12, | |
13, | |
14, | |
15, | |
16, | |
17, | |
18, | |
19, | |
20, | |
21, | |
22, | |
23, | |
24, | |
25, | |
26, | |
27, | |
28, | |
29, | |
30, | |
31, | |
32, | |
33, | |
34, | |
35, | |
36, | |
37, | |
38 | |
] | |
}, | |
"tmode": "terms", | |
"tstat": "total", | |
"valuefield": "", | |
"title": "Log sources" | |
}, | |
{ | |
"span": 4, | |
"editable": true, | |
"type": "trends", | |
"loadingEditor": false, | |
"ago": "24h", | |
"arrangement": "vertical", | |
"reverse": false, | |
"spyable": false, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
0, | |
4 | |
] | |
}, | |
"style": { | |
"font-size": "24pt" | |
}, | |
"title": "Trending" | |
}, | |
{ | |
"error": false, | |
"span": 12, | |
"editable": true, | |
"type": "terms", | |
"loadingEditor": false, | |
"field": "host_id", | |
"exclude": [], | |
"missing": false, | |
"other": true, | |
"size": 20, | |
"order": "count", | |
"style": { | |
"font-size": "10pt" | |
}, | |
"donut": false, | |
"tilt": false, | |
"labels": true, | |
"arrangement": "vertical", | |
"chart": "table", | |
"counter_pos": "below", | |
"spyable": true, | |
"queries": { | |
"mode": "all", | |
"ids": [ | |
0, | |
1, | |
2, | |
3, | |
4, | |
5, | |
6, | |
7, | |
8, | |
9, | |
10, | |
11, | |
12, | |
13, | |
14, | |
15, | |
16, | |
17, | |
18, | |
19, | |
20, | |
21, | |
22, | |
23, | |
24, | |
25, | |
26, | |
27, | |
28, | |
29, | |
30, | |
31, | |
32, | |
33, | |
34, | |
35, | |
36, | |
37, | |
38 | |
] | |
}, | |
"tmode": "terms", | |
"tstat": "total", | |
"valuefield": "", | |
"title": "Pop" | |
} | |
], | |
"notice": false | |
}, | |
{ | |
"title": "Graph", | |
"height": "350px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"span": 12, | |
"editable": true, | |
"group": [ | |
"default" | |
], | |
"type": "histogram", | |
"mode": "count", | |
"time_field": "@timestamp", | |
"value_field": null, | |
"auto_int": true, | |
"resolution": 100, | |
"interval": "10m", | |
"fill": 3, | |
"linewidth": 3, | |
"timezone": "browser", | |
"spyable": false, | |
"zoomlinks": false, | |
"bars": true, | |
"stack": true, | |
"points": false, | |
"lines": false, | |
"legend": false, | |
"x-axis": true, | |
"y-axis": true, | |
"percentage": false, | |
"interactive": true, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
0 | |
] | |
}, | |
"title": "Hits over time", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1M", | |
"1y" | |
], | |
"options": false, | |
"tooltip": { | |
"value_type": "cumulative", | |
"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": 5, | |
"show_query": true, | |
"legend_counts": true, | |
"zerofill": true, | |
"derivative": false | |
}, | |
{ | |
"span": 12, | |
"editable": true, | |
"type": "histogram", | |
"loadingEditor": false, | |
"mode": "count", | |
"time_field": "@timestamp", | |
"value_field": null, | |
"x-axis": true, | |
"y-axis": true, | |
"scale": 1, | |
"y_format": "short", | |
"grid": { | |
"max": null, | |
"min": 0 | |
}, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
1, | |
2, | |
3, | |
4, | |
5, | |
6, | |
7, | |
8, | |
9, | |
10, | |
11, | |
12, | |
13, | |
14, | |
15, | |
16, | |
17, | |
18, | |
19, | |
20, | |
21, | |
22, | |
23, | |
24, | |
25, | |
26, | |
27, | |
28, | |
29, | |
30, | |
31, | |
32, | |
33, | |
34, | |
35, | |
36, | |
37, | |
38 | |
] | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "count()", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"auto_int": false, | |
"resolution": 1000, | |
"interval": "10m", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1y" | |
], | |
"lines": true, | |
"fill": 5, | |
"linewidth": 1, | |
"points": false, | |
"pointradius": 1, | |
"bars": false, | |
"stack": false, | |
"spyable": true, | |
"zoomlinks": true, | |
"options": true, | |
"legend": true, | |
"show_query": true, | |
"interactive": true, | |
"legend_counts": true, | |
"timezone": "browser", | |
"percentage": true, | |
"zerofill": true, | |
"derivative": false, | |
"tooltip": { | |
"value_type": "cumulative", | |
"query_as_alias": true | |
}, | |
"title": "Responses" | |
} | |
], | |
"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, | |
3, | |
4, | |
5, | |
6, | |
7, | |
8, | |
9, | |
10, | |
11, | |
12, | |
13, | |
14, | |
15, | |
16, | |
17, | |
18, | |
19, | |
20, | |
21, | |
22, | |
23, | |
24, | |
25, | |
26, | |
27, | |
28, | |
29, | |
30, | |
31, | |
32, | |
33, | |
34, | |
35, | |
36, | |
37, | |
38 | |
] | |
}, | |
"field_list": true, | |
"status": "Stable", | |
"trimFactor": 300, | |
"normTimes": true, | |
"all_fields": true | |
} | |
], | |
"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": true, | |
"notice": false, | |
"query": "*", | |
"pinned": true, | |
"history": [ | |
"response:400", | |
"response:505", | |
"response:504", | |
"response:503", | |
"response:502", | |
"response:501", | |
"response:417", | |
"response:416", | |
"response:415", | |
"response:414" | |
], | |
"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": "5m" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment