Last active 1 week ago

Revision 34c5c3d64bddcbaeb9dc69412eea5cd809e1c63e

grafana.json Raw
1{
2 "apiVersion": "dashboard.grafana.app/v2",
3 "kind": "Dashboard",
4 "metadata": {
5 "name": "ad-samba-audit2",
6 "generation": 29,
7 "creationTimestamp": "2026-07-03T12:41:09Z",
8 "labels": {},
9 "annotations": {}
10 },
11 "spec": {
12 "annotations": [
13 {
14 "kind": "AnnotationQuery",
15 "spec": {
16 "query": {
17 "kind": "DataQuery",
18 "group": "grafana",
19 "version": "v0",
20 "spec": {}
21 },
22 "enable": true,
23 "hide": true,
24 "iconColor": "rgba(0, 211, 255, 1)",
25 "name": "Annotations & Alerts",
26 "builtIn": true
27 }
28 }
29 ],
30 "cursorSync": "Crosshair",
31 "editable": true,
32 "elements": {
33 "panel-1": {
34 "kind": "Panel",
35 "spec": {
36 "id": 1,
37 "title": "Logins OK",
38 "description": "Успешные входы в домен (samba_auth): машинные и пользовательские, разбивка по домену.",
39 "links": [],
40 "data": {
41 "kind": "QueryGroup",
42 "spec": {
43 "queries": [
44 {
45 "kind": "PanelQuery",
46 "spec": {
47 "query": {
48 "kind": "DataQuery",
49 "group": "influxdb",
50 "version": "v0",
51 "spec": {
52 "alias": "machine_login",
53 "groupBy": [
54 {
55 "params": [
56 "$interval"
57 ],
58 "type": "time"
59 },
60 {
61 "params": [
62 "domain::tag"
63 ],
64 "type": "tag"
65 },
66 {
67 "params": [
68 "null"
69 ],
70 "type": "fill"
71 }
72 ],
73 "measurement": "samba_auth",
74 "orderByTime": "ASC",
75 "policy": "default",
76 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
77 "rawQuery": false,
78 "resultFormat": "time_series",
79 "select": [
80 [
81 {
82 "params": [
83 "client_account"
84 ],
85 "type": "field"
86 },
87 {
88 "params": [],
89 "type": "count"
90 }
91 ]
92 ],
93 "tags": [
94 {
95 "key": "status::tag",
96 "operator": "=",
97 "value": "NT_STATUS_OK"
98 },
99 {
100 "condition": "AND",
101 "key": "account::tag",
102 "operator": "=~",
103 "value": "/^MACHINE/"
104 }
105 ]
106 },
107 "labels": {
108 "grafana.app/export-label": "influxdb-1"
109 }
110 },
111 "refId": "A",
112 "hidden": false
113 }
114 },
115 {
116 "kind": "PanelQuery",
117 "spec": {
118 "query": {
119 "kind": "DataQuery",
120 "group": "influxdb",
121 "version": "v0",
122 "spec": {
123 "alias": "user_login",
124 "groupBy": [
125 {
126 "params": [
127 "$interval"
128 ],
129 "type": "time"
130 },
131 {
132 "params": [
133 "domain::tag"
134 ],
135 "type": "tag"
136 },
137 {
138 "params": [
139 "null"
140 ],
141 "type": "fill"
142 }
143 ],
144 "measurement": "samba_auth",
145 "orderByTime": "ASC",
146 "policy": "default",
147 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^user/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
148 "rawQuery": false,
149 "resultFormat": "time_series",
150 "select": [
151 [
152 {
153 "params": [
154 "client_account"
155 ],
156 "type": "field"
157 },
158 {
159 "params": [],
160 "type": "count"
161 }
162 ]
163 ],
164 "tags": [
165 {
166 "key": "status::tag",
167 "operator": "=",
168 "value": "NT_STATUS_OK"
169 },
170 {
171 "condition": "AND",
172 "key": "account::tag",
173 "operator": "=~",
174 "value": "/^user/"
175 },
176 {
177 "condition": "OR",
178 "key": "account::tag",
179 "operator": "=~",
180 "value": "/^loadtest/"
181 }
182 ]
183 },
184 "labels": {
185 "grafana.app/export-label": "influxdb-1"
186 }
187 },
188 "refId": "B",
189 "hidden": false
190 }
191 }
192 ],
193 "transformations": [],
194 "queryOptions": {}
195 }
196 },
197 "vizConfig": {
198 "kind": "VizConfig",
199 "group": "timeseries",
200 "version": "13.0.1+security-01",
201 "spec": {
202 "options": {
203 "annotations": {
204 "clustering": -1,
205 "multiLane": false
206 },
207 "legend": {
208 "calcs": [],
209 "displayMode": "list",
210 "placement": "bottom",
211 "showLegend": true
212 },
213 "tooltip": {
214 "hideZeros": false,
215 "mode": "single",
216 "sort": "none"
217 }
218 },
219 "fieldConfig": {
220 "defaults": {
221 "thresholds": {
222 "mode": "absolute",
223 "steps": [
224 {
225 "value": 0,
226 "color": "green"
227 },
228 {
229 "value": 80,
230 "color": "red"
231 }
232 ]
233 },
234 "color": {
235 "mode": "palette-classic"
236 },
237 "custom": {
238 "axisBorderShow": false,
239 "axisCenteredZero": false,
240 "axisColorMode": "text",
241 "axisLabel": "",
242 "axisPlacement": "auto",
243 "barAlignment": 0,
244 "barWidthFactor": 0.6,
245 "drawStyle": "line",
246 "fillOpacity": 10,
247 "gradientMode": "none",
248 "hideFrom": {
249 "legend": false,
250 "tooltip": false,
251 "viz": false
252 },
253 "insertNulls": false,
254 "lineInterpolation": "smooth",
255 "lineWidth": 1,
256 "pointSize": 5,
257 "scaleDistribution": {
258 "type": "linear"
259 },
260 "showPoints": "auto",
261 "showValues": false,
262 "spanNulls": false,
263 "stacking": {
264 "group": "A",
265 "mode": "none"
266 },
267 "thresholdsStyle": {
268 "mode": "off"
269 }
270 }
271 },
272 "overrides": []
273 }
274 }
275 }
276 }
277 },
278 "panel-10": {
279 "kind": "Panel",
280 "spec": {
281 "id": 10,
282 "title": "Samba: подключённых клиентов",
283 "description": "История числа подключённых SMB-клиентов (samba_clients.count).",
284 "links": [],
285 "data": {
286 "kind": "QueryGroup",
287 "spec": {
288 "queries": [
289 {
290 "kind": "PanelQuery",
291 "spec": {
292 "query": {
293 "kind": "DataQuery",
294 "group": "influxdb",
295 "version": "v0",
296 "spec": {
297 "alias": "clients",
298 "groupBy": [
299 {
300 "params": [
301 "$__interval"
302 ],
303 "type": "time"
304 },
305 {
306 "params": [
307 "null"
308 ],
309 "type": "fill"
310 }
311 ],
312 "measurement": "samba_clients",
313 "orderByTime": "ASC",
314 "policy": "default",
315 "query": "SELECT last(\"count\") FROM \"samba_clients\" WHERE $timeFilter GROUP BY time($__interval) fill(null)",
316 "rawQuery": false,
317 "resultFormat": "time_series",
318 "select": [
319 [
320 {
321 "params": [
322 "count"
323 ],
324 "type": "field"
325 },
326 {
327 "params": [],
328 "type": "last"
329 }
330 ]
331 ],
332 "tags": []
333 },
334 "labels": {
335 "grafana.app/export-label": "influxdb-1"
336 }
337 },
338 "refId": "A",
339 "hidden": false
340 }
341 }
342 ],
343 "transformations": [],
344 "queryOptions": {}
345 }
346 },
347 "vizConfig": {
348 "kind": "VizConfig",
349 "group": "timeseries",
350 "version": "13.0.1+security-01",
351 "spec": {
352 "options": {
353 "annotations": {
354 "clustering": -1,
355 "multiLane": false
356 },
357 "legend": {
358 "calcs": [],
359 "displayMode": "list",
360 "placement": "bottom",
361 "showLegend": true
362 },
363 "tooltip": {
364 "hideZeros": false,
365 "mode": "single",
366 "sort": "none"
367 }
368 },
369 "fieldConfig": {
370 "defaults": {
371 "unit": "none",
372 "thresholds": {
373 "mode": "absolute",
374 "steps": [
375 {
376 "value": 0,
377 "color": "green"
378 }
379 ]
380 },
381 "color": {
382 "mode": "palette-classic"
383 },
384 "custom": {
385 "axisBorderShow": false,
386 "axisCenteredZero": false,
387 "axisColorMode": "text",
388 "axisLabel": "",
389 "axisPlacement": "auto",
390 "barAlignment": 0,
391 "barWidthFactor": 0.6,
392 "drawStyle": "line",
393 "fillOpacity": 15,
394 "gradientMode": "none",
395 "hideFrom": {
396 "legend": false,
397 "tooltip": false,
398 "viz": false
399 },
400 "insertNulls": false,
401 "lineInterpolation": "stepAfter",
402 "lineWidth": 2,
403 "pointSize": 5,
404 "scaleDistribution": {
405 "type": "linear"
406 },
407 "showPoints": "auto",
408 "showValues": false,
409 "spanNulls": false,
410 "stacking": {
411 "group": "A",
412 "mode": "none"
413 },
414 "thresholdsStyle": {
415 "mode": "off"
416 }
417 }
418 },
419 "overrides": []
420 }
421 }
422 }
423 }
424 },
425 "panel-11": {
426 "kind": "Panel",
427 "spec": {
428 "id": 11,
429 "title": "Authentifications",
430 "description": "Успешные входы в домен (samba_auth): машинные и пользовательские, разбивка по домену.",
431 "links": [],
432 "data": {
433 "kind": "QueryGroup",
434 "spec": {
435 "queries": [
436 {
437 "kind": "PanelQuery",
438 "spec": {
439 "query": {
440 "kind": "DataQuery",
441 "group": "influxdb",
442 "version": "v0",
443 "spec": {
444 "alias": "machine_login_5m",
445 "groupBy": [
446 {
447 "params": [
448 "5m"
449 ],
450 "type": "time"
451 },
452 {
453 "params": [
454 "domain::tag"
455 ],
456 "type": "tag"
457 },
458 {
459 "params": [
460 "null"
461 ],
462 "type": "fill"
463 }
464 ],
465 "measurement": "samba_auth",
466 "orderByTime": "ASC",
467 "policy": "default",
468 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
469 "rawQuery": false,
470 "resultFormat": "time_series",
471 "select": [
472 [
473 {
474 "params": [
475 "client_account"
476 ],
477 "type": "field"
478 },
479 {
480 "params": [],
481 "type": "count"
482 }
483 ]
484 ],
485 "tags": [
486 {
487 "key": "status::tag",
488 "operator": "=",
489 "value": "NT_STATUS_OK"
490 },
491 {
492 "condition": "AND",
493 "key": "account::tag",
494 "operator": "=~",
495 "value": "/^MACHINE/"
496 }
497 ]
498 },
499 "labels": {
500 "grafana.app/export-label": "influxdb-1"
501 }
502 },
503 "refId": "A",
504 "hidden": false
505 }
506 },
507 {
508 "kind": "PanelQuery",
509 "spec": {
510 "query": {
511 "kind": "DataQuery",
512 "group": "influxdb",
513 "version": "v0",
514 "spec": {
515 "alias": "user_login_5m",
516 "groupBy": [
517 {
518 "params": [
519 "5m"
520 ],
521 "type": "time"
522 },
523 {
524 "params": [
525 "domain::tag"
526 ],
527 "type": "tag"
528 },
529 {
530 "params": [
531 "null"
532 ],
533 "type": "fill"
534 }
535 ],
536 "measurement": "samba_auth",
537 "orderByTime": "ASC",
538 "policy": "default",
539 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^user/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
540 "rawQuery": false,
541 "resultFormat": "time_series",
542 "select": [
543 [
544 {
545 "params": [
546 "client_account"
547 ],
548 "type": "field"
549 },
550 {
551 "params": [],
552 "type": "count"
553 }
554 ]
555 ],
556 "tags": [
557 {
558 "key": "status::tag",
559 "operator": "=",
560 "value": "NT_STATUS_OK"
561 },
562 {
563 "condition": "AND",
564 "key": "account::tag",
565 "operator": "=~",
566 "value": "/^user/"
567 },
568 {
569 "condition": "OR",
570 "key": "account::tag",
571 "operator": "=~",
572 "value": "/^loadtest/"
573 }
574 ]
575 },
576 "labels": {
577 "grafana.app/export-label": "influxdb-1"
578 }
579 },
580 "refId": "B",
581 "hidden": false
582 }
583 }
584 ],
585 "transformations": [],
586 "queryOptions": {}
587 }
588 },
589 "vizConfig": {
590 "kind": "VizConfig",
591 "group": "stat",
592 "version": "13.0.1+security-01",
593 "spec": {
594 "options": {
595 "colorMode": "value",
596 "graphMode": "area",
597 "justifyMode": "auto",
598 "orientation": "auto",
599 "percentChangeColorMode": "standard",
600 "reduceOptions": {
601 "calcs": [
602 "sum"
603 ],
604 "fields": "",
605 "values": false
606 },
607 "showPercentChange": false,
608 "textMode": "auto",
609 "wideLayout": true
610 },
611 "fieldConfig": {
612 "defaults": {
613 "thresholds": {
614 "mode": "absolute",
615 "steps": [
616 {
617 "value": 0,
618 "color": "green"
619 },
620 {
621 "value": 80,
622 "color": "red"
623 }
624 ]
625 },
626 "color": {
627 "mode": "palette-classic"
628 }
629 },
630 "overrides": []
631 }
632 }
633 }
634 }
635 },
636 "panel-12": {
637 "kind": "Panel",
638 "spec": {
639 "id": 12,
640 "title": "vfs_fsync ops",
641 "description": "Метрика за каждую секунду: Каждый блок или строчка — это отчет за 1 секунду времени (так как в скрипте задан интервал interval:s:1).Имя функции (vfs_fsync_range): Ядро Linux обрабатывает запросы к файлу .ldb именно через системный вызов vfs_fsync_range. Это означает, что приложение не просто сохраняет весь файл целиком, а пытается очень часто и точечно сбрасывать из оперативной памяти на диск конкретные измененные участки (диапазоны байт).",
642 "links": [],
643 "data": {
644 "kind": "QueryGroup",
645 "spec": {
646 "queries": [
647 {
648 "kind": "PanelQuery",
649 "spec": {
650 "query": {
651 "kind": "DataQuery",
652 "group": "influxdb",
653 "version": "v0",
654 "spec": {
655 "alias": "machine_login",
656 "groupBy": [
657 {
658 "params": [
659 "$interval"
660 ],
661 "type": "time"
662 },
663 {
664 "params": [
665 "null"
666 ],
667 "type": "fill"
668 }
669 ],
670 "measurement": "samba_sync_ops",
671 "orderByTime": "ASC",
672 "policy": "default",
673 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
674 "rawQuery": false,
675 "resultFormat": "time_series",
676 "select": [
677 [
678 {
679 "params": [
680 "count"
681 ],
682 "type": "field"
683 },
684 {
685 "params": [],
686 "type": "sum"
687 }
688 ]
689 ],
690 "tags": []
691 },
692 "labels": {
693 "grafana.app/export-label": "influxdb-1"
694 }
695 },
696 "refId": "A",
697 "hidden": false
698 }
699 }
700 ],
701 "transformations": [],
702 "queryOptions": {}
703 }
704 },
705 "vizConfig": {
706 "kind": "VizConfig",
707 "group": "timeseries",
708 "version": "13.0.1+security-01",
709 "spec": {
710 "options": {
711 "annotations": {
712 "clustering": -1,
713 "multiLane": false
714 },
715 "legend": {
716 "calcs": [],
717 "displayMode": "list",
718 "placement": "bottom",
719 "showLegend": true
720 },
721 "tooltip": {
722 "hideZeros": false,
723 "mode": "single",
724 "sort": "none"
725 }
726 },
727 "fieldConfig": {
728 "defaults": {
729 "thresholds": {
730 "mode": "absolute",
731 "steps": [
732 {
733 "value": 0,
734 "color": "green"
735 },
736 {
737 "value": 80,
738 "color": "red"
739 }
740 ]
741 },
742 "color": {
743 "mode": "palette-classic"
744 },
745 "custom": {
746 "axisBorderShow": false,
747 "axisCenteredZero": false,
748 "axisColorMode": "text",
749 "axisLabel": "",
750 "axisPlacement": "auto",
751 "barAlignment": 0,
752 "barWidthFactor": 0.6,
753 "drawStyle": "line",
754 "fillOpacity": 10,
755 "gradientMode": "none",
756 "hideFrom": {
757 "legend": false,
758 "tooltip": false,
759 "viz": false
760 },
761 "insertNulls": false,
762 "lineInterpolation": "smooth",
763 "lineWidth": 1,
764 "pointSize": 5,
765 "scaleDistribution": {
766 "type": "linear"
767 },
768 "showPoints": "auto",
769 "showValues": false,
770 "spanNulls": false,
771 "stacking": {
772 "group": "A",
773 "mode": "none"
774 },
775 "thresholdsStyle": {
776 "mode": "off"
777 }
778 }
779 },
780 "overrides": []
781 }
782 }
783 }
784 }
785 },
786 "panel-13": {
787 "kind": "Panel",
788 "spec": {
789 "id": 13,
790 "title": "ldb ops",
791 "description": "* Режим чистого чтения [ R ]: Метрика ldb_search_events растет (пользователи входят \n в сеть), а syscall_fsync_events держится около нуля. База в RAM работает идеально.\n* Режим записи [ W ] / [ CW ]: Метрика syscall_fsync_events начинает расти синхронно \n с действиями пользователей. Это означает, что изменения фиксируются на диск. \n Если график упирается в производительность ваших дисков, время ответа Samba \n будет увеличиваться (растут задержки аутентификации).\n\nO=Open (Открытие файла для записи/изменения)\nRO=Read Only (Открытие файла строго для чтения)\nR=Read (Чтение данных из файла)\nW=Write (Запись измененных данных в кэш памяти)\nCW=Commit/Close Write (Фиксация транзакции и принудительный сброс на диск)",
792 "links": [],
793 "data": {
794 "kind": "QueryGroup",
795 "spec": {
796 "queries": [
797 {
798 "kind": "PanelQuery",
799 "spec": {
800 "query": {
801 "kind": "DataQuery",
802 "group": "influxdb",
803 "version": "v0",
804 "spec": {
805 "groupBy": [
806 {
807 "params": [
808 "$interval"
809 ],
810 "type": "time"
811 },
812 {
813 "params": [
814 "prog::tag"
815 ],
816 "type": "tag"
817 },
818 {
819 "params": [
820 "action::tag"
821 ],
822 "type": "tag"
823 },
824 {
825 "params": [
826 "null"
827 ],
828 "type": "fill"
829 }
830 ],
831 "measurement": "samba_file_access",
832 "orderByTime": "ASC",
833 "policy": "default",
834 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
835 "rawQuery": false,
836 "resultFormat": "time_series",
837 "select": [
838 [
839 {
840 "params": [
841 "pid"
842 ],
843 "type": "field"
844 },
845 {
846 "params": [],
847 "type": "sum"
848 }
849 ]
850 ],
851 "tags": []
852 },
853 "labels": {
854 "grafana.app/export-label": "influxdb-1"
855 }
856 },
857 "refId": "A",
858 "hidden": false
859 }
860 }
861 ],
862 "transformations": [],
863 "queryOptions": {}
864 }
865 },
866 "vizConfig": {
867 "kind": "VizConfig",
868 "group": "timeseries",
869 "version": "13.0.1+security-01",
870 "spec": {
871 "options": {
872 "annotations": {
873 "clustering": -1,
874 "multiLane": false
875 },
876 "legend": {
877 "calcs": [],
878 "displayMode": "list",
879 "placement": "bottom",
880 "showLegend": true
881 },
882 "tooltip": {
883 "hideZeros": false,
884 "mode": "single",
885 "sort": "none"
886 }
887 },
888 "fieldConfig": {
889 "defaults": {
890 "thresholds": {
891 "mode": "absolute",
892 "steps": [
893 {
894 "value": 0,
895 "color": "green"
896 },
897 {
898 "value": 80,
899 "color": "red"
900 }
901 ]
902 },
903 "color": {
904 "mode": "palette-classic"
905 },
906 "custom": {
907 "axisBorderShow": false,
908 "axisCenteredZero": false,
909 "axisColorMode": "text",
910 "axisLabel": "",
911 "axisPlacement": "auto",
912 "barAlignment": 0,
913 "barWidthFactor": 0.6,
914 "drawStyle": "line",
915 "fillOpacity": 10,
916 "gradientMode": "none",
917 "hideFrom": {
918 "legend": false,
919 "tooltip": false,
920 "viz": false
921 },
922 "insertNulls": false,
923 "lineInterpolation": "smooth",
924 "lineWidth": 1,
925 "pointSize": 5,
926 "scaleDistribution": {
927 "type": "linear"
928 },
929 "showPoints": "auto",
930 "showValues": false,
931 "spanNulls": false,
932 "stacking": {
933 "group": "A",
934 "mode": "none"
935 },
936 "thresholdsStyle": {
937 "mode": "off"
938 }
939 }
940 },
941 "overrides": []
942 }
943 }
944 }
945 }
946 },
947 "panel-14": {
948 "kind": "Panel",
949 "spec": {
950 "id": 14,
951 "title": "vmstat",
952 "description": "si=Swap In, Объем данных в КБ/сек, считываемый из свопа обратно в ОЗУ. Высокое значение = жесткие тормоза.\nso=Swap Out, Объем данных в КБ/сек, сбрасываемый из ОЗУ в своп на диск из-за нехватки памяти.\n\nbi=Blocks In, Количество блоков, считанных с диска в КБ/сек. Показывает активность чтения.\nbo=Blocks Out, Количество блоков, записанных на диск в КБ/сек. Связано с операциями W, CW и fsync.\n\nin=Interrupts, Количество аппаратных прерываний в секунду, включая системные часы.\n\nid=Idle Time, Процент времени, когда CPU ничем не занят. Если около 0 — процессор загружен полностью.",
953 "links": [],
954 "data": {
955 "kind": "QueryGroup",
956 "spec": {
957 "queries": [
958 {
959 "kind": "PanelQuery",
960 "spec": {
961 "query": {
962 "kind": "DataQuery",
963 "group": "influxdb",
964 "version": "v0",
965 "spec": {
966 "alias": "si",
967 "groupBy": [
968 {
969 "params": [
970 "$interval"
971 ],
972 "type": "time"
973 },
974 {
975 "params": [
976 "null"
977 ],
978 "type": "fill"
979 }
980 ],
981 "measurement": "host_vmstat",
982 "orderByTime": "ASC",
983 "policy": "default",
984 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
985 "rawQuery": false,
986 "resultFormat": "time_series",
987 "select": [
988 [
989 {
990 "params": [
991 "si"
992 ],
993 "type": "field"
994 },
995 {
996 "params": [],
997 "type": "sum"
998 }
999 ]
1000 ],
1001 "tags": []
1002 },
1003 "labels": {
1004 "grafana.app/export-label": "influxdb-1"
1005 }
1006 },
1007 "refId": "A",
1008 "hidden": false
1009 }
1010 },
1011 {
1012 "kind": "PanelQuery",
1013 "spec": {
1014 "query": {
1015 "kind": "DataQuery",
1016 "group": "influxdb",
1017 "version": "v0",
1018 "spec": {
1019 "alias": "so",
1020 "groupBy": [
1021 {
1022 "params": [
1023 "$interval"
1024 ],
1025 "type": "time"
1026 },
1027 {
1028 "params": [
1029 "null"
1030 ],
1031 "type": "fill"
1032 }
1033 ],
1034 "measurement": "host_vmstat",
1035 "orderByTime": "ASC",
1036 "policy": "default",
1037 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1038 "rawQuery": false,
1039 "resultFormat": "time_series",
1040 "select": [
1041 [
1042 {
1043 "params": [
1044 "so"
1045 ],
1046 "type": "field"
1047 },
1048 {
1049 "params": [],
1050 "type": "sum"
1051 }
1052 ]
1053 ],
1054 "tags": []
1055 },
1056 "labels": {
1057 "grafana.app/export-label": "influxdb-1"
1058 }
1059 },
1060 "refId": "E",
1061 "hidden": false
1062 }
1063 },
1064 {
1065 "kind": "PanelQuery",
1066 "spec": {
1067 "query": {
1068 "kind": "DataQuery",
1069 "group": "influxdb",
1070 "version": "v0",
1071 "spec": {
1072 "alias": "bi",
1073 "groupBy": [
1074 {
1075 "params": [
1076 "$interval"
1077 ],
1078 "type": "time"
1079 },
1080 {
1081 "params": [
1082 "null"
1083 ],
1084 "type": "fill"
1085 }
1086 ],
1087 "measurement": "host_vmstat",
1088 "orderByTime": "ASC",
1089 "policy": "default",
1090 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1091 "rawQuery": false,
1092 "resultFormat": "time_series",
1093 "select": [
1094 [
1095 {
1096 "params": [
1097 "bi"
1098 ],
1099 "type": "field"
1100 },
1101 {
1102 "params": [],
1103 "type": "sum"
1104 }
1105 ]
1106 ],
1107 "tags": []
1108 },
1109 "labels": {
1110 "grafana.app/export-label": "influxdb-1"
1111 }
1112 },
1113 "refId": "B",
1114 "hidden": false
1115 }
1116 },
1117 {
1118 "kind": "PanelQuery",
1119 "spec": {
1120 "query": {
1121 "kind": "DataQuery",
1122 "group": "influxdb",
1123 "version": "v0",
1124 "spec": {
1125 "alias": "bo",
1126 "groupBy": [
1127 {
1128 "params": [
1129 "$interval"
1130 ],
1131 "type": "time"
1132 },
1133 {
1134 "params": [
1135 "null"
1136 ],
1137 "type": "fill"
1138 }
1139 ],
1140 "measurement": "host_vmstat",
1141 "orderByTime": "ASC",
1142 "policy": "default",
1143 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1144 "rawQuery": false,
1145 "resultFormat": "time_series",
1146 "select": [
1147 [
1148 {
1149 "params": [
1150 "bo"
1151 ],
1152 "type": "field"
1153 },
1154 {
1155 "params": [],
1156 "type": "sum"
1157 }
1158 ]
1159 ],
1160 "tags": []
1161 },
1162 "labels": {
1163 "grafana.app/export-label": "influxdb-1"
1164 }
1165 },
1166 "refId": "F",
1167 "hidden": false
1168 }
1169 },
1170 {
1171 "kind": "PanelQuery",
1172 "spec": {
1173 "query": {
1174 "kind": "DataQuery",
1175 "group": "influxdb",
1176 "version": "v0",
1177 "spec": {
1178 "alias": "in",
1179 "groupBy": [
1180 {
1181 "params": [
1182 "$interval"
1183 ],
1184 "type": "time"
1185 },
1186 {
1187 "params": [
1188 "null"
1189 ],
1190 "type": "fill"
1191 }
1192 ],
1193 "measurement": "host_vmstat",
1194 "orderByTime": "ASC",
1195 "policy": "default",
1196 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1197 "rawQuery": false,
1198 "resultFormat": "time_series",
1199 "select": [
1200 [
1201 {
1202 "params": [
1203 "intr"
1204 ],
1205 "type": "field"
1206 },
1207 {
1208 "params": [],
1209 "type": "sum"
1210 }
1211 ]
1212 ],
1213 "tags": []
1214 },
1215 "labels": {
1216 "grafana.app/export-label": "influxdb-1"
1217 }
1218 },
1219 "refId": "C",
1220 "hidden": false
1221 }
1222 },
1223 {
1224 "kind": "PanelQuery",
1225 "spec": {
1226 "query": {
1227 "kind": "DataQuery",
1228 "group": "influxdb",
1229 "version": "v0",
1230 "spec": {
1231 "alias": "id",
1232 "groupBy": [
1233 {
1234 "params": [
1235 "$interval"
1236 ],
1237 "type": "time"
1238 },
1239 {
1240 "params": [
1241 "null"
1242 ],
1243 "type": "fill"
1244 }
1245 ],
1246 "measurement": "host_vmstat",
1247 "orderByTime": "ASC",
1248 "policy": "default",
1249 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1250 "rawQuery": false,
1251 "resultFormat": "time_series",
1252 "select": [
1253 [
1254 {
1255 "params": [
1256 "idle"
1257 ],
1258 "type": "field"
1259 },
1260 {
1261 "params": [],
1262 "type": "sum"
1263 }
1264 ]
1265 ],
1266 "tags": []
1267 },
1268 "labels": {
1269 "grafana.app/export-label": "influxdb-1"
1270 }
1271 },
1272 "refId": "D",
1273 "hidden": false
1274 }
1275 }
1276 ],
1277 "transformations": [],
1278 "queryOptions": {}
1279 }
1280 },
1281 "vizConfig": {
1282 "kind": "VizConfig",
1283 "group": "timeseries",
1284 "version": "13.0.1+security-01",
1285 "spec": {
1286 "options": {
1287 "annotations": {
1288 "clustering": -1,
1289 "multiLane": false
1290 },
1291 "legend": {
1292 "calcs": [],
1293 "displayMode": "list",
1294 "placement": "bottom",
1295 "showLegend": true
1296 },
1297 "tooltip": {
1298 "hideZeros": false,
1299 "mode": "single",
1300 "sort": "none"
1301 }
1302 },
1303 "fieldConfig": {
1304 "defaults": {
1305 "thresholds": {
1306 "mode": "absolute",
1307 "steps": [
1308 {
1309 "value": 0,
1310 "color": "green"
1311 },
1312 {
1313 "value": 80,
1314 "color": "red"
1315 }
1316 ]
1317 },
1318 "color": {
1319 "mode": "palette-classic"
1320 },
1321 "custom": {
1322 "axisBorderShow": false,
1323 "axisCenteredZero": false,
1324 "axisColorMode": "text",
1325 "axisLabel": "",
1326 "axisPlacement": "auto",
1327 "barAlignment": 0,
1328 "barWidthFactor": 0.6,
1329 "drawStyle": "line",
1330 "fillOpacity": 10,
1331 "gradientMode": "none",
1332 "hideFrom": {
1333 "legend": false,
1334 "tooltip": false,
1335 "viz": false
1336 },
1337 "insertNulls": false,
1338 "lineInterpolation": "smooth",
1339 "lineWidth": 1,
1340 "pointSize": 5,
1341 "scaleDistribution": {
1342 "type": "linear"
1343 },
1344 "showPoints": "auto",
1345 "showValues": false,
1346 "spanNulls": false,
1347 "stacking": {
1348 "group": "A",
1349 "mode": "none"
1350 },
1351 "thresholdsStyle": {
1352 "mode": "off"
1353 }
1354 }
1355 },
1356 "overrides": []
1357 }
1358 }
1359 }
1360 }
1361 },
1362 "panel-15": {
1363 "kind": "Panel",
1364 "spec": {
1365 "id": 15,
1366 "title": "pidstat",
1367 "description": "minflt/s = Скорость работы с ОЗУ. Сколько раз в секунду процесс запрашивал данные, \n которые ядро Linux успешно выдало из оперативной памяти (из кэша).\n Высокое значение — это норма при активных вычислениях или LDAP-запросах.\n\nmajflt/s = Скорость просадки на диск. Сколько раз в секунду процесс лез за данными \n на физический диск (или в SWAP), потому что их не оказалость в ОЗУ.\n В идеале должно быть равно 0. Если число растет — сервер сильно тормозит.\n\n%MEM = Процент ОЗУ. Доля оперативной памяти сервера, которую съел этот PID.",
1368 "links": [],
1369 "data": {
1370 "kind": "QueryGroup",
1371 "spec": {
1372 "queries": [
1373 {
1374 "kind": "PanelQuery",
1375 "spec": {
1376 "query": {
1377 "kind": "DataQuery",
1378 "group": "influxdb",
1379 "version": "v0",
1380 "spec": {
1381 "alias": "minfit",
1382 "groupBy": [
1383 {
1384 "params": [
1385 "$interval"
1386 ],
1387 "type": "time"
1388 },
1389 {
1390 "params": [
1391 "comm::tag"
1392 ],
1393 "type": "tag"
1394 },
1395 {
1396 "params": [
1397 "null"
1398 ],
1399 "type": "fill"
1400 }
1401 ],
1402 "measurement": "samba_pidstat",
1403 "orderByTime": "ASC",
1404 "policy": "default",
1405 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1406 "rawQuery": false,
1407 "resultFormat": "time_series",
1408 "select": [
1409 [
1410 {
1411 "params": [
1412 "minflt"
1413 ],
1414 "type": "field"
1415 },
1416 {
1417 "params": [],
1418 "type": "mean"
1419 }
1420 ]
1421 ],
1422 "tags": []
1423 },
1424 "labels": {
1425 "grafana.app/export-label": "influxdb-1"
1426 }
1427 },
1428 "refId": "A",
1429 "hidden": false
1430 }
1431 },
1432 {
1433 "kind": "PanelQuery",
1434 "spec": {
1435 "query": {
1436 "kind": "DataQuery",
1437 "group": "influxdb",
1438 "version": "v0",
1439 "spec": {
1440 "alias": "majfit",
1441 "groupBy": [
1442 {
1443 "params": [
1444 "$interval"
1445 ],
1446 "type": "time"
1447 },
1448 {
1449 "params": [
1450 "comm::tag"
1451 ],
1452 "type": "tag"
1453 },
1454 {
1455 "params": [
1456 "null"
1457 ],
1458 "type": "fill"
1459 }
1460 ],
1461 "measurement": "samba_pidstat",
1462 "orderByTime": "ASC",
1463 "policy": "default",
1464 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1465 "rawQuery": false,
1466 "resultFormat": "time_series",
1467 "select": [
1468 [
1469 {
1470 "params": [
1471 "majflt"
1472 ],
1473 "type": "field"
1474 },
1475 {
1476 "params": [],
1477 "type": "median"
1478 }
1479 ]
1480 ],
1481 "tags": []
1482 },
1483 "labels": {
1484 "grafana.app/export-label": "influxdb-1"
1485 }
1486 },
1487 "refId": "B",
1488 "hidden": false
1489 }
1490 },
1491 {
1492 "kind": "PanelQuery",
1493 "spec": {
1494 "query": {
1495 "kind": "DataQuery",
1496 "group": "influxdb",
1497 "version": "v0",
1498 "spec": {
1499 "alias": "MEM",
1500 "groupBy": [
1501 {
1502 "params": [
1503 "$interval"
1504 ],
1505 "type": "time"
1506 },
1507 {
1508 "params": [
1509 "comm::tag"
1510 ],
1511 "type": "tag"
1512 },
1513 {
1514 "params": [
1515 "null"
1516 ],
1517 "type": "fill"
1518 }
1519 ],
1520 "measurement": "samba_pidstat",
1521 "orderByTime": "ASC",
1522 "policy": "default",
1523 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1524 "rawQuery": false,
1525 "resultFormat": "time_series",
1526 "select": [
1527 [
1528 {
1529 "params": [
1530 "mem"
1531 ],
1532 "type": "field"
1533 },
1534 {
1535 "params": [],
1536 "type": "median"
1537 }
1538 ]
1539 ],
1540 "tags": []
1541 },
1542 "labels": {
1543 "grafana.app/export-label": "influxdb-1"
1544 }
1545 },
1546 "refId": "C",
1547 "hidden": false
1548 }
1549 }
1550 ],
1551 "transformations": [],
1552 "queryOptions": {}
1553 }
1554 },
1555 "vizConfig": {
1556 "kind": "VizConfig",
1557 "group": "timeseries",
1558 "version": "13.0.1+security-01",
1559 "spec": {
1560 "options": {
1561 "annotations": {
1562 "clustering": -1,
1563 "multiLane": false
1564 },
1565 "legend": {
1566 "calcs": [],
1567 "displayMode": "list",
1568 "placement": "bottom",
1569 "showLegend": true
1570 },
1571 "tooltip": {
1572 "hideZeros": false,
1573 "mode": "single",
1574 "sort": "none"
1575 }
1576 },
1577 "fieldConfig": {
1578 "defaults": {
1579 "thresholds": {
1580 "mode": "absolute",
1581 "steps": [
1582 {
1583 "value": 0,
1584 "color": "green"
1585 },
1586 {
1587 "value": 80,
1588 "color": "red"
1589 }
1590 ]
1591 },
1592 "color": {
1593 "mode": "palette-classic"
1594 },
1595 "custom": {
1596 "axisBorderShow": false,
1597 "axisCenteredZero": false,
1598 "axisColorMode": "text",
1599 "axisLabel": "",
1600 "axisPlacement": "auto",
1601 "barAlignment": 0,
1602 "barWidthFactor": 0.6,
1603 "drawStyle": "line",
1604 "fillOpacity": 10,
1605 "gradientMode": "none",
1606 "hideFrom": {
1607 "legend": false,
1608 "tooltip": false,
1609 "viz": false
1610 },
1611 "insertNulls": false,
1612 "lineInterpolation": "smooth",
1613 "lineWidth": 1,
1614 "pointSize": 5,
1615 "scaleDistribution": {
1616 "type": "linear"
1617 },
1618 "showPoints": "auto",
1619 "showValues": false,
1620 "spanNulls": false,
1621 "stacking": {
1622 "group": "A",
1623 "mode": "none"
1624 },
1625 "thresholdsStyle": {
1626 "mode": "off"
1627 }
1628 }
1629 },
1630 "overrides": []
1631 }
1632 }
1633 }
1634 }
1635 },
1636 "panel-2": {
1637 "kind": "Panel",
1638 "spec": {
1639 "id": 2,
1640 "title": "DSDB: изменения по операциям",
1641 "description": "Число изменений объектов каталога (samba_dsdb), разбивка по типу операции.",
1642 "links": [],
1643 "data": {
1644 "kind": "QueryGroup",
1645 "spec": {
1646 "queries": [
1647 {
1648 "kind": "PanelQuery",
1649 "spec": {
1650 "query": {
1651 "kind": "DataQuery",
1652 "group": "influxdb",
1653 "version": "v0",
1654 "spec": {
1655 "groupBy": [],
1656 "measurement": "samba_dsdb",
1657 "orderByTime": "ASC",
1658 "policy": "default",
1659 "query": "SELECT count(\"status_code\") FROM \"samba_dsdb\" WHERE $timeFilter GROUP BY time($interval), \"operation\"::tag fill(null)",
1660 "rawQuery": true,
1661 "resultFormat": "time_series",
1662 "select": [],
1663 "tags": []
1664 },
1665 "labels": {
1666 "grafana.app/export-label": "influxdb-1"
1667 }
1668 },
1669 "refId": "A",
1670 "hidden": false
1671 }
1672 }
1673 ],
1674 "transformations": [],
1675 "queryOptions": {}
1676 }
1677 },
1678 "vizConfig": {
1679 "kind": "VizConfig",
1680 "group": "timeseries",
1681 "version": "13.0.1+security-01",
1682 "spec": {
1683 "options": {
1684 "annotations": {
1685 "clustering": -1,
1686 "multiLane": false
1687 },
1688 "legend": {
1689 "calcs": [],
1690 "displayMode": "list",
1691 "placement": "bottom",
1692 "showLegend": true
1693 },
1694 "tooltip": {
1695 "hideZeros": false,
1696 "mode": "multi",
1697 "sort": "desc"
1698 }
1699 },
1700 "fieldConfig": {
1701 "defaults": {
1702 "thresholds": {
1703 "mode": "absolute",
1704 "steps": [
1705 {
1706 "value": 0,
1707 "color": "green"
1708 },
1709 {
1710 "value": 80,
1711 "color": "red"
1712 }
1713 ]
1714 },
1715 "color": {
1716 "mode": "palette-classic"
1717 },
1718 "custom": {
1719 "axisBorderShow": false,
1720 "axisCenteredZero": false,
1721 "axisColorMode": "text",
1722 "axisLabel": "",
1723 "axisPlacement": "auto",
1724 "barAlignment": 0,
1725 "barWidthFactor": 0.6,
1726 "drawStyle": "bars",
1727 "fillOpacity": 50,
1728 "gradientMode": "none",
1729 "hideFrom": {
1730 "legend": false,
1731 "tooltip": false,
1732 "viz": false
1733 },
1734 "insertNulls": false,
1735 "lineInterpolation": "linear",
1736 "lineWidth": 1,
1737 "pointSize": 5,
1738 "scaleDistribution": {
1739 "type": "linear"
1740 },
1741 "showPoints": "auto",
1742 "showValues": false,
1743 "spanNulls": false,
1744 "stacking": {
1745 "group": "A",
1746 "mode": "normal"
1747 },
1748 "thresholdsStyle": {
1749 "mode": "off"
1750 }
1751 }
1752 },
1753 "overrides": []
1754 }
1755 }
1756 }
1757 }
1758 },
1759 "panel-3": {
1760 "kind": "Panel",
1761 "spec": {
1762 "id": 3,
1763 "title": "DSDB: система vs пользователь",
1764 "description": "Изменения каталога с разбивкой по performedAsSystem (true = выполнено системой).",
1765 "links": [],
1766 "data": {
1767 "kind": "QueryGroup",
1768 "spec": {
1769 "queries": [
1770 {
1771 "kind": "PanelQuery",
1772 "spec": {
1773 "query": {
1774 "kind": "DataQuery",
1775 "group": "influxdb",
1776 "version": "v0",
1777 "spec": {
1778 "groupBy": [],
1779 "measurement": "samba_dsdb",
1780 "orderByTime": "ASC",
1781 "policy": "default",
1782 "query": "SELECT count(\"status_code\") FROM \"samba_dsdb\" WHERE $timeFilter GROUP BY time($interval), \"as_system\"::tag fill(null)",
1783 "rawQuery": true,
1784 "resultFormat": "time_series",
1785 "select": [],
1786 "tags": []
1787 },
1788 "labels": {
1789 "grafana.app/export-label": "influxdb-1"
1790 }
1791 },
1792 "refId": "A",
1793 "hidden": false
1794 }
1795 }
1796 ],
1797 "transformations": [],
1798 "queryOptions": {}
1799 }
1800 },
1801 "vizConfig": {
1802 "kind": "VizConfig",
1803 "group": "timeseries",
1804 "version": "13.0.1+security-01",
1805 "spec": {
1806 "options": {
1807 "annotations": {
1808 "clustering": -1,
1809 "multiLane": false
1810 },
1811 "legend": {
1812 "calcs": [],
1813 "displayMode": "list",
1814 "placement": "bottom",
1815 "showLegend": true
1816 },
1817 "tooltip": {
1818 "hideZeros": false,
1819 "mode": "multi",
1820 "sort": "desc"
1821 }
1822 },
1823 "fieldConfig": {
1824 "defaults": {
1825 "thresholds": {
1826 "mode": "absolute",
1827 "steps": [
1828 {
1829 "value": 0,
1830 "color": "green"
1831 },
1832 {
1833 "value": 80,
1834 "color": "red"
1835 }
1836 ]
1837 },
1838 "color": {
1839 "mode": "palette-classic"
1840 },
1841 "custom": {
1842 "axisBorderShow": false,
1843 "axisCenteredZero": false,
1844 "axisColorMode": "text",
1845 "axisLabel": "",
1846 "axisPlacement": "auto",
1847 "barAlignment": 0,
1848 "barWidthFactor": 0.6,
1849 "drawStyle": "line",
1850 "fillOpacity": 20,
1851 "gradientMode": "none",
1852 "hideFrom": {
1853 "legend": false,
1854 "tooltip": false,
1855 "viz": false
1856 },
1857 "insertNulls": false,
1858 "lineInterpolation": "smooth",
1859 "lineWidth": 1,
1860 "pointSize": 5,
1861 "scaleDistribution": {
1862 "type": "linear"
1863 },
1864 "showPoints": "auto",
1865 "showValues": false,
1866 "spanNulls": false,
1867 "stacking": {
1868 "group": "A",
1869 "mode": "none"
1870 },
1871 "thresholdsStyle": {
1872 "mode": "off"
1873 }
1874 }
1875 },
1876 "overrides": []
1877 }
1878 }
1879 }
1880 }
1881 },
1882 "panel-4": {
1883 "kind": "Panel",
1884 "spec": {
1885 "id": 4,
1886 "title": "DSDB: топ инициаторов (SID)",
1887 "description": "Кто инициировал изменения каталога — разбивка по userSid.",
1888 "links": [],
1889 "data": {
1890 "kind": "QueryGroup",
1891 "spec": {
1892 "queries": [
1893 {
1894 "kind": "PanelQuery",
1895 "spec": {
1896 "query": {
1897 "kind": "DataQuery",
1898 "group": "influxdb",
1899 "version": "v0",
1900 "spec": {
1901 "groupBy": [],
1902 "measurement": "samba_dsdb",
1903 "orderByTime": "ASC",
1904 "policy": "default",
1905 "query": "SELECT count(\"status_code\") FROM \"samba_dsdb\" WHERE $timeFilter GROUP BY time($interval), \"user_sid\"::tag fill(null)",
1906 "rawQuery": true,
1907 "resultFormat": "time_series",
1908 "select": [],
1909 "tags": []
1910 },
1911 "labels": {
1912 "grafana.app/export-label": "influxdb-1"
1913 }
1914 },
1915 "refId": "A",
1916 "hidden": false
1917 }
1918 }
1919 ],
1920 "transformations": [],
1921 "queryOptions": {}
1922 }
1923 },
1924 "vizConfig": {
1925 "kind": "VizConfig",
1926 "group": "timeseries",
1927 "version": "13.0.1+security-01",
1928 "spec": {
1929 "options": {
1930 "annotations": {
1931 "clustering": -1,
1932 "multiLane": false
1933 },
1934 "legend": {
1935 "calcs": [
1936 "sum"
1937 ],
1938 "displayMode": "table",
1939 "placement": "right",
1940 "showLegend": true
1941 },
1942 "tooltip": {
1943 "hideZeros": false,
1944 "mode": "multi",
1945 "sort": "desc"
1946 }
1947 },
1948 "fieldConfig": {
1949 "defaults": {
1950 "thresholds": {
1951 "mode": "absolute",
1952 "steps": [
1953 {
1954 "value": 0,
1955 "color": "green"
1956 },
1957 {
1958 "value": 80,
1959 "color": "red"
1960 }
1961 ]
1962 },
1963 "color": {
1964 "mode": "palette-classic"
1965 },
1966 "custom": {
1967 "axisBorderShow": false,
1968 "axisCenteredZero": false,
1969 "axisColorMode": "text",
1970 "axisLabel": "",
1971 "axisPlacement": "auto",
1972 "barAlignment": 0,
1973 "barWidthFactor": 0.6,
1974 "drawStyle": "bars",
1975 "fillOpacity": 50,
1976 "gradientMode": "none",
1977 "hideFrom": {
1978 "legend": false,
1979 "tooltip": false,
1980 "viz": false
1981 },
1982 "insertNulls": false,
1983 "lineInterpolation": "linear",
1984 "lineWidth": 1,
1985 "pointSize": 5,
1986 "scaleDistribution": {
1987 "type": "linear"
1988 },
1989 "showPoints": "auto",
1990 "showValues": false,
1991 "spanNulls": false,
1992 "stacking": {
1993 "group": "A",
1994 "mode": "normal"
1995 },
1996 "thresholdsStyle": {
1997 "mode": "off"
1998 }
1999 }
2000 },
2001 "overrides": []
2002 }
2003 }
2004 }
2005 }
2006 },
2007 "panel-5": {
2008 "kind": "Panel",
2009 "spec": {
2010 "id": 5,
2011 "title": "Транзакции: длительность (mean/max)",
2012 "description": "Длительность транзакций каталога (samba_dsdb_tx) в микросекундах.",
2013 "links": [],
2014 "data": {
2015 "kind": "QueryGroup",
2016 "spec": {
2017 "queries": [
2018 {
2019 "kind": "PanelQuery",
2020 "spec": {
2021 "query": {
2022 "kind": "DataQuery",
2023 "group": "influxdb",
2024 "version": "v0",
2025 "spec": {
2026 "groupBy": [],
2027 "measurement": "samba_dsdb_tx",
2028 "orderByTime": "ASC",
2029 "policy": "default",
2030 "query": "SELECT mean(\"duration\") AS \"mean\", max(\"duration\") AS \"max\" FROM \"samba_dsdb_tx\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
2031 "rawQuery": true,
2032 "resultFormat": "time_series",
2033 "select": [],
2034 "tags": []
2035 },
2036 "labels": {
2037 "grafana.app/export-label": "influxdb-1"
2038 }
2039 },
2040 "refId": "A",
2041 "hidden": false
2042 }
2043 }
2044 ],
2045 "transformations": [],
2046 "queryOptions": {}
2047 }
2048 },
2049 "vizConfig": {
2050 "kind": "VizConfig",
2051 "group": "timeseries",
2052 "version": "13.0.1+security-01",
2053 "spec": {
2054 "options": {
2055 "annotations": {
2056 "clustering": -1,
2057 "multiLane": false
2058 },
2059 "legend": {
2060 "calcs": [
2061 "mean",
2062 "max"
2063 ],
2064 "displayMode": "table",
2065 "placement": "bottom",
2066 "showLegend": true
2067 },
2068 "tooltip": {
2069 "hideZeros": false,
2070 "mode": "multi",
2071 "sort": "desc"
2072 }
2073 },
2074 "fieldConfig": {
2075 "defaults": {
2076 "unit": "µs",
2077 "thresholds": {
2078 "mode": "absolute",
2079 "steps": [
2080 {
2081 "value": 0,
2082 "color": "green"
2083 },
2084 {
2085 "value": 80,
2086 "color": "red"
2087 }
2088 ]
2089 },
2090 "color": {
2091 "mode": "palette-classic"
2092 },
2093 "custom": {
2094 "axisBorderShow": false,
2095 "axisCenteredZero": false,
2096 "axisColorMode": "text",
2097 "axisLabel": "",
2098 "axisPlacement": "auto",
2099 "barAlignment": 0,
2100 "barWidthFactor": 0.6,
2101 "drawStyle": "line",
2102 "fillOpacity": 10,
2103 "gradientMode": "none",
2104 "hideFrom": {
2105 "legend": false,
2106 "tooltip": false,
2107 "viz": false
2108 },
2109 "insertNulls": false,
2110 "lineInterpolation": "smooth",
2111 "lineWidth": 1,
2112 "pointSize": 5,
2113 "scaleDistribution": {
2114 "type": "linear"
2115 },
2116 "showPoints": "auto",
2117 "showValues": false,
2118 "spanNulls": false,
2119 "stacking": {
2120 "group": "A",
2121 "mode": "none"
2122 },
2123 "thresholdsStyle": {
2124 "mode": "off"
2125 }
2126 }
2127 },
2128 "overrides": []
2129 }
2130 }
2131 }
2132 }
2133 },
2134 "panel-6": {
2135 "kind": "Panel",
2136 "spec": {
2137 "id": 6,
2138 "title": "Транзакции по типу действия",
2139 "description": "Число транзакций каталога, разбивка по action (commit / rollback / prepare commit / begin).",
2140 "links": [],
2141 "data": {
2142 "kind": "QueryGroup",
2143 "spec": {
2144 "queries": [
2145 {
2146 "kind": "PanelQuery",
2147 "spec": {
2148 "query": {
2149 "kind": "DataQuery",
2150 "group": "influxdb",
2151 "version": "v0",
2152 "spec": {
2153 "groupBy": [],
2154 "measurement": "samba_dsdb_tx",
2155 "orderByTime": "ASC",
2156 "policy": "default",
2157 "query": "SELECT count(\"duration\") FROM \"samba_dsdb_tx\" WHERE $timeFilter GROUP BY time($interval), \"action\"::tag fill(null)",
2158 "rawQuery": true,
2159 "resultFormat": "time_series",
2160 "select": [],
2161 "tags": []
2162 },
2163 "labels": {
2164 "grafana.app/export-label": "influxdb-1"
2165 }
2166 },
2167 "refId": "A",
2168 "hidden": false
2169 }
2170 }
2171 ],
2172 "transformations": [],
2173 "queryOptions": {}
2174 }
2175 },
2176 "vizConfig": {
2177 "kind": "VizConfig",
2178 "group": "timeseries",
2179 "version": "13.0.1+security-01",
2180 "spec": {
2181 "options": {
2182 "annotations": {
2183 "clustering": -1,
2184 "multiLane": false
2185 },
2186 "legend": {
2187 "calcs": [],
2188 "displayMode": "list",
2189 "placement": "bottom",
2190 "showLegend": true
2191 },
2192 "tooltip": {
2193 "hideZeros": false,
2194 "mode": "multi",
2195 "sort": "desc"
2196 }
2197 },
2198 "fieldConfig": {
2199 "defaults": {
2200 "thresholds": {
2201 "mode": "absolute",
2202 "steps": [
2203 {
2204 "value": 0,
2205 "color": "green"
2206 },
2207 {
2208 "value": 80,
2209 "color": "red"
2210 }
2211 ]
2212 },
2213 "color": {
2214 "mode": "palette-classic"
2215 },
2216 "custom": {
2217 "axisBorderShow": false,
2218 "axisCenteredZero": false,
2219 "axisColorMode": "text",
2220 "axisLabel": "",
2221 "axisPlacement": "auto",
2222 "barAlignment": 0,
2223 "barWidthFactor": 0.6,
2224 "drawStyle": "bars",
2225 "fillOpacity": 50,
2226 "gradientMode": "none",
2227 "hideFrom": {
2228 "legend": false,
2229 "tooltip": false,
2230 "viz": false
2231 },
2232 "insertNulls": false,
2233 "lineInterpolation": "linear",
2234 "lineWidth": 1,
2235 "pointSize": 5,
2236 "scaleDistribution": {
2237 "type": "linear"
2238 },
2239 "showPoints": "auto",
2240 "showValues": false,
2241 "spanNulls": false,
2242 "stacking": {
2243 "group": "A",
2244 "mode": "normal"
2245 },
2246 "thresholdsStyle": {
2247 "mode": "off"
2248 }
2249 }
2250 },
2251 "overrides": []
2252 }
2253 }
2254 }
2255 }
2256 },
2257 "panel-7": {
2258 "kind": "Panel",
2259 "spec": {
2260 "id": 7,
2261 "title": "SMB activity",
2262 "description": "",
2263 "links": [],
2264 "data": {
2265 "kind": "QueryGroup",
2266 "spec": {
2267 "queries": [
2268 {
2269 "kind": "PanelQuery",
2270 "spec": {
2271 "query": {
2272 "kind": "DataQuery",
2273 "group": "influxdb",
2274 "version": "v0",
2275 "spec": {
2276 "alias": "user_smb",
2277 "groupBy": [
2278 {
2279 "params": [
2280 "$interval"
2281 ],
2282 "type": "time"
2283 },
2284 {
2285 "params": [
2286 "domain::tag"
2287 ],
2288 "type": "tag"
2289 },
2290 {
2291 "params": [
2292 "null"
2293 ],
2294 "type": "fill"
2295 }
2296 ],
2297 "measurement": "samba_authz",
2298 "orderByTime": "ASC",
2299 "policy": "default",
2300 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
2301 "rawQuery": false,
2302 "resultFormat": "time_series",
2303 "select": [
2304 [
2305 {
2306 "params": [
2307 "auth_type"
2308 ],
2309 "type": "field"
2310 },
2311 {
2312 "params": [],
2313 "type": "count"
2314 }
2315 ]
2316 ],
2317 "tags": [
2318 {
2319 "key": "service::tag",
2320 "operator": "=",
2321 "value": "SMB2"
2322 },
2323 {
2324 "condition": "AND",
2325 "key": "auth_type::field",
2326 "operator": "=",
2327 "value": "krb5"
2328 },
2329 {
2330 "condition": "AND",
2331 "key": "account::tag",
2332 "operator": "=~",
2333 "value": "/^user-/"
2334 }
2335 ]
2336 },
2337 "labels": {
2338 "grafana.app/export-label": "influxdb-1"
2339 }
2340 },
2341 "refId": "A",
2342 "hidden": false
2343 }
2344 },
2345 {
2346 "kind": "PanelQuery",
2347 "spec": {
2348 "query": {
2349 "kind": "DataQuery",
2350 "group": "influxdb",
2351 "version": "v0",
2352 "spec": {
2353 "alias": "machine_smb",
2354 "groupBy": [
2355 {
2356 "params": [
2357 "$interval"
2358 ],
2359 "type": "time"
2360 },
2361 {
2362 "params": [
2363 "domain::tag"
2364 ],
2365 "type": "tag"
2366 },
2367 {
2368 "params": [
2369 "null"
2370 ],
2371 "type": "fill"
2372 }
2373 ],
2374 "measurement": "samba_authz",
2375 "orderByTime": "ASC",
2376 "policy": "default",
2377 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
2378 "rawQuery": false,
2379 "resultFormat": "time_series",
2380 "select": [
2381 [
2382 {
2383 "params": [
2384 "auth_type"
2385 ],
2386 "type": "field"
2387 },
2388 {
2389 "params": [],
2390 "type": "count"
2391 }
2392 ]
2393 ],
2394 "tags": [
2395 {
2396 "key": "service::tag",
2397 "operator": "=",
2398 "value": "SMB2"
2399 },
2400 {
2401 "condition": "AND",
2402 "key": "auth_type::field",
2403 "operator": "=",
2404 "value": "krb5"
2405 },
2406 {
2407 "condition": "AND",
2408 "key": "account::tag",
2409 "operator": "=~",
2410 "value": "/^MACHINE/"
2411 }
2412 ]
2413 },
2414 "labels": {
2415 "grafana.app/export-label": "influxdb-1"
2416 }
2417 },
2418 "refId": "B",
2419 "hidden": false
2420 }
2421 }
2422 ],
2423 "transformations": [],
2424 "queryOptions": {}
2425 }
2426 },
2427 "vizConfig": {
2428 "kind": "VizConfig",
2429 "group": "timeseries",
2430 "version": "13.0.1+security-01",
2431 "spec": {
2432 "options": {
2433 "annotations": {
2434 "clustering": -1,
2435 "multiLane": false
2436 },
2437 "legend": {
2438 "calcs": [],
2439 "displayMode": "list",
2440 "placement": "bottom",
2441 "showLegend": true
2442 },
2443 "tooltip": {
2444 "hideZeros": false,
2445 "mode": "single",
2446 "sort": "none"
2447 }
2448 },
2449 "fieldConfig": {
2450 "defaults": {
2451 "thresholds": {
2452 "mode": "absolute",
2453 "steps": [
2454 {
2455 "value": 0,
2456 "color": "green"
2457 },
2458 {
2459 "value": 80,
2460 "color": "red"
2461 }
2462 ]
2463 },
2464 "color": {
2465 "mode": "palette-classic"
2466 },
2467 "custom": {
2468 "axisBorderShow": false,
2469 "axisCenteredZero": false,
2470 "axisColorMode": "text",
2471 "axisLabel": "",
2472 "axisPlacement": "auto",
2473 "barAlignment": 0,
2474 "barWidthFactor": 0.6,
2475 "drawStyle": "line",
2476 "fillOpacity": 10,
2477 "gradientMode": "none",
2478 "hideFrom": {
2479 "legend": false,
2480 "tooltip": false,
2481 "viz": false
2482 },
2483 "insertNulls": false,
2484 "lineInterpolation": "smooth",
2485 "lineWidth": 1,
2486 "pointSize": 5,
2487 "scaleDistribution": {
2488 "type": "linear"
2489 },
2490 "showPoints": "auto",
2491 "showValues": false,
2492 "spanNulls": false,
2493 "stacking": {
2494 "group": "A",
2495 "mode": "none"
2496 },
2497 "thresholdsStyle": {
2498 "mode": "off"
2499 }
2500 }
2501 },
2502 "overrides": []
2503 }
2504 }
2505 }
2506 }
2507 },
2508 "panel-8": {
2509 "kind": "Panel",
2510 "spec": {
2511 "id": 8,
2512 "title": "DNS activity",
2513 "description": "",
2514 "links": [],
2515 "data": {
2516 "kind": "QueryGroup",
2517 "spec": {
2518 "queries": [
2519 {
2520 "kind": "PanelQuery",
2521 "spec": {
2522 "query": {
2523 "kind": "DataQuery",
2524 "group": "influxdb",
2525 "version": "v0",
2526 "spec": {
2527 "alias": "rcode=0",
2528 "groupBy": [
2529 {
2530 "params": [
2531 "$interval"
2532 ],
2533 "type": "time"
2534 },
2535 {
2536 "params": [
2537 "null"
2538 ],
2539 "type": "fill"
2540 }
2541 ],
2542 "measurement": "samba_dns_rcode",
2543 "orderByTime": "ASC",
2544 "policy": "default",
2545 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
2546 "rawQuery": false,
2547 "resultFormat": "time_series",
2548 "select": [
2549 [
2550 {
2551 "params": [
2552 "rcode"
2553 ],
2554 "type": "field"
2555 },
2556 {
2557 "params": [],
2558 "type": "count"
2559 }
2560 ]
2561 ],
2562 "tags": [
2563 {
2564 "key": "rcode::field",
2565 "operator": "=",
2566 "value": "0"
2567 },
2568 {
2569 "condition": "AND",
2570 "key": "direction::tag",
2571 "operator": "=",
2572 "value": "out_packet"
2573 }
2574 ]
2575 },
2576 "labels": {
2577 "grafana.app/export-label": "influxdb-1"
2578 }
2579 },
2580 "refId": "A",
2581 "hidden": false
2582 }
2583 },
2584 {
2585 "kind": "PanelQuery",
2586 "spec": {
2587 "query": {
2588 "kind": "DataQuery",
2589 "group": "influxdb",
2590 "version": "v0",
2591 "spec": {
2592 "alias": "rcode=3",
2593 "groupBy": [
2594 {
2595 "params": [
2596 "$interval"
2597 ],
2598 "type": "time"
2599 },
2600 {
2601 "params": [
2602 "null"
2603 ],
2604 "type": "fill"
2605 }
2606 ],
2607 "measurement": "samba_dns_rcode",
2608 "orderByTime": "ASC",
2609 "policy": "default",
2610 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
2611 "rawQuery": false,
2612 "resultFormat": "time_series",
2613 "select": [
2614 [
2615 {
2616 "params": [
2617 "rcode"
2618 ],
2619 "type": "field"
2620 },
2621 {
2622 "params": [],
2623 "type": "count"
2624 }
2625 ]
2626 ],
2627 "tags": [
2628 {
2629 "key": "rcode::field",
2630 "operator": "=",
2631 "value": "3"
2632 },
2633 {
2634 "condition": "AND",
2635 "key": "direction::tag",
2636 "operator": "=",
2637 "value": "out_packet"
2638 }
2639 ]
2640 },
2641 "labels": {
2642 "grafana.app/export-label": "influxdb-1"
2643 }
2644 },
2645 "refId": "B",
2646 "hidden": false
2647 }
2648 }
2649 ],
2650 "transformations": [],
2651 "queryOptions": {}
2652 }
2653 },
2654 "vizConfig": {
2655 "kind": "VizConfig",
2656 "group": "timeseries",
2657 "version": "13.0.1+security-01",
2658 "spec": {
2659 "options": {
2660 "annotations": {
2661 "clustering": -1,
2662 "multiLane": false
2663 },
2664 "legend": {
2665 "calcs": [],
2666 "displayMode": "list",
2667 "placement": "bottom",
2668 "showLegend": true
2669 },
2670 "tooltip": {
2671 "hideZeros": false,
2672 "mode": "single",
2673 "sort": "none"
2674 }
2675 },
2676 "fieldConfig": {
2677 "defaults": {
2678 "thresholds": {
2679 "mode": "absolute",
2680 "steps": [
2681 {
2682 "value": 0,
2683 "color": "green"
2684 },
2685 {
2686 "value": 80,
2687 "color": "red"
2688 }
2689 ]
2690 },
2691 "color": {
2692 "mode": "palette-classic"
2693 },
2694 "custom": {
2695 "axisBorderShow": false,
2696 "axisCenteredZero": false,
2697 "axisColorMode": "text",
2698 "axisLabel": "",
2699 "axisPlacement": "auto",
2700 "barAlignment": 0,
2701 "barWidthFactor": 0.6,
2702 "drawStyle": "line",
2703 "fillOpacity": 10,
2704 "gradientMode": "none",
2705 "hideFrom": {
2706 "legend": false,
2707 "tooltip": false,
2708 "viz": false
2709 },
2710 "insertNulls": false,
2711 "lineInterpolation": "smooth",
2712 "lineWidth": 1,
2713 "pointSize": 5,
2714 "scaleDistribution": {
2715 "type": "linear"
2716 },
2717 "showPoints": "auto",
2718 "showValues": false,
2719 "spanNulls": false,
2720 "stacking": {
2721 "group": "A",
2722 "mode": "none"
2723 },
2724 "thresholdsStyle": {
2725 "mode": "off"
2726 }
2727 }
2728 },
2729 "overrides": []
2730 }
2731 }
2732 }
2733 }
2734 },
2735 "panel-9": {
2736 "kind": "Panel",
2737 "spec": {
2738 "id": 9,
2739 "title": "Samba: клиентов сейчас",
2740 "description": "Текущее число подключённых SMB-клиентов (последний опрос smbstatus -v, первый блок).",
2741 "links": [],
2742 "data": {
2743 "kind": "QueryGroup",
2744 "spec": {
2745 "queries": [
2746 {
2747 "kind": "PanelQuery",
2748 "spec": {
2749 "query": {
2750 "kind": "DataQuery",
2751 "group": "influxdb",
2752 "version": "v0",
2753 "spec": {
2754 "alias": "clients",
2755 "groupBy": [
2756 {
2757 "params": [
2758 "$interval"
2759 ],
2760 "type": "time"
2761 },
2762 {
2763 "params": [
2764 "null"
2765 ],
2766 "type": "fill"
2767 }
2768 ],
2769 "measurement": "samba_clients",
2770 "orderByTime": "ASC",
2771 "policy": "default",
2772 "query": "SELECT last(\"count\") FROM \"samba_clients\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
2773 "rawQuery": false,
2774 "resultFormat": "time_series",
2775 "select": [
2776 [
2777 {
2778 "params": [
2779 "count"
2780 ],
2781 "type": "field"
2782 },
2783 {
2784 "params": [],
2785 "type": "last"
2786 }
2787 ]
2788 ],
2789 "tags": []
2790 },
2791 "labels": {
2792 "grafana.app/export-label": "influxdb-1"
2793 }
2794 },
2795 "refId": "A",
2796 "hidden": false
2797 }
2798 }
2799 ],
2800 "transformations": [],
2801 "queryOptions": {}
2802 }
2803 },
2804 "vizConfig": {
2805 "kind": "VizConfig",
2806 "group": "stat",
2807 "version": "13.0.1+security-01",
2808 "spec": {
2809 "options": {
2810 "colorMode": "value",
2811 "graphMode": "area",
2812 "justifyMode": "auto",
2813 "orientation": "auto",
2814 "percentChangeColorMode": "standard",
2815 "reduceOptions": {
2816 "calcs": [
2817 "lastNotNull"
2818 ],
2819 "fields": "",
2820 "values": false
2821 },
2822 "showPercentChange": false,
2823 "textMode": "auto",
2824 "wideLayout": true
2825 },
2826 "fieldConfig": {
2827 "defaults": {
2828 "unit": "none",
2829 "thresholds": {
2830 "mode": "absolute",
2831 "steps": [
2832 {
2833 "value": 0,
2834 "color": "green"
2835 },
2836 {
2837 "value": null,
2838 "color": "red"
2839 }
2840 ]
2841 },
2842 "color": {
2843 "mode": "palette-classic"
2844 }
2845 },
2846 "overrides": []
2847 }
2848 }
2849 }
2850 }
2851 }
2852 },
2853 "layout": {
2854 "kind": "GridLayout",
2855 "spec": {
2856 "items": [
2857 {
2858 "kind": "GridLayoutItem",
2859 "spec": {
2860 "x": 0,
2861 "y": 0,
2862 "width": 11,
2863 "height": 10,
2864 "element": {
2865 "kind": "ElementReference",
2866 "name": "panel-11"
2867 }
2868 }
2869 },
2870 {
2871 "kind": "GridLayoutItem",
2872 "spec": {
2873 "x": 11,
2874 "y": 0,
2875 "width": 13,
2876 "height": 10,
2877 "element": {
2878 "kind": "ElementReference",
2879 "name": "panel-1"
2880 }
2881 }
2882 },
2883 {
2884 "kind": "GridLayoutItem",
2885 "spec": {
2886 "x": 0,
2887 "y": 10,
2888 "width": 12,
2889 "height": 11,
2890 "element": {
2891 "kind": "ElementReference",
2892 "name": "panel-12"
2893 }
2894 }
2895 },
2896 {
2897 "kind": "GridLayoutItem",
2898 "spec": {
2899 "x": 12,
2900 "y": 10,
2901 "width": 12,
2902 "height": 11,
2903 "element": {
2904 "kind": "ElementReference",
2905 "name": "panel-13"
2906 }
2907 }
2908 },
2909 {
2910 "kind": "GridLayoutItem",
2911 "spec": {
2912 "x": 0,
2913 "y": 21,
2914 "width": 24,
2915 "height": 10,
2916 "element": {
2917 "kind": "ElementReference",
2918 "name": "panel-14"
2919 }
2920 }
2921 },
2922 {
2923 "kind": "GridLayoutItem",
2924 "spec": {
2925 "x": 0,
2926 "y": 31,
2927 "width": 24,
2928 "height": 10,
2929 "element": {
2930 "kind": "ElementReference",
2931 "name": "panel-15"
2932 }
2933 }
2934 },
2935 {
2936 "kind": "GridLayoutItem",
2937 "spec": {
2938 "x": 0,
2939 "y": 41,
2940 "width": 12,
2941 "height": 7,
2942 "element": {
2943 "kind": "ElementReference",
2944 "name": "panel-7"
2945 }
2946 }
2947 },
2948 {
2949 "kind": "GridLayoutItem",
2950 "spec": {
2951 "x": 12,
2952 "y": 41,
2953 "width": 12,
2954 "height": 7,
2955 "element": {
2956 "kind": "ElementReference",
2957 "name": "panel-8"
2958 }
2959 }
2960 },
2961 {
2962 "kind": "GridLayoutItem",
2963 "spec": {
2964 "x": 0,
2965 "y": 48,
2966 "width": 12,
2967 "height": 8,
2968 "element": {
2969 "kind": "ElementReference",
2970 "name": "panel-2"
2971 }
2972 }
2973 },
2974 {
2975 "kind": "GridLayoutItem",
2976 "spec": {
2977 "x": 12,
2978 "y": 48,
2979 "width": 12,
2980 "height": 8,
2981 "element": {
2982 "kind": "ElementReference",
2983 "name": "panel-3"
2984 }
2985 }
2986 },
2987 {
2988 "kind": "GridLayoutItem",
2989 "spec": {
2990 "x": 0,
2991 "y": 56,
2992 "width": 12,
2993 "height": 8,
2994 "element": {
2995 "kind": "ElementReference",
2996 "name": "panel-4"
2997 }
2998 }
2999 },
3000 {
3001 "kind": "GridLayoutItem",
3002 "spec": {
3003 "x": 12,
3004 "y": 56,
3005 "width": 12,
3006 "height": 8,
3007 "element": {
3008 "kind": "ElementReference",
3009 "name": "panel-5"
3010 }
3011 }
3012 },
3013 {
3014 "kind": "GridLayoutItem",
3015 "spec": {
3016 "x": 0,
3017 "y": 64,
3018 "width": 12,
3019 "height": 8,
3020 "element": {
3021 "kind": "ElementReference",
3022 "name": "panel-6"
3023 }
3024 }
3025 },
3026 {
3027 "kind": "GridLayoutItem",
3028 "spec": {
3029 "x": 0,
3030 "y": 72,
3031 "width": 6,
3032 "height": 8,
3033 "element": {
3034 "kind": "ElementReference",
3035 "name": "panel-9"
3036 }
3037 }
3038 },
3039 {
3040 "kind": "GridLayoutItem",
3041 "spec": {
3042 "x": 6,
3043 "y": 72,
3044 "width": 18,
3045 "height": 8,
3046 "element": {
3047 "kind": "ElementReference",
3048 "name": "panel-10"
3049 }
3050 }
3051 }
3052 ]
3053 }
3054 },
3055 "links": [],
3056 "liveNow": false,
3057 "preload": false,
3058 "tags": [
3059 "samba",
3060 "ad",
3061 "audit"
3062 ],
3063 "timeSettings": {
3064 "timezone": "browser",
3065 "from": "now-6h",
3066 "to": "now",
3067 "autoRefresh": "",
3068 "autoRefreshIntervals": [
3069 "5s",
3070 "10s",
3071 "30s",
3072 "1m",
3073 "5m",
3074 "15m",
3075 "30m",
3076 "1h",
3077 "2h",
3078 "1d"
3079 ],
3080 "hideTimepicker": false,
3081 "fiscalYearStartMonth": 0
3082 },
3083 "title": "Samba AD audit2",
3084 "variables": [
3085 {
3086 "kind": "IntervalVariable",
3087 "spec": {
3088 "name": "interval",
3089 "query": "1s,3s,5s,10s,30s,1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
3090 "current": {
3091 "text": "1m",
3092 "value": "1m"
3093 },
3094 "options": [
3095 {
3096 "selected": true,
3097 "text": "1m",
3098 "value": "1m"
3099 },
3100 {
3101 "selected": false,
3102 "text": "10m",
3103 "value": "10m"
3104 },
3105 {
3106 "selected": false,
3107 "text": "30m",
3108 "value": "30m"
3109 },
3110 {
3111 "selected": false,
3112 "text": "1h",
3113 "value": "1h"
3114 },
3115 {
3116 "selected": false,
3117 "text": "6h",
3118 "value": "6h"
3119 },
3120 {
3121 "selected": false,
3122 "text": "12h",
3123 "value": "12h"
3124 },
3125 {
3126 "selected": false,
3127 "text": "1d",
3128 "value": "1d"
3129 }
3130 ],
3131 "auto": false,
3132 "auto_min": "10s",
3133 "auto_count": 30,
3134 "refresh": "onTimeRangeChanged",
3135 "hide": "dontHide",
3136 "skipUrlSync": false
3137 }
3138 }
3139 ],
3140 "preferences": {
3141 "layout": {
3142 "kind": "GridLayout",
3143 "spec": {
3144 "items": []
3145 }
3146 }
3147 }
3148 }
3149}