Skip to content

Commit 0d3d7df

Browse files
authored
chore: update bucketAggs to use date_histogram in Grafana dashboards (#727)
1 parent de1480c commit 0d3d7df

20 files changed

+69
-69
lines changed

backend/app/connectors/grafana/dashboards/Wazuh/edr_ad_inventory.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@
672672
"targets": [
673673
{
674674
"alias": "",
675-
"bucketAggs": [],
675+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
676676
"datasource": {
677677
"type": "elasticsearch",
678678
"uid": "replace_datasource_uid"

backend/app/connectors/grafana/dashboards/Wazuh/edr_agent_inventory.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1637,7 +1637,7 @@
16371637
"targets": [
16381638
{
16391639
"alias": "",
1640-
"bucketAggs": [],
1640+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
16411641
"datasource": {
16421642
"type": "elasticsearch",
16431643
"uid": "replace_datasource_uid"
@@ -2514,7 +2514,7 @@
25142514
"targets": [
25152515
{
25162516
"alias": "",
2517-
"bucketAggs": [],
2517+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
25182518
"datasource": {
25192519
"type": "elasticsearch",
25202520
"uid": "replace_datasource_uid"
@@ -3256,7 +3256,7 @@
32563256
"targets": [
32573257
{
32583258
"alias": "",
3259-
"bucketAggs": [],
3259+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
32603260
"datasource": {
32613261
"type": "elasticsearch",
32623262
"uid": "replace_datasource_uid"
@@ -3584,7 +3584,7 @@
35843584
"targets": [
35853585
{
35863586
"alias": "",
3587-
"bucketAggs": [],
3587+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
35883588
"datasource": {
35893589
"type": "elasticsearch",
35903590
"uid": "replace_datasource_uid"
@@ -4301,7 +4301,7 @@
43014301
"targets": [
43024302
{
43034303
"alias": "",
4304-
"bucketAggs": [],
4304+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
43054305
"datasource": {
43064306
"type": "elasticsearch",
43074307
"uid": "replace_datasource_uid"
@@ -4691,7 +4691,7 @@
46914691
"targets": [
46924692
{
46934693
"alias": "",
4694-
"bucketAggs": [],
4694+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
46954695
"datasource": {
46964696
"type": "elasticsearch",
46974697
"uid": "replace_datasource_uid"
@@ -5087,7 +5087,7 @@
50875087
"targets": [
50885088
{
50895089
"alias": "",
5090-
"bucketAggs": [],
5090+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
50915091
"datasource": {
50925092
"type": "elasticsearch",
50935093
"uid": "replace_datasource_uid"
@@ -5924,7 +5924,7 @@
59245924
"targets": [
59255925
{
59265926
"alias": "",
5927-
"bucketAggs": [],
5927+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
59285928
"datasource": {
59295929
"type": "elasticsearch",
59305930
"uid": "replace_datasource_uid"
@@ -6260,7 +6260,7 @@
62606260
"targets": [
62616261
{
62626262
"alias": "",
6263-
"bucketAggs": [],
6263+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
62646264
"datasource": {
62656265
"type": "elasticsearch",
62666266
"uid": "replace_datasource_uid"
@@ -6686,7 +6686,7 @@
66866686
"targets": [
66876687
{
66886688
"alias": "",
6689-
"bucketAggs": [],
6689+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
66906690
"datasource": {
66916691
"type": "elasticsearch",
66926692
"uid": "replace_datasource_uid"
@@ -7169,7 +7169,7 @@
71697169
"targets": [
71707170
{
71717171
"alias": "",
7172-
"bucketAggs": [],
7172+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
71737173
"datasource": {
71747174
"type": "elasticsearch",
71757175
"uid": "replace_datasource_uid"
@@ -8157,7 +8157,7 @@
81578157
"targets": [
81588158
{
81598159
"alias": "",
8160-
"bucketAggs": [],
8160+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
81618161
"datasource": {
81628162
"type": "elasticsearch",
81638163
"uid": "replace_datasource_uid"
@@ -8510,7 +8510,7 @@
85108510
"targets": [
85118511
{
85128512
"alias": "",
8513-
"bucketAggs": [],
8513+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
85148514
"datasource": {
85158515
"type": "elasticsearch",
85168516
"uid": "replace_datasource_uid"
@@ -8837,7 +8837,7 @@
88378837
"targets": [
88388838
{
88398839
"alias": "",
8840-
"bucketAggs": [],
8840+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
88418841
"datasource": {
88428842
"type": "elasticsearch",
88438843
"uid": "replace_datasource_uid"
@@ -9652,7 +9652,7 @@
96529652
"targets": [
96539653
{
96549654
"alias": "",
9655-
"bucketAggs": [],
9655+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
96569656
"datasource": {
96579657
"type": "elasticsearch",
96589658
"uid": "replace_datasource_uid"
@@ -10029,7 +10029,7 @@
1002910029
"targets": [
1003010030
{
1003110031
"alias": "",
10032-
"bucketAggs": [],
10032+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
1003310033
"datasource": {
1003410034
"type": "elasticsearch",
1003510035
"uid": "replace_datasource_uid"
@@ -10991,7 +10991,7 @@
1099110991
"targets": [
1099210992
{
1099310993
"alias": "",
10994-
"bucketAggs": [],
10994+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
1099510995
"datasource": {
1099610996
"type": "elasticsearch",
1099710997
"uid": "replace_datasource_uid"
@@ -12117,7 +12117,7 @@
1211712117
"targets": [
1211812118
{
1211912119
"alias": "",
12120-
"bucketAggs": [],
12120+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
1212112121
"datasource": {
1212212122
"type": "elasticsearch",
1212312123
"uid": "replace_datasource_uid"

backend/app/connectors/grafana/dashboards/Wazuh/edr_av_malware_ioc.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@
651651
"targets": [
652652
{
653653
"alias": "",
654-
"bucketAggs": [],
654+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
655655
"datasource": {
656656
"type": "elasticsearch",
657657
"uid": "replace_datasource_uid"
@@ -1711,7 +1711,7 @@
17111711
"targets": [
17121712
{
17131713
"alias": "",
1714-
"bucketAggs": [],
1714+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
17151715
"datasource": {
17161716
"type": "elasticsearch",
17171717
"uid": "replace_datasource_uid"
@@ -3284,7 +3284,7 @@
32843284
"targets": [
32853285
{
32863286
"alias": "",
3287-
"bucketAggs": [],
3287+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
32883288
"datasource": {
32893289
"type": "elasticsearch",
32903290
"uid": "replace_datasource_uid"
@@ -4747,7 +4747,7 @@
47474747
"targets": [
47484748
{
47494749
"alias": "",
4750-
"bucketAggs": [],
4750+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
47514751
"datasource": {
47524752
"type": "elasticsearch",
47534753
"uid": "replace_datasource_uid"
@@ -6658,7 +6658,7 @@
66586658
"targets": [
66596659
{
66606660
"alias": "",
6661-
"bucketAggs": [],
6661+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
66626662
"datasource": {
66636663
"type": "elasticsearch",
66646664
"uid": "replace_datasource_uid"

backend/app/connectors/grafana/dashboards/Wazuh/edr_dll_side_loading.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,7 @@
15621562
"pluginVersion": "9.0.0",
15631563
"targets": [
15641564
{
1565-
"bucketAggs": [],
1565+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
15661566
"datasource": {
15671567
"type": "elasticsearch",
15681568
"uid": "replace_datasource_uid"

backend/app/connectors/grafana/dashboards/Wazuh/edr_dns_requests.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@
12431243
"pluginVersion": "10.4.0",
12441244
"targets": [
12451245
{
1246-
"bucketAggs": [],
1246+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
12471247
"datasource": {
12481248
"type": "elasticsearch",
12491249
"uid": "replace_datasource_uid"

backend/app/connectors/grafana/dashboards/Wazuh/edr_docker_monitoring.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@
16311631
"pluginVersion": "9.0.6",
16321632
"targets": [
16331633
{
1634-
"bucketAggs": [],
1634+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
16351635
"datasource": {
16361636
"type": "elasticsearch",
16371637
"uid": "replace_datasource_uid"

backend/app/connectors/grafana/dashboards/Wazuh/edr_fim.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@
15101510
"targets": [
15111511
{
15121512
"alias": "",
1513-
"bucketAggs": [],
1513+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
15141514
"datasource": {
15151515
"type": "elasticsearch",
15161516
"uid": "replace_datasource_uid"
@@ -2929,7 +2929,7 @@
29292929
"targets": [
29302930
{
29312931
"alias": "",
2932-
"bucketAggs": [],
2932+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
29332933
"datasource": {
29342934
"type": "elasticsearch",
29352935
"uid": "replace_datasource_uid"
@@ -4392,7 +4392,7 @@
43924392
"targets": [
43934393
{
43944394
"alias": "",
4395-
"bucketAggs": [],
4395+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
43964396
"datasource": {
43974397
"type": "elasticsearch",
43984398
"uid": "replace_datasource_uid"
@@ -5843,7 +5843,7 @@
58435843
"targets": [
58445844
{
58455845
"alias": "",
5846-
"bucketAggs": [],
5846+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
58475847
"datasource": {
58485848
"type": "elasticsearch",
58495849
"uid": "replace_datasource_uid"

backend/app/connectors/grafana/dashboards/Wazuh/edr_mitre.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1488,7 +1488,7 @@
14881488
"pluginVersion": "9.0.0",
14891489
"targets": [
14901490
{
1491-
"bucketAggs": [],
1491+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
14921492
"datasource": {
14931493
"type": "elasticsearch",
14941494
"uid": "replace_datasource_uid"

backend/app/connectors/grafana/dashboards/Wazuh/edr_network_connections.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1974,7 +1974,7 @@
19741974
"pluginVersion": "10.4.0",
19751975
"targets": [
19761976
{
1977-
"bucketAggs": [],
1977+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
19781978
"datasource": {
19791979
"type": "elasticsearch",
19801980
"uid": "replace_datasource_uid"

backend/app/connectors/grafana/dashboards/Wazuh/edr_network_scan.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1770,7 +1770,7 @@
17701770
"pluginVersion": "9.0.0",
17711771
"targets": [
17721772
{
1773-
"bucketAggs": [],
1773+
"bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
17741774
"datasource": {
17751775
"type": "elasticsearch",
17761776
"uid": "replace_datasource_uid"

0 commit comments

Comments
 (0)