1
+{
2
+ "annotations": {
3
+ "list": [
4
+ {
5
+ "builtIn": 1,
6
+ "datasource": {
7
+ "type": "grafana",
8
+ "uid": "-- Grafana --"
9
+ },
10
+ "enable": true,
11
+ "hide": true,
12
+ "iconColor": "rgba(0, 211, 255, 1)",
13
+ "name": "Annotations & Alerts",
14
+ "type": "dashboard"
15
+ }
16
+ ]
17
+ },
18
+ "editable": true,
19
+ "fiscalYearStartMonth": 0,
20
+ "graphTooltip": 0,
21
+ "id": null,
22
+ "links": [],
23
+ "liveNow": false,
24
+ "panels": [
25
+ {
26
+ "datasource": {
27
+ "type": "grafana-opensearch-datasource",
28
+ "uid": "replace_datasource_uid"
29
+ },
30
+ "fieldConfig": {
31
+ "defaults": {
32
+ "color": {
33
+ "mode": "thresholds"
34
+ },
35
+ "mappings": [],
36
+ "thresholds": {
37
+ "mode": "absolute",
38
+ "steps": [
39
+ {
40
+ "color": "red",
41
+ "value": null
42
+ }
43
+ ]
44
+ }
45
+ },
46
+ "overrides": []
47
+ },
48
+ "gridPos": {
49
+ "h": 7,
50
+ "w": 4,
51
+ "x": 0,
52
+ "y": 0
53
+ },
54
+ "id": 5,
55
+ "options": {
56
+ "colorMode": "value",
57
+ "graphMode": "none",
58
+ "justifyMode": "auto",
59
+ "orientation": "auto",
60
+ "reduceOptions": {
61
+ "calcs": ["sum"],
62
+ "fields": "",
63
+ "values": false
64
+ },
65
+ "textMode": "auto",
66
+ "wideLayout": true
67
+ },
68
+ "pluginVersion": "10.2.3",
69
+ "targets": [
70
+ {
71
+ "alias": "",
72
+ "bucketAggs": [
73
+ {
74
+ "field": "timestamp",
75
+ "id": "2",
76
+ "settings": {
77
+ "interval": "auto"
78
+ },
79
+ "type": "date_histogram"
80
+ }
81
+ ],
82
+ "datasource": {
83
+ "type": "grafana-opensearch-datasource",
84
+ "uid": "replace_datasource_uid"
85
+ },
86
+ "format": "table",
87
+ "metrics": [
88
+ {
89
+ "id": "1",
90
+ "type": "count"
91
+ }
92
+ ],
93
+ "query": "severity:critical",
94
+ "queryType": "lucene",
95
+ "refId": "A",
96
+ "timeField": "timestamp"
97
+ }
98
+ ],
99
+ "title": "EVENTS - CRITICAL",
100
+ "type": "stat"
101
+ },
102
+ {
103
+ "datasource": {
104
+ "type": "grafana-opensearch-datasource",
105
+ "uid": "replace_datasource_uid"
106
+ },
107
+ "fieldConfig": {
108
+ "defaults": {
109
+ "color": {
110
+ "mode": "thresholds"
111
+ },
112
+ "custom": {
113
+ "align": "auto",
114
+ "cellOptions": {
115
+ "type": "auto"
116
+ },
117
+ "inspect": false
118
+ },
119
+ "mappings": [],
120
+ "thresholds": {
121
+ "mode": "absolute",
122
+ "steps": [
123
+ {
124
+ "color": "red",
125
+ "value": null
126
+ }
127
+ ]
128
+ }
129
+ },
130
+ "overrides": [
131
+ {
132
+ "matcher": {
133
+ "id": "byName",
134
+ "options": "source"
135
+ },
136
+ "properties": [
137
+ {
138
+ "id": "custom.cellOptions",
139
+ "value": {
140
+ "type": "color-background"
141
+ }
142
+ }
143
+ ]
144
+ }
145
+ ]
146
+ },
147
+ "gridPos": {
148
+ "h": 7,
149
+ "w": 6,
150
+ "x": 4,
151
+ "y": 0
152
+ },
153
+ "id": 6,
154
+ "options": {
155
+ "cellHeight": "sm",
156
+ "footer": {
157
+ "countRows": false,
158
+ "fields": "",
159
+ "reducer": ["sum"],
160
+ "show": false
161
+ },
162
+ "showHeader": true
163
+ },
164
+ "pluginVersion": "10.2.3",
165
+ "targets": [
166
+ {
167
+ "alias": "",
168
+ "bucketAggs": [
169
+ {
170
+ "field": "source",
171
+ "id": "3",
172
+ "settings": {
173
+ "min_doc_count": "1",
174
+ "order": "desc",
175
+ "orderBy": "_term",
176
+ "size": "10"
177
+ },
178
+ "type": "terms"
179
+ }
180
+ ],
181
+ "datasource": {
182
+ "type": "grafana-opensearch-datasource",
183
+ "uid": "replace_datasource_uid"
184
+ },
185
+ "format": "table",
186
+ "metrics": [
187
+ {
188
+ "id": "1",
189
+ "type": "count"
190
+ }
191
+ ],
192
+ "query": "severity:critical",
193
+ "queryType": "lucene",
194
+ "refId": "A",
195
+ "timeField": "timestamp"
196
+ }
197
+ ],
198
+ "title": "EVENTS - CRITICAL (SOURCE)",
199
+ "transformations": [
200
+ {
201
+ "id": "organize",
202
+ "options": {
203
+ "excludeByName": {},
204
+ "includeByName": {},
205
+ "indexByName": {},
206
+ "renameByName": {
207
+ "source": "SOURCE"
208
+ }
209
+ }
210
+ }
211
+ ],
212
+ "transparent": true,
213
+ "type": "table"
214
+ },
215
+ {
216
+ "datasource": {
217
+ "type": "grafana-opensearch-datasource",
218
+ "uid": "replace_datasource_uid"
219
+ },
220
+ "fieldConfig": {
221
+ "defaults": {
222
+ "color": {
223
+ "mode": "thresholds"
224
+ },
225
+ "custom": {
226
+ "align": "auto",
227
+ "cellOptions": {
228
+ "type": "auto"
229
+ },
230
+ "inspect": false
231
+ },
232
+ "mappings": [],
233
+ "thresholds": {
234
+ "mode": "absolute",
235
+ "steps": [
236
+ {
237
+ "color": "red",
238
+ "value": null
239
+ }
240
+ ]
241
+ }
242
+ },
243
+ "overrides": [
244
+ {
245
+ "matcher": {
246
+ "id": "byName",
247
+ "options": "subject"
248
+ },
249
+ "properties": [
250
+ {
251
+ "id": "custom.cellOptions",
252
+ "value": {
253
+ "type": "color-background"
254
+ }
255
+ }
256
+ ]
257
+ }
258
+ ]
259
+ },
260
+ "gridPos": {
261
+ "h": 7,
262
+ "w": 14,
263
+ "x": 10,
264
+ "y": 0
265
+ },
266
+ "id": 7,
267
+ "options": {
268
+ "cellHeight": "sm",
269
+ "footer": {
270
+ "countRows": false,
271
+ "fields": "",
272
+ "reducer": ["sum"],
273
+ "show": false
274
+ },
275
+ "showHeader": true
276
+ },
277
+ "pluginVersion": "10.2.3",
278
+ "targets": [
279
+ {
280
+ "alias": "",
281
+ "bucketAggs": [
282
+ {
283
+ "field": "subject",
284
+ "id": "3",
285
+ "settings": {
286
+ "min_doc_count": "1",
287
+ "order": "desc",
288
+ "orderBy": "_term",
289
+ "size": "10"
290
+ },
291
+ "type": "terms"
292
+ }
293
+ ],
294
+ "datasource": {
295
+ "type": "grafana-opensearch-datasource",
296
+ "uid": "replace_datasource_uid"
297
+ },
298
+ "format": "table",
299
+ "metrics": [
300
+ {
301
+ "id": "1",
302
+ "type": "count"
303
+ }
304
+ ],
305
+ "query": "severity:critical",
306
+ "queryType": "lucene",
307
+ "refId": "A",
308
+ "timeField": "timestamp"
309
+ }
310
+ ],
311
+ "title": "EVENTS - CRITICAL (SUBJECT)",
312
+ "type": "table"
313
+ },
314
+ {
315
+ "datasource": {
316
+ "type": "grafana-opensearch-datasource",
317
+ "uid": "replace_datasource_uid"
318
+ },
319
+ "fieldConfig": {
320
+ "defaults": {
321
+ "color": {
322
+ "mode": "thresholds"
323
+ },
324
+ "mappings": [],
325
+ "thresholds": {
326
+ "mode": "absolute",
327
+ "steps": [
328
+ {
329
+ "color": "orange",
330
+ "value": null
331
+ }
332
+ ]
333
+ }
334
+ },
335
+ "overrides": []
336
+ },
337
+ "gridPos": {
338
+ "h": 7,
339
+ "w": 4,
340
+ "x": 0,
341
+ "y": 7
342
+ },
343
+ "id": 3,
344
+ "options": {
345
+ "colorMode": "value",
346
+ "graphMode": "none",
347
+ "justifyMode": "auto",
348
+ "orientation": "auto",
349
+ "reduceOptions": {
350
+ "calcs": ["sum"],
351
+ "fields": "",
352
+ "values": false
353
+ },
354
+ "textMode": "auto",
355
+ "wideLayout": true
356
+ },
357
+ "pluginVersion": "10.2.3",
358
+ "targets": [
359
+ {
360
+ "alias": "",
361
+ "bucketAggs": [
362
+ {
363
+ "field": "timestamp",
364
+ "id": "2",
365
+ "settings": {
366
+ "interval": "auto"
367
+ },
368
+ "type": "date_histogram"
369
+ }
370
+ ],
371
+ "datasource": {
372
+ "type": "grafana-opensearch-datasource",
373
+ "uid": "replace_datasource_uid"
374
+ },
375
+ "format": "table",
376
+ "metrics": [
377
+ {
378
+ "id": "1",
379
+ "type": "count"
380
+ }
381
+ ],
382
+ "query": "",
383
+ "queryType": "lucene",
384
+ "refId": "A",
385
+ "timeField": "timestamp"
386
+ }
387
+ ],
388
+ "title": "EVENTS",
389
+ "type": "stat"
390
+ },
391
+ {
392
+ "datasource": {
393
+ "type": "grafana-opensearch-datasource",
394
+ "uid": "replace_datasource_uid"
395
+ },
396
+ "fieldConfig": {
397
+ "defaults": {
398
+ "color": {
399
+ "mode": "palette-classic"
400
+ },
401
+ "custom": {
402
+ "axisBorderShow": false,
403
+ "axisCenteredZero": false,
404
+ "axisColorMode": "text",
405
+ "axisLabel": "",
406
+ "axisPlacement": "auto",
407
+ "barAlignment": 0,
408
+ "drawStyle": "bars",
409
+ "fillOpacity": 0,
410
+ "gradientMode": "none",
411
+ "hideFrom": {
412
+ "legend": false,
413
+ "tooltip": false,
414
+ "viz": false
415
+ },
416
+ "insertNulls": false,
417
+ "lineInterpolation": "linear",
418
+ "lineWidth": 1,
419
+ "pointSize": 5,
420
+ "scaleDistribution": {
421
+ "type": "linear"
422
+ },
423
+ "showPoints": "auto",
424
+ "spanNulls": false,
425
+ "stacking": {
426
+ "group": "A",
427
+ "mode": "none"
428
+ },
429
+ "thresholdsStyle": {
430
+ "mode": "off"
431
+ }
432
+ },
433
+ "mappings": [],
434
+ "thresholds": {
435
+ "mode": "absolute",
436
+ "steps": [
437
+ {
438
+ "color": "green",
439
+ "value": null
440
+ },
441
+ {
442
+ "color": "red",
443
+ "value": 80
444
+ }
445
+ ]
446
+ }
447
+ },
448
+ "overrides": []
449
+ },
450
+ "gridPos": {
451
+ "h": 14,
452
+ "w": 20,
453
+ "x": 4,
454
+ "y": 7
455
+ },
456
+ "id": 1,
457
+ "options": {
458
+ "legend": {
459
+ "calcs": [],
460
+ "displayMode": "table",
461
+ "placement": "right",
462
+ "showLegend": true
463
+ },
464
+ "tooltip": {
465
+ "mode": "single",
466
+ "sort": "none"
467
+ }
468
+ },
469
+ "targets": [
470
+ {
471
+ "alias": "",
472
+ "bucketAggs": [
473
+ {
474
+ "field": "source",
475
+ "id": "3",
476
+ "settings": {
477
+ "min_doc_count": "0",
478
+ "order": "desc",
479
+ "orderBy": "_term",
480
+ "size": "10"
481
+ },
482
+ "type": "terms"
483
+ },
484
+ {
485
+ "field": "timestamp",
486
+ "id": "2",
487
+ "settings": {
488
+ "interval": "10m"
489
+ },
490
+ "type": "date_histogram"
491
+ }
492
+ ],
493
+ "datasource": {
494
+ "type": "grafana-opensearch-datasource",
495
+ "uid": "replace_datasource_uid"
496
+ },
497
+ "format": "table",
498
+ "metrics": [
499
+ {
500
+ "id": "1",
501
+ "type": "count"
502
+ }
503
+ ],
504
+ "query": "",
505
+ "queryType": "lucene",
506
+ "refId": "A",
507
+ "timeField": "timestamp"
508
+ }
509
+ ],
510
+ "title": "EVENTS BY AGENT - HISTOGRAM",
511
+ "transformations": [
512
+ {
513
+ "id": "organize",
514
+ "options": {
515
+ "excludeByName": {},
516
+ "includeByName": {},
517
+ "indexByName": {},
518
+ "renameByName": {
519
+ "Count": "Agent"
520
+ }
521
+ }
522
+ }
523
+ ],
524
+ "type": "timeseries"
525
+ },
526
+ {
527
+ "datasource": {
528
+ "type": "grafana-opensearch-datasource",
529
+ "uid": "replace_datasource_uid"
530
+ },
531
+ "fieldConfig": {
532
+ "defaults": {
533
+ "color": {
534
+ "mode": "palette-classic"
535
+ },
536
+ "custom": {
537
+ "hideFrom": {
538
+ "legend": false,
539
+ "tooltip": false,
540
+ "viz": false
541
+ }
542
+ },
543
+ "mappings": []
544
+ },
545
+ "overrides": []
546
+ },
547
+ "gridPos": {
548
+ "h": 7,
549
+ "w": 4,
550
+ "x": 0,
551
+ "y": 14
552
+ },
553
+ "id": 4,
554
+ "options": {
555
+ "legend": {
556
+ "displayMode": "table",
557
+ "placement": "right",
558
+ "showLegend": true
559
+ },
560
+ "pieType": "donut",
561
+ "reduceOptions": {
562
+ "calcs": ["sum"],
563
+ "fields": "",
564
+ "values": false
565
+ },
566
+ "tooltip": {
567
+ "mode": "single",
568
+ "sort": "none"
569
+ }
570
+ },
571
+ "targets": [
572
+ {
573
+ "alias": "",
574
+ "bucketAggs": [
575
+ {
576
+ "field": "platform",
577
+ "id": "3",
578
+ "settings": {
579
+ "min_doc_count": "0",
580
+ "order": "desc",
581
+ "orderBy": "_term",
582
+ "size": "10"
583
+ },
584
+ "type": "terms"
585
+ },
586
+ {
587
+ "field": "timestamp",
588
+ "id": "2",
589
+ "settings": {
590
+ "interval": "auto"
591
+ },
592
+ "type": "date_histogram"
593
+ }
594
+ ],
595
+ "datasource": {
596
+ "type": "grafana-opensearch-datasource",
597
+ "uid": "replace_datasource_uid"
598
+ },
599
+ "format": "table",
600
+ "metrics": [
601
+ {
602
+ "id": "1",
603
+ "type": "count"
604
+ }
605
+ ],
606
+ "query": "",
607
+ "queryType": "lucene",
608
+ "refId": "A",
609
+ "timeField": "timestamp"
610
+ }
611
+ ],
612
+ "title": "EVENTS BY PLATRFORM",
613
+ "transformations": [
614
+ {
615
+ "id": "organize",
616
+ "options": {}
617
+ }
618
+ ],
619
+ "type": "piechart"
620
+ },
621
+ {
622
+ "datasource": {
623
+ "type": "grafana-opensearch-datasource",
624
+ "uid": "replace_datasource_uid"
625
+ },
626
+ "fieldConfig": {
627
+ "defaults": {
628
+ "color": {
629
+ "mode": "palette-classic"
630
+ },
631
+ "custom": {
632
+ "hideFrom": {
633
+ "legend": false,
634
+ "tooltip": false,
635
+ "viz": false
636
+ }
637
+ },
638
+ "mappings": []
639
+ },
640
+ "overrides": [
641
+ {
642
+ "matcher": {
643
+ "id": "byName",
644
+ "options": "high"
645
+ },
646
+ "properties": [
647
+ {
648
+ "id": "color",
649
+ "value": {
650
+ "fixedColor": "super-light-red",
651
+ "mode": "fixed"
652
+ }
653
+ }
654
+ ]
655
+ },
656
+ {
657
+ "matcher": {
658
+ "id": "byName",
659
+ "options": "critical"
660
+ },
661
+ "properties": [
662
+ {
663
+ "id": "color",
664
+ "value": {
665
+ "fixedColor": "red",
666
+ "mode": "fixed"
667
+ }
668
+ }
669
+ ]
670
+ }
671
+ ]
672
+ },
673
+ "gridPos": {
674
+ "h": 7,
675
+ "w": 4,
676
+ "x": 0,
677
+ "y": 21
678
+ },
679
+ "id": 8,
680
+ "options": {
681
+ "legend": {
682
+ "displayMode": "table",
683
+ "placement": "right",
684
+ "showLegend": true
685
+ },
686
+ "pieType": "donut",
687
+ "reduceOptions": {
688
+ "calcs": ["sum"],
689
+ "fields": "",
690
+ "values": false
691
+ },
692
+ "tooltip": {
693
+ "mode": "single",
694
+ "sort": "none"
695
+ }
696
+ },
697
+ "targets": [
698
+ {
699
+ "alias": "",
700
+ "bucketAggs": [
701
+ {
702
+ "field": "severity",
703
+ "id": "3",
704
+ "settings": {
705
+ "min_doc_count": "0",
706
+ "order": "desc",
707
+ "orderBy": "_term",
708
+ "size": "10"
709
+ },
710
+ "type": "terms"
711
+ },
712
+ {
713
+ "field": "timestamp",
714
+ "id": "2",
715
+ "settings": {
716
+ "interval": "auto"
717
+ },
718
+ "type": "date_histogram"
719
+ }
720
+ ],
721
+ "datasource": {
722
+ "type": "grafana-opensearch-datasource",
723
+ "uid": "replace_datasource_uid"
724
+ },
725
+ "format": "table",
726
+ "metrics": [
727
+ {
728
+ "id": "1",
729
+ "type": "count"
730
+ }
731
+ ],
732
+ "query": "",
733
+ "queryType": "lucene",
734
+ "refId": "A",
735
+ "timeField": "timestamp"
736
+ }
737
+ ],
738
+ "title": "EVENTS BY SEVERITY",
739
+ "transformations": [
740
+ {
741
+ "id": "organize",
742
+ "options": {}
743
+ }
744
+ ],
745
+ "type": "piechart"
746
+ },
747
+ {
748
+ "datasource": {
749
+ "type": "grafana-opensearch-datasource",
750
+ "uid": "replace_datasource_uid"
751
+ },
752
+ "fieldConfig": {
753
+ "defaults": {
754
+ "color": {
755
+ "mode": "palette-classic"
756
+ },
757
+ "custom": {
758
+ "axisBorderShow": false,
759
+ "axisCenteredZero": false,
760
+ "axisColorMode": "text",
761
+ "axisLabel": "",
762
+ "axisPlacement": "auto",
763
+ "barAlignment": 0,
764
+ "drawStyle": "bars",
765
+ "fillOpacity": 0,
766
+ "gradientMode": "none",
767
+ "hideFrom": {
768
+ "legend": false,
769
+ "tooltip": false,
770
+ "viz": false
771
+ },
772
+ "insertNulls": false,
773
+ "lineInterpolation": "linear",
774
+ "lineWidth": 1,
775
+ "pointSize": 5,
776
+ "scaleDistribution": {
777
+ "type": "linear"
778
+ },
779
+ "showPoints": "auto",
780
+ "spanNulls": false,
781
+ "stacking": {
782
+ "group": "A",
783
+ "mode": "none"
784
+ },
785
+ "thresholdsStyle": {
786
+ "mode": "off"
787
+ }
788
+ },
789
+ "mappings": [],
790
+ "thresholds": {
791
+ "mode": "absolute",
792
+ "steps": [
793
+ {
794
+ "color": "green",
795
+ "value": null
796
+ },
797
+ {
798
+ "color": "red",
799
+ "value": 80
800
+ }
801
+ ]
802
+ }
803
+ },
804
+ "overrides": [
805
+ {
806
+ "matcher": {
807
+ "id": "byName",
808
+ "options": "high"
809
+ },
810
+ "properties": [
811
+ {
812
+ "id": "color",
813
+ "value": {
814
+ "fixedColor": "super-light-red",
815
+ "mode": "fixed"
816
+ }
817
+ }
818
+ ]
819
+ },
820
+ {
821
+ "matcher": {
822
+ "id": "byName",
823
+ "options": "critical"
824
+ },
825
+ "properties": [
826
+ {
827
+ "id": "color",
828
+ "value": {
829
+ "fixedColor": "red",
830
+ "mode": "fixed"
831
+ }
832
+ }
833
+ ]
834
+ }
835
+ ]
836
+ },
837
+ "gridPos": {
838
+ "h": 14,
839
+ "w": 20,
840
+ "x": 4,
841
+ "y": 21
842
+ },
843
+ "id": 2,
844
+ "options": {
845
+ "legend": {
846
+ "calcs": [],
847
+ "displayMode": "table",
848
+ "placement": "right",
849
+ "showLegend": true
850
+ },
851
+ "tooltip": {
852
+ "mode": "single",
853
+ "sort": "none"
854
+ }
855
+ },
856
+ "targets": [
857
+ {
858
+ "alias": "",
859
+ "bucketAggs": [
860
+ {
861
+ "field": "severity",
862
+ "id": "3",
863
+ "settings": {
864
+ "min_doc_count": "0",
865
+ "order": "desc",
866
+ "orderBy": "_term",
867
+ "size": "10"
868
+ },
869
+ "type": "terms"
870
+ },
871
+ {
872
+ "field": "timestamp",
873
+ "id": "2",
874
+ "settings": {
875
+ "interval": "10m"
876
+ },
877
+ "type": "date_histogram"
878
+ }
879
+ ],
880
+ "datasource": {
881
+ "type": "grafana-opensearch-datasource",
882
+ "uid": "replace_datasource_uid"
883
+ },
884
+ "format": "table",
885
+ "metrics": [
886
+ {
887
+ "id": "1",
888
+ "type": "count"
889
+ }
890
+ ],
891
+ "query": "",
892
+ "queryType": "lucene",
893
+ "refId": "A",
894
+ "timeField": "timestamp"
895
+ }
896
+ ],
897
+ "title": "EVENTS BY SEVERITY - HISTOGRAM",
898
+ "transformations": [
899
+ {
900
+ "id": "organize",
901
+ "options": {
902
+ "excludeByName": {},
903
+ "includeByName": {},
904
+ "indexByName": {},
905
+ "renameByName": {
906
+ "Count": "Agent"
907
+ }
908
+ }
909
+ }
910
+ ],
911
+ "type": "timeseries"
912
+ },
913
+ {
914
+ "datasource": {
915
+ "type": "grafana-opensearch-datasource",
916
+ "uid": "replace_datasource_uid"
917
+ },
918
+ "fieldConfig": {
919
+ "defaults": {
920
+ "color": {
921
+ "mode": "palette-classic"
922
+ },
923
+ "custom": {
924
+ "hideFrom": {
925
+ "legend": false,
926
+ "tooltip": false,
927
+ "viz": false
928
+ }
929
+ },
930
+ "mappings": []
931
+ },
932
+ "overrides": [
933
+ {
934
+ "matcher": {
935
+ "id": "byName",
936
+ "options": "high"
937
+ },
938
+ "properties": [
939
+ {
940
+ "id": "color",
941
+ "value": {
942
+ "fixedColor": "super-light-red",
943
+ "mode": "fixed"
944
+ }
945
+ }
946
+ ]
947
+ },
948
+ {
949
+ "matcher": {
950
+ "id": "byName",
951
+ "options": "critical"
952
+ },
953
+ "properties": [
954
+ {
955
+ "id": "color",
956
+ "value": {
957
+ "fixedColor": "red",
958
+ "mode": "fixed"
959
+ }
960
+ }
961
+ ]
962
+ }
963
+ ]
964
+ },
965
+ "gridPos": {
966
+ "h": 7,
967
+ "w": 4,
968
+ "x": 0,
969
+ "y": 28
970
+ },
971
+ "id": 9,
972
+ "options": {
973
+ "legend": {
974
+ "displayMode": "table",
975
+ "placement": "bottom",
976
+ "showLegend": true
977
+ },
978
+ "pieType": "donut",
979
+ "reduceOptions": {
980
+ "calcs": ["sum"],
981
+ "fields": "",
982
+ "values": false
983
+ },
984
+ "tooltip": {
985
+ "mode": "single",
986
+ "sort": "none"
987
+ }
988
+ },
989
+ "targets": [
990
+ {
991
+ "alias": "",
992
+ "bucketAggs": [
993
+ {
994
+ "field": "indicator_types",
995
+ "id": "3",
996
+ "settings": {
997
+ "min_doc_count": "0",
998
+ "order": "desc",
999
+ "orderBy": "_term",
1000
+ "size": "10"
1001
+ },
1002
+ "type": "terms"
1003
+ },
1004
+ {
1005
+ "field": "timestamp",
1006
+ "id": "2",
1007
+ "settings": {
1008
+ "interval": "auto"
1009
+ },
1010
+ "type": "date_histogram"
1011
+ }
1012
+ ],
1013
+ "datasource": {
1014
+ "type": "grafana-opensearch-datasource",
1015
+ "uid": "replace_datasource_uid"
1016
+ },
1017
+ "format": "table",
1018
+ "metrics": [
1019
+ {
1020
+ "id": "1",
1021
+ "type": "count"
1022
+ }
1023
+ ],
1024
+ "query": "",
1025
+ "queryType": "lucene",
1026
+ "refId": "A",
1027
+ "timeField": "timestamp"
1028
+ }
1029
+ ],
1030
+ "title": "EVENTS BY INDICATOR TYPES",
1031
+ "transformations": [
1032
+ {
1033
+ "id": "organize",
1034
+ "options": {}
1035
+ }
1036
+ ],
1037
+ "type": "piechart"
1038
+ },
1039
+ {
1040
+ "datasource": {
1041
+ "type": "grafana-opensearch-datasource",
1042
+ "uid": "replace_datasource_uid"
1043
+ },
1044
+ "fieldConfig": {
1045
+ "defaults": {
1046
+ "color": {
1047
+ "mode": "thresholds"
1048
+ },
1049
+ "custom": {
1050
+ "align": "auto",
1051
+ "cellOptions": {
1052
+ "type": "auto"
1053
+ },
1054
+ "filterable": true,
1055
+ "inspect": false
1056
+ },
1057
+ "mappings": [],
1058
+ "thresholds": {
1059
+ "mode": "absolute",
1060
+ "steps": [
1061
+ {
1062
+ "color": "green"
1063
+ },
1064
+ {
1065
+ "color": "red",
1066
+ "value": 80
1067
+ }
1068
+ ]
1069
+ }
1070
+ },
1071
+ "overrides": [
1072
+ {
1073
+ "matcher": {
1074
+ "id": "byName",
1075
+ "options": "EVENT ID"
1076
+ },
1077
+ "properties": [
1078
+ {
1079
+ "id": "links",
1080
+ "value": [
1081
+ {
1082
+ "targetBlank": true,
1083
+ "title": "EVENT DETAILS",
1084
+ "url": "https://grafana.company.local/explore?left=%7B%22datasource%22:%22HUNTRESS%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22query%22:%22_id:${__value.text}%22,%22alias%22:%22%22,%22metrics%22:%5B%7B%22id%22:%221%22,%22type%22:%22logs%22,%22settings%22:%7B%22limit%22:%22500%22%7D%7D%5D,%22bucketAggs%22:%5B%5D,%22timeField%22:%22timestamp%22%7D%5D,%22range%22:%7B%22from%22:%22now-6h%22,%22to%22:%22now%22%7D%7D"
1085
+ }
1086
+ ]
1087
+ }
1088
+ ]
1089
+ }
1090
+ ]
1091
+ },
1092
+ "gridPos": {
1093
+ "h": 15,
1094
+ "w": 24,
1095
+ "x": 0,
1096
+ "y": 35
1097
+ },
1098
+ "id": 10,
1099
+ "options": {
1100
+ "cellHeight": "sm",
1101
+ "footer": {
1102
+ "countRows": false,
1103
+ "enablePagination": true,
1104
+ "fields": "",
1105
+ "reducer": ["sum"],
1106
+ "show": false
1107
+ },
1108
+ "showHeader": true
1109
+ },
1110
+ "pluginVersion": "10.2.3",
1111
+ "targets": [
1112
+ {
1113
+ "alias": "",
1114
+ "bucketAggs": [],
1115
+ "datasource": {
1116
+ "type": "grafana-opensearch-datasource",
1117
+ "uid": "replace_datasource_uid"
1118
+ },
1119
+ "format": "table",
1120
+ "metrics": [
1121
+ {
1122
+ "id": "1",
1123
+ "settings": {
1124
+ "order": "desc",
1125
+ "size": "500",
1126
+ "useTimeRange": true
1127
+ },
1128
+ "type": "raw_data"
1129
+ }
1130
+ ],
1131
+ "query": "",
1132
+ "queryType": "lucene",
1133
+ "refId": "A",
1134
+ "timeField": "timestamp"
1135
+ }
1136
+ ],
1137
+ "title": "EVENTS",
1138
+ "transformations": [
1139
+ {
1140
+ "id": "filterFieldsByName",
1141
+ "options": {
1142
+ "include": {
1143
+ "names": [
1144
+ "timestamp",
1145
+ "_id",
1146
+ "body",
1147
+ "footholds",
1148
+ "indicator_types",
1149
+ "platform",
1150
+ "severity",
1151
+ "source",
1152
+ "status",
1153
+ "subject",
1154
+ "summary",
1155
+ "agent_id"
1156
+ ]
1157
+ }
1158
+ }
1159
+ },
1160
+ {
1161
+ "id": "organize",
1162
+ "options": {
1163
+ "excludeByName": {},
1164
+ "includeByName": {},
1165
+ "indexByName": {
1166
+ "_id": 1,
1167
+ "agent_id": 3,
1168
+ "body": 8,
1169
+ "footholds": 9,
1170
+ "indicator_types": 5,
1171
+ "platform": 4,
1172
+ "severity": 10,
1173
+ "source": 2,
1174
+ "status": 11,
1175
+ "subject": 6,
1176
+ "summary": 7,
1177
+ "timestamp": 0
1178
+ },
1179
+ "renameByName": {
1180
+ "_id": "EVENT ID",
1181
+ "agent_id": "AGENT ID",
1182
+ "body": "BODY",
1183
+ "footholds": "FOOTHOLDS",
1184
+ "indicator_types": "INDICATOR TYPES",
1185
+ "platform": "PLATFORM",
1186
+ "severity": "SEVERITY",
1187
+ "source": "SOURCE",
1188
+ "status": "STATUS",
1189
+ "subject": "SUBJECT",
1190
+ "summary": "SUMMARY",
1191
+ "timestamp": "DATE/TIME"
1192
+ }
1193
+ }
1194
+ }
1195
+ ],
1196
+ "transparent": true,
1197
+ "type": "table"
1198
+ }
1199
+ ],
1200
+ "refresh": "",
1201
+ "schemaVersion": 39,
1202
+ "tags": [],
1203
+ "templating": {
1204
+ "list": []
1205
+ },
1206
+ "time": {
1207
+ "from": "now-24h",
1208
+ "to": "now"
1209
+ },
1210
+ "timepicker": {},
1211
+ "timezone": "",
1212
+ "title": "HUNTRESS - _SUMMARY",
1213
+ "version": 4,
1214
+ "weekStart": ""
1215
+}