-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
SWELF_SPLUNK_DASHBOARD.xml
429 lines (429 loc) · 17.2 KB
/
SWELF_SPLUNK_DASHBOARD.xml
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
<form theme="dark">
<label>SWELF</label>
<fieldset submitButton="false" autoRun="true">
<input type="dropdown" token="SourceComputer" searchWhenChanged="true">
<label>SourceComputer</label>
<fieldForLabel>SourceComputer</fieldForLabel>
<fieldForValue>SourceComputer</fieldForValue>
<search>
<query>* SourceComputer="*" | dedup SourceComputer | table SourceComputer</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
</input>
<input type="dropdown" token="sourcetype" searchWhenChanged="true">
<label>sourcetype</label>
<fieldForLabel>sourcetype</fieldForLabel>
<fieldForValue>sourcetype</fieldForValue>
<search>
<query>sourcetype=* | dedup sourcetype | table sourcetype</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<default>SWELF</default>
<initialValue>SWELF</initialValue>
</input>
<input type="time" token="TimeFrame">
<label>TimeFrame</label>
<default>
<earliest>-7d@h</earliest>
<latest>now</latest>
</default>
</input>
</fieldset>
<row>
<panel>
<title>IP and Log Count</title>
<table>
<title>IP and Log Count</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ | stats count by host</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="count">10</option>
<option name="drilldown">none</option>
<format type="number" field="count">
<option name="precision">0</option>
</format>
</table>
</panel>
<panel>
<title>Top 10 Recent Log Received by Date</title>
<table>
<title>Top 10 Recent Log Received by Date</title>
<search>
<query>| metadata type=hosts | sort recentTime desc | convert ctime(recentTime) as Recent_Time
| head 10
| table Recent_Time,host</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
<option name="drilldown">none</option>
</table>
</panel>
</row>
<row>
<panel>
<title>ComputerName Logs Sent</title>
<chart>
<title>ComputerName Logs Sent</title>
<search>
<query>sourcetype=$sourcetype$ | timechart span=1d count(EventRecordID) BY SourceComputer</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="charting.axisTitleX.visibility">visible</option>
<option name="charting.axisTitleY.visibility">visible</option>
<option name="charting.axisTitleY2.visibility">visible</option>
<option name="charting.chart">bar</option>
<option name="charting.drilldown">none</option>
<option name="charting.legend.placement">right</option>
<option name="refresh.display">progressbar</option>
</chart>
</panel>
<panel>
<title>Recent Log Usage</title>
<chart>
<title>Shows how many logs recieved over period below</title>
<search>
<query>index=_internal [`set_local_host`] source=*license_usage.log* type="RolloverSummary" earliest=-30d@d | eval _time=_time - 43200 | bin _time span=1d | stats latest(b) AS b by slave, pool, _time | timechart span=1d sum(b) AS "volume" fixedrange=false | join type=outer _time [search index=_internal [`set_local_host`] source=*license_usage.log* type="RolloverSummary" earliest=-30d@d | eval _time=_time - 43200 | bin _time span=1d | stats latest(stacksz) AS "stack size" by _time] | fields - _timediff | foreach * [eval <<FIELD>>=round('<<FIELD>>'/1024/1024/1024, 3)]</query>
<earliest>-30d@d</earliest>
<latest>-0d@d</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
<option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
<option name="charting.axisTitleX.visibility">visible</option>
<option name="charting.axisTitleY.visibility">visible</option>
<option name="charting.axisTitleY2.visibility">visible</option>
<option name="charting.axisX.abbreviation">none</option>
<option name="charting.axisX.scale">linear</option>
<option name="charting.axisY.abbreviation">none</option>
<option name="charting.axisY.scale">linear</option>
<option name="charting.axisY2.abbreviation">none</option>
<option name="charting.axisY2.enabled">0</option>
<option name="charting.axisY2.scale">inherit</option>
<option name="charting.chart">line</option>
<option name="charting.chart.bubbleMaximumSize">50</option>
<option name="charting.chart.bubbleMinimumSize">10</option>
<option name="charting.chart.bubbleSizeBy">area</option>
<option name="charting.chart.nullValueMode">gaps</option>
<option name="charting.chart.showDataLabels">none</option>
<option name="charting.chart.sliceCollapsingThreshold">0.01</option>
<option name="charting.chart.stackMode">default</option>
<option name="charting.chart.style">shiny</option>
<option name="charting.drilldown">none</option>
<option name="charting.layout.splitSeries">0</option>
<option name="charting.layout.splitSeries.allowIndependentYRanges">0</option>
<option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
<option name="charting.legend.mode">standard</option>
<option name="charting.legend.placement">right</option>
<option name="charting.lineWidth">2</option>
<option name="trellis.enabled">0</option>
<option name="trellis.scales.shared">1</option>
<option name="trellis.size">medium</option>
</chart>
</panel>
<panel>
<title>Possible Log Forwarding Stopped</title>
<table>
<title>Possible Log Forwarding Stopped</title>
<search>
<query>| metasearch sourcetype=$sourcetype$ $SourceComputer$
| eval host=upper(host)
| stats count by host
| append [ | inputlookup critical_systems | eval host=upper(Host_name), count=0 | fields host count ]
| stats sum(count) AS Total BY host
| where Total<=1</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="drilldown">none</option>
</table>
</panel>
</row>
<row>
<panel>
<title>EventLogName</title>
<table>
<title>EventLogName</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ | stats count by EventLogName| sort - count limit=10</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="count">10</option>
<option name="dataOverlayMode">none</option>
<option name="drilldown">row</option>
<option name="percentagesRow">false</option>
<option name="refresh.display">progressbar</option>
<option name="rowNumbers">true</option>
<option name="totalsRow">false</option>
<drilldown>
<link target="_blank">search?q=sourcetype=$sourcetype$%20$SourceComputer$%20%20%7C%20stats%20count%20by%20EventLogName%7C%20sort%20-%20count%20limit=10&earliest=$TimeFrame$&latest=now</link>
</drilldown>
</table>
</panel>
<panel>
<title>EventID</title>
<chart>
<title>EventID</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ | table EventID | stats count by EventID</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="charting.chart">pie</option>
<option name="charting.drilldown">none</option>
<option name="height">389</option>
</chart>
</panel>
<panel>
<title>DisplayName</title>
<chart>
<title>DisplayName</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ | table DisaplyName, ComputerName | stats count by DisplayName</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="charting.chart">pie</option>
<option name="charting.drilldown">none</option>
</chart>
</panel>
</row>
<row>
<panel>
<title>Search_Rule Hits</title>
<chart>
<title>Search_Rule Hits</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ | table Search_Rule, ComputerName | stats count by Search_Rule</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="charting.axisY.abbreviation">auto</option>
<option name="charting.axisY.scale">log</option>
<option name="charting.chart">pie</option>
<option name="charting.chart.showDataLabels">minmax</option>
<option name="charting.drilldown">none</option>
<option name="charting.layout.splitSeries">0</option>
<option name="height">389</option>
</chart>
</panel>
<panel>
<title>10 Most Common Sysmon rulenames</title>
<table>
<title>10 Most Common Sysmon rulenames</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ rulename=* | stats count by rulename | sort - count limit=10</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="count">10</option>
<option name="drilldown">cell</option>
</table>
</panel>
</row>
<row>
<panel>
<title>Search_Rule Hits</title>
<table>
<title>Search_Rule Hits</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ | table EventLogName, Search_Rule, EventID
|stats count by EventLogName, Search_Rule, EventID | sort - count limit=10</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="count">10</option>
<option name="drilldown">cell</option>
<option name="refresh.display">progressbar</option>
<option name="rowNumbers">true</option>
<option name="wrap">true</option>
<drilldown>
<link target="_blank">search?q=sourcetype=$sourcetype$%20$SourceComputer$%20%7C%20table%20EventLogName,%20Search_Rule,%20EventID%20%0A%7Cstats%20count%20by%20%20EventLogName,%20Search_Rule,%20EventID%20%7C%20sort%20-%20count%20limit=10&earliest=-7d@h&latest=now</link>
</drilldown>
</table>
</panel>
</row>
<row>
<panel>
<title>Top 10 Images using DNS</title>
<table>
<title>Images Using DNS</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ queryname=* image=*
| table queryname, image| stats count by queryname, image
| sort - count limit=10</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="count">10</option>
<option name="dataOverlayMode">none</option>
<option name="drilldown">cell</option>
<option name="percentagesRow">true</option>
<option name="refresh.display">progressbar</option>
<option name="rowNumbers">false</option>
<option name="totalsRow">true</option>
<drilldown>
<link target="_blank">search?q=sourcetype=$sourcetype$%20$SourceComputer$%20queryname=*%20image=*%0A%7C%20table%20queryname,%20image%7C%20stats%20count%20by%20queryname,%20image%0A%7C%20sort%20-%20count%20limit=10&earliest=-24h@h&latest=now</link>
</drilldown>
</table>
</panel>
<panel>
<title>Top 10 Images using HTTP(s)</title>
<table>
<title>Images using HTTP(s)</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ image=* destinationportname=http* | table image,destinationport| stats count by image,destinationport
| sort - count limit=10</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="count">10</option>
<option name="drilldown">row</option>
<option name="percentagesRow">true</option>
<option name="refresh.display">progressbar</option>
<option name="totalsRow">true</option>
</table>
</panel>
</row>
<row>
<panel>
<title>Rare Bottom 10 DNS Images</title>
<table>
<title>Rare Bottom 10 DNS Images</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ queryname=* image=*
| table queryname, image| stats count by queryname, image
| sort - count
| rare queryname,image limit=10</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="count">10</option>
<option name="drilldown">row</option>
<option name="percentagesRow">true</option>
<option name="refresh.display">progressbar</option>
<option name="totalsRow">true</option>
</table>
</panel>
<panel>
<title>Rare Bottom 10 HTTPs</title>
<table>
<title>Rare Bottom 10 HTTPs</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ image=* destinationportname=http*
| table image,destinationport
| stats count by image,destinationport
| sort - count
| rare image,destinationport limit=10</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="count">10</option>
<option name="drilldown">row</option>
<option name="percentagesRow">true</option>
<option name="refresh.display">progressbar</option>
<option name="totalsRow">true</option>
</table>
</panel>
</row>
<row>
<panel>
<title>Top 10 Parnet Child Processes</title>
<table>
<title>Parnet Child Processes</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ image=* parentimage=* | table image,parentimage| stats count by parentimage,image
| sort - count limit=10</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="count">10</option>
<option name="drilldown">row</option>
<option name="percentagesRow">true</option>
<option name="refresh.display">progressbar</option>
<option name="totalsRow">true</option>
</table>
</panel>
<panel>
<title>RARE 10 Parnet Child Processes</title>
<table>
<title>Parnet Child Processes</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ image=* parentimage=* | table image,parentimage| stats count by image,parentimage
| sort - count
| rare parentimage,image limit=10</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="count">10</option>
<option name="drilldown">row</option>
<option name="percentagesRow">true</option>
<option name="refresh.display">progressbar</option>
<option name="rowNumbers">false</option>
<option name="totalsRow">true</option>
</table>
</panel>
</row>
<row>
<panel>
<title>Top 10 DLL Loads</title>
<table>
<title>Top 10 DLL Loads</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ * | top limit=10 imageloaded</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="count">10</option>
<option name="drilldown">row</option>
<option name="percentagesRow">true</option>
<option name="refresh.display">progressbar</option>
<option name="totalsRow">true</option>
</table>
</panel>
<panel>
<title>Rare DLL Loads</title>
<table>
<title>Rare DLL Loads</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$
| rare limit=10 imageloaded</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="count">10</option>
<option name="drilldown">row</option>
<option name="percentagesRow">true</option>
<option name="refresh.display">progressbar</option>
<option name="totalsRow">true</option>
<drilldown>
<link target="_blank">search?q=sourcetype=$sourcetype$%20$SourceComputer$%20%0A%7C%20rare%20limit=10%20imageloaded&earliest=-7d@h&latest=now</link>
</drilldown>
</table>
</panel>
</row>
<row>
<panel>
<title>SWELF Self Reporting</title>
<table>
<title>ERRORS</title>
<search>
<query>sourcetype=$sourcetype$ $SourceComputer$ MethodInCode=* | table ComputerName,MethodInCode,Severity,LogSeverity | stats count by MethodInCode</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="count">10</option>
<option name="drilldown">cell</option>
<option name="refresh.display">progressbar</option>
<drilldown>
<link target="_blank">search?q=sourcetype=$sourcetype$%20$SourceComputer$%20MethodInCode=*%20%7C%20table%20ComputerName,MethodInCode,Severity,LogSeverity%20%7C%20stats%20count%20by%20MethodInCode%7C%20sort%20-%20count%20limit=10&earliest=-7d@h&latest=now</link>
</drilldown>
</table>
</panel>
</row>
</form>