Skip to content

Commit cd7dfee

Browse files
author
David Roberts
authored
[ML] Add allow_lazy_open and max_empty_searches to SIEM jobs (#48238)
This change augments the SIEM jobs and datafeeds that were added in #47848 with the allow_lazy_open and max_empty_searches options that were added in elastic/elasticsearch#47726 and elastic/elasticsearch#47922 respectively.
1 parent 21841f6 commit cd7dfee

File tree

48 files changed

+53
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+53
-5
lines changed

x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/siem_auditbeat/ml/datafeed_linux_anomalous_network_activity_ecs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"indices": [
44
"INDEX_PATTERN_NAME"
55
],
6+
"max_empty_searches": 10,
67
"query": {
78
"bool": {
89
"filter": [

x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/siem_auditbeat/ml/datafeed_linux_anomalous_network_port_activity_ecs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"indices": [
44
"INDEX_PATTERN_NAME"
55
],
6+
"max_empty_searches": 10,
67
"query": {
78
"bool": {
89
"filter": [
@@ -24,4 +25,4 @@
2425
]
2526
}
2627
}
27-
}
28+
}

x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/siem_auditbeat/ml/datafeed_linux_anomalous_network_service.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"indices": [
44
"INDEX_PATTERN_NAME"
55
],
6+
"max_empty_searches": 10,
67
"query": {
78
"bool": {
89
"filter": [
@@ -23,4 +24,4 @@
2324
]
2425
}
2526
}
26-
}
27+
}

x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/siem_auditbeat/ml/datafeed_linux_anomalous_network_url_activity_ecs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"indices": [
44
"INDEX_PATTERN_NAME"
55
],
6+
"max_empty_searches": 10,
67
"query": {
78
"bool":{
89
"filter": [

x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/siem_auditbeat/ml/datafeed_linux_anomalous_process_all_hosts_ecs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"indices": [
44
"INDEX_PATTERN_NAME"
55
],
6+
"max_empty_searches": 10,
67
"query": {
78
"bool": {
89
"filter": [

x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/siem_auditbeat/ml/datafeed_linux_anomalous_user_name_ecs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"indices": [
44
"INDEX_PATTERN_NAME"
55
],
6+
"max_empty_searches": 10,
67
"query": {
78
"bool": {
89
"filter": [

x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/siem_auditbeat/ml/datafeed_rare_process_by_host_linux_ecs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"indexes": [
44
"INDEX_PATTERN_NAME"
55
],
6+
"max_empty_searches": 10,
67
"query": {
78
"bool": {
89
"filter": [

x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/siem_auditbeat/ml/datafeed_suspicious_login_activity_ecs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"indexes": [
44
"INDEX_PATTERN_NAME"
55
],
6+
"max_empty_searches": 10,
67
"query": {
78
"bool": {
89
"filter": {

x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/siem_auditbeat/ml/linux_anomalous_network_activity_ecs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"destination.ip"
2323
]
2424
},
25+
"allow_lazy_open": true,
2526
"analysis_limits": {
2627
"model_memory_limit": "64mb"
2728
},

x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/siem_auditbeat/ml/linux_anomalous_network_port_activity_ecs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"destination.ip"
2323
]
2424
},
25+
"allow_lazy_open": true,
2526
"analysis_limits": {
2627
"model_memory_limit": "32mb"
2728
},

0 commit comments

Comments
 (0)