Skip to content

Instantly share code, notes, and snippets.

Created June 25, 2014 10:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/f866a1f863e5b0df8ab8 to your computer and use it in GitHub Desktop.
Save anonymous/f866a1f863e5b0df8ab8 to your computer and use it in GitHub Desktop.
Soft/Hard Blocks
{
"title": "Soft/Hard Blocks",
"services": {
"query": {
"list": {
"1": {
"id": 1,
"color": "#EAB839",
"alias": "lb",
"pin": true,
"type": "lucene",
"enable": true,
"query": "node:lb* AND app.raw:\"dos-filter\""
},
"5": {
"id": 5,
"color": "#E0F9D7",
"alias": "Soft/Hard Blocks",
"pin": false,
"type": "lucene",
"enable": true,
"query": "dos_block_type:\"soft-block\" OR dos_block_type:\"hard-block\""
}
},
"ids": [
1,
5
]
},
"filter": {
"list": {
"0": {
"type": "time",
"field": "@timestamp",
"from": "now-7d",
"to": "now",
"mandate": "must",
"active": true,
"alias": "",
"id": 0
}
},
"ids": [
0
]
}
},
"rows": [
{
"title": "Row 1",
"height": "150px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"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": "none",
"grid": {
"max": null,
"min": 0
},
"queries": {
"mode": "selected",
"ids": [
5
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 100,
"interval": "1h",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": false,
"fill": 5,
"linewidth": 0,
"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": "Log Events"
},
{
"error": false,
"span": 12,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "source_ip.raw",
"exclude": [],
"missing": false,
"other": false,
"size": 40,
"order": "count",
"style": {
"font-size": "10pt"
},
"donut": false,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"chart": "table",
"counter_pos": "above",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
5
]
},
"tmode": "terms",
"tstat": "total",
"valuefield": "",
"title": "Blocks/IP"
}
],
"notice": false
}
],
"editable": true,
"failover": false,
"index": {
"interval": "day",
"pattern": "[microcloud]",
"default": "NO_TIME_FILTER_OR_INDEX_PATTERN_NOT_MATCHED",
"warm_fields": true
},
"style": "light",
"panel_hints": true,
"pulldowns": [
{
"type": "query",
"collapse": false,
"notice": false,
"query": "*",
"pinned": true,
"history": [
"dos_block_type:\"soft-block\" OR dos_block_type:\"hard-block\"",
"node:lb* AND app.raw:\"dos-filter\"",
"source_ip.raw:\"72.67.177.148\" AND ( dos_block_type:\"soft-block\" OR dos_block_type:\"hard-block\" )",
"source_ip.raw:\"72.67.177.148\"",
"source_ip.raw:\"76.102.2.188\"",
"source_ip.raw:\"209.126.99.50\"",
"source_ip.raw:\"209.126.99.49\"",
"node:web*",
"node:db*",
"node:mail*"
],
"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": true,
"save_elasticsearch": false,
"save_local": true,
"save_default": false,
"save_temp": false,
"save_temp_ttl_enable": false,
"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