Skip to content

Instantly share code, notes, and snippets.

@elijahpaul
Created October 30, 2014 07:18
Show Gist options
  • Save elijahpaul/4b9cd98715c0ba2a75de to your computer and use it in GitHub Desktop.
Save elijahpaul/4b9cd98715c0ba2a75de to your computer and use it in GitHub Desktop.
Exchange Server message tracking dashboard (Kibana)
{
"title": "Exchange Message Tracking Logs",
"services": {
"query": {
"list": {
"0": {
"id": 0,
"color": "#7EB26D",
"alias": "Messages Sent (Internal)",
"pin": true,
"type": "lucene",
"enable": true,
"query": "event_id: \"SEND\" AND connector_id: \"Intra-Organization SMTP Send Connector\" AND directionality: \"Originating\""
},
"1": {
"id": 1,
"color": "#EAB839",
"alias": "Messages Sent",
"pin": true,
"type": "lucene",
"enable": true,
"query": "event_id: \"SEND\" AND connector_id: \"Outbound Internet Mail\""
},
"2": {
"id": 2,
"color": "#1F78C1",
"alias": "Messages Received",
"pin": true,
"type": "lucene",
"enable": true,
"query": "event_id: \"DELIVER\" AND directionality: \"Incoming\""
},
"3": {
"id": 3,
"color": "#EF843C",
"alias": "Messages Received (Internal)",
"pin": true,
"type": "lucene",
"enable": true,
"query": "event_id: \"DELIVER\" AND directionality: \"Originating\""
}
},
"ids": [
0,
1,
2,
3
]
},
"filter": {
"list": {
"0": {
"type": "time",
"field": "@timestamp",
"from": "now-12h",
"to": "now",
"mandate": "must",
"active": true,
"alias": "",
"id": 0
},
"1": {
"type": "querystring",
"query": "type: \"Exchange\"",
"mandate": "must",
"active": true,
"alias": "",
"id": 1
}
},
"ids": [
0,
1
]
}
},
"rows": [
{
"title": "Graph",
"height": "150px",
"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": "5m",
"fill": 3,
"linewidth": 3,
"timezone": "browser",
"spyable": true,
"zoomlinks": true,
"bars": true,
"stack": true,
"points": false,
"lines": false,
"legend": true,
"x-axis": true,
"y-axis": true,
"percentage": false,
"interactive": true,
"queries": {
"mode": "all",
"ids": [
0,
1,
2,
3
]
},
"title": "Events over time",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1M",
"1y"
],
"options": true,
"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
}
],
"notice": false
},
{
"title": "Message Count",
"height": "180px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"error": false,
"span": 4,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "sender_address",
"exclude": [],
"missing": false,
"other": false,
"size": 10,
"order": "count",
"style": {
"font-size": "10pt"
},
"donut": false,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"chart": "bar",
"counter_pos": "above",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
0,
1
]
},
"tmode": "terms",
"tstat": "total",
"valuefield": "",
"title": "Top 10 Senders by Message Count"
},
{
"error": false,
"span": 4,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "recipient_address",
"exclude": [],
"missing": false,
"other": false,
"size": 10,
"order": "count",
"style": {
"font-size": "10pt"
},
"donut": false,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"chart": "bar",
"counter_pos": "above",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
2,
3
]
},
"tmode": "terms",
"tstat": "total",
"valuefield": "",
"title": "Top 10 Recipients by Message Count"
},
{
"span": 4,
"editable": true,
"type": "hits",
"loadingEditor": false,
"style": {
"font-size": "10pt"
},
"arrangement": "horizontal",
"chart": "pie",
"counter_pos": "above",
"donut": false,
"tilt": false,
"labels": true,
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
0,
1,
2,
3
]
},
"title": "Message Total (Inbound/Outbound)"
}
],
"notice": false
},
{
"title": "Message Stats",
"height": "150px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"error": false,
"span": 4,
"editable": true,
"type": "stats",
"loadingEditor": false,
"queries": {
"mode": "selected",
"ids": [
2,
3
]
},
"style": {
"font-size": "28pt"
},
"format": "bytes",
"mode": "total",
"display_breakdown": "no",
"sort_field": "",
"sort_reverse": false,
"label_name": "Query",
"value_name": "Value",
"spyable": true,
"show": {
"count": false,
"min": true,
"max": true,
"mean": true,
"std_deviation": false,
"sum_of_squares": false,
"total": true,
"variance": false
},
"title": "Inbound Message Volume",
"field": "total_bytes",
"unit": ""
},
{
"error": false,
"span": 4,
"editable": true,
"type": "stats",
"loadingEditor": false,
"queries": {
"mode": "selected",
"ids": [
0,
1
]
},
"style": {
"font-size": "28pt"
},
"format": "bytes",
"mode": "total",
"display_breakdown": "no",
"sort_field": "",
"sort_reverse": false,
"label_name": "Query",
"value_name": "Value",
"spyable": true,
"show": {
"count": false,
"min": true,
"max": true,
"mean": true,
"std_deviation": false,
"sum_of_squares": false,
"total": true,
"variance": false
},
"title": "Outbound Message Volume",
"field": "total_bytes",
"unit": ""
},
{
"error": false,
"span": 4,
"editable": true,
"type": "stats",
"loadingEditor": false,
"queries": {
"mode": "selected",
"ids": [
0,
1,
2,
3
]
},
"style": {
"font-size": "28pt"
},
"format": "bytes",
"mode": "total",
"display_breakdown": "no",
"sort_field": "",
"sort_reverse": false,
"label_name": "Query",
"value_name": "Value",
"spyable": true,
"show": {
"count": false,
"min": true,
"max": true,
"mean": true,
"std_deviation": false,
"sum_of_squares": false,
"total": true,
"variance": false
},
"title": "Message Volume Total",
"field": "total_bytes",
"unit": ""
},
{
"span": 6,
"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": [
2,
3
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 100,
"interval": "5m",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 0,
"linewidth": 1,
"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": "Inbound Message Rate"
},
{
"span": 6,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "total",
"time_field": "@timestamp",
"value_field": "total_bytes",
"x-axis": true,
"y-axis": true,
"scale": "1",
"y_format": "bytes",
"grid": {
"max": null,
"min": 0
},
"queries": {
"mode": "selected",
"ids": [
2,
3
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 100,
"interval": "5m",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 4,
"linewidth": 1,
"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": "Inbound Message Volume (KB)"
},
{
"span": 6,
"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": [
0,
1
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 100,
"interval": "5m",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 0,
"linewidth": 1,
"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": "Outbound Message Rate"
},
{
"span": 6,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "total",
"time_field": "@timestamp",
"value_field": "total_bytes",
"x-axis": true,
"y-axis": true,
"scale": "1",
"y_format": "bytes",
"grid": {
"max": null,
"min": 0
},
"queries": {
"mode": "selected",
"ids": [
0,
1
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 100,
"interval": "5m",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 4,
"linewidth": 1,
"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": "Outbound Message Volume (KB)"
}
],
"notice": false
},
{
"title": "Received / Sent",
"height": "250px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"error": false,
"span": 12,
"editable": true,
"type": "table",
"loadingEditor": false,
"size": 6,
"pages": 50,
"offset": 0,
"sort": [
"@timestamp",
"desc"
],
"overflow": "height",
"fields": [
"@timestamp",
"recipient_address",
"sender_address",
"total_bytes",
"message_subject"
],
"highlight": [],
"sortable": true,
"header": true,
"paging": true,
"field_list": false,
"all_fields": false,
"trimFactor": 300,
"localTime": false,
"timeField": "@timestamp",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
2,
3
]
},
"style": {
"font-size": "10pt"
},
"normTimes": true,
"title": "Received Emails"
},
{
"error": false,
"span": 12,
"editable": true,
"type": "table",
"loadingEditor": false,
"size": 6,
"pages": 50,
"offset": 0,
"sort": [
"@timestamp",
"desc"
],
"overflow": "height",
"fields": [
"@timestamp",
"sender_address",
"recipient_address",
"total_bytes",
"message_subject"
],
"highlight": [],
"sortable": true,
"header": true,
"paging": true,
"field_list": false,
"all_fields": false,
"trimFactor": 300,
"localTime": false,
"timeField": "@timestamp",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
0,
1
]
},
"style": {
"font-size": "10pt"
},
"normTimes": true,
"title": "Sent Emails"
}
],
"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": [
"@timestamp",
"event_id",
"source",
"directionality",
"sender_address",
"recipient_address",
"message_subject",
"total_bytes"
],
"localTime": true,
"timeField": "@timestamp",
"highlight": [],
"sortable": true,
"header": true,
"paging": true,
"spyable": true,
"queries": {
"mode": "all",
"ids": [
0,
1,
2,
3
]
},
"field_list": false,
"status": "Stable",
"trimFactor": 300,
"normTimes": true,
"all_fields": false
}
],
"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": false,
"notice": false,
"query": "*",
"pinned": true,
"history": [
"event_id: \"RECEIVE\" AND directionality: \"Incoming\"",
"event_id: \"SEND\" AND connector_id: \"Outbound Internet Mail\"",
"total_bytes",
"*"
],
"remember": 10,
"enable": true
},
{
"type": "filtering",
"collapse": true,
"notice": false,
"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