-
Notifications
You must be signed in to change notification settings - Fork 12
/
Truvis-Blocked Out Going Connections by ENDPOINT [SUB]
108 lines (108 loc) · 4.55 KB
/
Truvis-Blocked Out Going Connections by ENDPOINT [SUB]
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<dashboard theme="dark">
<label>Truvis-Blocked Out Going Connections by ENDPOINT [SUB]</label>
<fieldset submitButton="false">
<input type="time" token="field1">
<label>Select Timeframe</label>
<default>
<earliest>-24h@h</earliest>
<latest>now</latest>
</default>
</input>
<input type="dropdown" token="dport" searchWhenChanged="true">
<label>Select Port</label>
<search>
<query>sourcetype="opnsense:filterlog" action=blocked src_ip="$clickedIP$" | stats values(dest_port) as dport | mvexpand dport | sort dport</query>
</search>
<fieldForLabel>dport</fieldForLabel>
<fieldForValue>dport</fieldForValue>
<prefix/>
<suffix/>
<choice value="*">All</choice>
<default>*</default>
</input>
<input type="dropdown" token="proto" searchWhenChanged="true">
<label>Select Protocol</label>
<search>
<query>sourcetype="opnsense:filterlog" action=blocked src_ip="$clickedIP$" | stats values(transport) as proto | mvexpand proto | sort proto</query>
</search>
<fieldForLabel>proto</fieldForLabel>
<fieldForValue>proto</fieldForValue>
<prefix/>
<suffix/>
<choice value="*">All</choice>
<default>*</default>
</input>
</fieldset>
<row>
<panel>
<title>Local IPs count by blocked out going connections. (click for details)</title>
<chart>
<search>
<query>sourcetype="opnsense:filterlog" action=blocked src_ip="$clickedIP$" dest_port="$dport$" transport="$proto$" | stats count(dest_port) as TotalBlockPorts by dest_port | sort TotalBlockPorts desc</query>
<earliest>$field1.earliest$</earliest>
<latest>$field1.latest$</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
<option name="charting.axisY.abbreviation">none</option>
<option name="charting.axisY.scale">linear</option>
<option name="charting.chart">bar</option>
<option name="charting.chart.showDataLabels">all</option>
<option name="charting.chart.stackMode">default</option>
<option name="charting.drilldown">all</option>
<option name="charting.layout.splitSeries">0</option>
<option name="charting.legend.placement">bottom</option>
<option name="height">266</option>
<option name="refresh.display">progressbar</option>
</chart>
</panel>
</row>
<row>
<panel>
<title>IPs to PORT</title>
<table>
<search>
<query>sourcetype="opnsense:filterlog" action=blocked src_ip="$clickedIP$" dest_port="$dport$" transport="$proto$" | stats count(dest_port) as COUNT by dest_port, transport, dest_ip | table dest_port, transport, dest_ip, COUNT</query>
<earliest>$field1.earliest$</earliest>
<latest>$field1.latest$</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="count">30</option>
<option name="drilldown">cell</option>
<format type="color" field="dest_port">
<colorPalette type="sharedList"></colorPalette>
<scale type="sharedCategory"></scale>
</format>
<format type="color" field="transport">
<colorPalette type="sharedList"></colorPalette>
<scale type="sharedCategory"></scale>
</format>
<format type="color" field="dest_ip">
<colorPalette type="sharedList"></colorPalette>
<scale type="sharedCategory"></scale>
</format>
<format type="color" field="COUNT">
<colorPalette type="minMidMax" maxColor="#ff4c4c" midColor="#ff7f7f" minColor="#ffe5e5"></colorPalette>
<scale type="minMidMax" maxType="percentile" maxValue="100" midType="percentile" midValue="50" minType="percentile" minValue="0"></scale>
</format>
</table>
</panel>
<panel>
<event>
<search>
<query>sourcetype="opnsense:filterlog" action=blocked src_ip="$clickedIP$" dest_port="$dport$" transport="$proto$"</query>
<earliest>$field1.earliest$</earliest>
<latest>$field1.latest$</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="list.drilldown">none</option>
<option name="list.wrap">1</option>
<option name="raw.drilldown">none</option>
<option name="rowNumbers">0</option>
<option name="table.drilldown">none</option>
<option name="table.wrap">1</option>
<option name="type">list</option>
</event>
</panel>
</row>
</dashboard>