i still get the same results. here is my updated NLS setup:
I suspect that I might have to make changes to the dashboard creators file. here it is:
Code: Select all
{
"title": "VPN_Sessions",
"edit_type": "global",
"services": {
"query": {
"list": {
"0": {
"query": "Reason:(\"Port Error\") or Reason:(\"NAS Error\") or Reason:(\"NAS Request\") or Reason:(\"NAS Reboot\") or Reason:(\"Connection preempted\") or Reason:(\"Port Suspended\") or Reason:(\"Service Unavailable\") or Reason:(\"SA Expired\") or Reason:(\"Bandwidth Management Error\") or Reason:(\"Certificate Expired\") or Reason:(\"Phase 2 Mismatch\") or Reason:(\"Firewall Mismatch\") or Reason:(\"ACL Parse Error\") or Reason:(\"Phase 2 Error\") or Reason:(\"Internal Error\") or Reason:(\"Crypto map policy not found\") or Reason:(\"L2TP initiated\") or Reason:(\"NAC-Policy Error\") or Reason:(\"Dynamic Access Policy terminate\") or Reason:(\"Client type not supported\") or Reason:(\"Unknown\")",
"alias": "Errors",
"color": "#BF1B00",
"id": 0,
"pin": true,
"type": "lucene",
"enable": true
},
"1": {
"id": 1,
"color": "#7EB26D",
"alias": "OK Reasons",
"pin": true,
"type": "lucene",
"enable": true,
"query": "Reason:(\"User Requested\") or Reason:(\"Host Requested\") or Reason:(\"VLAN Mapping Error\")"
},
"2": {
"id": 2,
"color": "#EF843C",
"alias": "Warning / Forced",
"pin": true,
"type": "lucene",
"enable": true,
"query": "Reason:(\"Administrator Reset\") or Reason:(\"Administrator Reboot\") or Reason:(\"Administrator Shutdown\") or Reason:(\"User error\") or Reason:(\"IKE Delete\") or Reason:(\"Peer Address Changed\")"
},
"3": {
"id": 3,
"color": "#64B0C8",
"alias": "Reconnect /Callback",
"pin": true,
"type": "lucene",
"enable": true,
"query": "Reason:(\"Peer Reconnected\") or Reason:(\"Callback\")"
},
"4": {
"id": 4,
"color": "#D683CE",
"alias": "Unexpected",
"pin": true,
"type": "lucene",
"enable": true,
"query": "Reason:(\"Lost Carrier\") or Reason:(\"Lost Service\")"
},
"5": {
"id": 5,
"color": "#F4D598",
"alias": "Timeout",
"pin": true,
"type": "lucene",
"enable": true,
"query": "Reason:(\"Idle Timeout\") or Reason:(\"Max time exceeded\") or Reason:(\"Port unneeded\")"
}
},
"ids": [
0,
1,
2,
3,
4,
5
]
},
"filter": {
"list": {
"0": {
"type": "time",
"field": "@timestamp",
"from": "now-24h",
"to": "now",
"mandate": "must",
"active": true,
"alias": "",
"id": 0
},
"1": {
"type": "field",
"field": "_type",
"query": "\"asa\"",
"mandate": "must",
"active": true,
"alias": "",
"id": 1
},
"2": {
"type": "field",
"field": "LogMessageNumber",
"query": "\"113019\"",
"mandate": "must",
"active": true,
"alias": "",
"id": 2
}
},
"ids": [
0,
1,
2
]
}
},
"rows": [
{
"title": "Map",
"height": "400px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"error": false,
"span": 6,
"editable": true,
"type": "bettermap",
"loadingEditor": false,
"field": "geoip.location",
"size": 1000,
"spyable": true,
"tooltip": "username",
"queries": {
"mode": "all",
"ids": [
0,
1,
2,
3,
4,
5
]
},
"title": "Location of Clients"
},
{
"error": false,
"span": 2,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "Reason",
"exclude": [],
"missing": true,
"other": true,
"size": 10,
"order": "count",
"style": {
"font-size": "10pt"
},
"donut": false,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"chart": "pie",
"counter_pos": "none",
"spyable": true,
"queries": {
"mode": "all",
"ids": [
0,
1,
2,
3,
4,
5
]
},
"tmode": "terms",
"tstat": "total",
"valuefield": "",
"title": "Termination Reasons"
},
{
"error": false,
"span": 2,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "host.raw",
"exclude": [],
"missing": true,
"other": true,
"size": 10,
"order": "count",
"style": {
"font-size": "9pt"
},
"donut": false,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"chart": "pie",
"counter_pos": "none",
"spyable": true,
"queries": {
"mode": "all",
"ids": [
0,
1,
2,
3,
4,
5
]
},
"tmode": "terms",
"tstat": "total",
"valuefield": "",
"title": "Firewalls"
},
{
"error": false,
"span": 2,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "username",
"exclude": [],
"missing": false,
"other": false,
"size": 10,
"order": "count",
"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
]
},
"tmode": "terms",
"tstat": "count",
"valuefield": "BytesTransmitted",
"title": "Top VPN sessions"
}
],
"notice": false
},
{
"title": "graph",
"height": "300px",
"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": 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,
4,
5
]
},
"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": "Data Transfer",
"height": "300px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 6,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "mean",
"time_field": "@timestamp",
"value_field": "BytesReceived",
"x-axis": true,
"y-axis": true,
"scale": "1",
"y_format": "bytes",
"grid": {
"max": null,
"min": 0
},
"queries": {
"mode": "all",
"ids": [
0,
1,
2,
3,
4,
5
]
},
"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": false,
"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": "Bytes Transmitted"
},
{
"span": 6,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "total",
"time_field": "@timestamp",
"value_field": "BytesReceived",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_format": "bytes",
"grid": {
"max": null,
"min": 0
},
"queries": {
"mode": "all",
"ids": [
0,
1,
2,
3,
4,
5
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": false,
"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": false,
"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": "Bytes Received"
}
],
"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": 50,
"pages": 5,
"offset": 0,
"sort": [
"@timestamp",
"desc"
],
"style": {
"font-size": "9pt"
},
"overflow": "min-height",
"fields": [
"@timestamp",
"host",
"DurationHours",
"DurationMinutes",
"IPAddress",
"username",
"Reason",
"geoip.country_name",
"geoip.city_name"
],
"localTime": true,
"timeField": "@timestamp",
"highlight": [],
"sortable": true,
"header": true,
"paging": true,
"spyable": true,
"queries": {
"mode": "all",
"ids": [
0,
1,
2,
3,
4,
5
]
},
"field_list": true,
"status": "Stable",
"trimFactor": 900,
"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": "light",
"panel_hints": true,
"pulldowns": [
{
"type": "query",
"collapse": false,
"notice": false,
"query": "*",
"pinned": true,
"history": [
"Reason:(\"Idle Timeout\") or Reason:(\"Max time exceeded\") or Reason:(\"Port unneeded\")",
"Reason:(\"Lost Carrier\") or Reason:(\"Lost Service\")",
"Reason:(\"Peer Reconnected\") or Reason:(\"Callback\")",
"Reason:(\"Administrator Reset\") or Reason:(\"Administrator Reboot\") or Reason:(\"Administrator Shutdown\") or Reason:(\"User error\") or Reason:(\"IKE Delete\") or Reason:(\"Peer Address Changed\")",
"Reason:(\"User Requested\") or Reason:(\"Host Requested\") or Reason:(\"VLAN Mapping Error\")",
"Reason:(\"Port Error\") or Reason:(\"NAS Error\") or Reason:(\"NAS Request\") or Reason:(\"NAS Reboot\") or Reason:(\"Connection preempted\") or Reason:(\"Port Suspended\") or Reason:(\"Service Unavailable\") or Reason:(\"SA Expired\") or Reason:(\"Bandwidth Management Error\") or Reason:(\"Certificate Expired\") or Reason:(\"Phase 2 Mismatch\") or Reason:(\"Firewall Mismatch\") or Reason:(\"ACL Parse Error\") or Reason:(\"Phase 2 Error\") or Reason:(\"Internal Error\") or Reason:(\"Crypto map policy not found\") or Reason:(\"L2TP initiated\") or Reason:(\"NAC-Policy Error\") or Reason:(\"Dynamic Access Policy terminate\") or Reason:(\"Client type not supported\") or Reason:(\"Unknown\")",
"*",
"Reason:(\"Idle Timeout\") or Reason:(\"Max time exceeded\") or Reason:(\"Port Error\") or Reason:(\"NAS Error\") or Reason:(\"NAS Request\") or Reason:(\"NAS Reboot\") or Reason:(\"Port unneeded\") or Reason:(\"Connection preempted\") or Reason:(\"Port Suspended\") or Reason:(\"Service Unavailable\") or Reason:(\"SA Expired\") or Reason:(\"Bandwidth Management Error\") or Reason:(\"Certificate Expired\") or Reason:(\"Phase 2 Mismatch\") or Reason:(\"Firewall Mismatch\") or Reason:(\"ACL Parse Error\") or Reason:(\"Phase 2 Error\") or Reason:(\"Internal Error\") or Reason:(\"Crypto map policy not found\") or Reason:(\"L2TP initiated\") or Reason:(\"NAC-Policy Error\") or Reason:(\"Dynamic Access Policy terminate\") or Reason:(\"Client type not supported\") or Reason:(\"Unknown\")",
"Reason:(\"Peer Reconnected\")",
"Reason:(\"Administrator Reset\") or Reason:(\"Administrator Reboot\") or Reason:(\"Administrator Shutdown\")"
],
"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",
"2h",
"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,
"dash_type": "elasticsearch"
}