Skip to content

Commit

Permalink
Bump maxmimum fields to 6k
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Oct 7, 2024
1 parent 6015ff5 commit 54902c5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/project/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ def fields():
s = SearchClass(
using=databaseClient,
index=index_from_args(args),
).extra(size=5000)
).extra(size=6000)
for hit in [x['_source'] for x in s.execute().to_dict().get('hits', {}).get('hits', [])]:
if (fieldname := malcolm_utils.deep_get(hit, ['dbField2'])) and (fieldname not in fields):
if debugApi:
Expand Down
2 changes: 1 addition & 1 deletion dashboards/templates/composable/component/zeek.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"template": {
"settings" : {
"index" : {
"mapping.total_fields.limit" : "5000",
"mapping.total_fields.limit" : "6000",
"mapping.nested_fields.limit" : "250",
"max_docvalue_fields_search" : "200"
}
Expand Down
2 changes: 1 addition & 1 deletion dashboards/templates/composable/component/zeek_ot.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"template": {
"settings" : {
"index" : {
"mapping.total_fields.limit" : "5000",
"mapping.total_fields.limit" : "6000",
"mapping.nested_fields.limit" : "250",
"max_docvalue_fields_search" : "200"
}
Expand Down
2 changes: 1 addition & 1 deletion dashboards/templates/malcolm_beats_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"template" :{
"settings" : {
"index" : {
"mapping.total_fields.limit" : "5000",
"mapping.total_fields.limit" : "6000",
"mapping.nested_fields.limit" : "250",
"max_docvalue_fields_search" : "200"
}
Expand Down
2 changes: 1 addition & 1 deletion dashboards/templates/malcolm_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"template" :{
"settings" : {
"index" : {
"mapping.total_fields.limit" : "5000",
"mapping.total_fields.limit" : "6000",
"mapping.nested_fields.limit" : "250",
"max_docvalue_fields_search" : "200"
}
Expand Down

0 comments on commit 54902c5

Please sign in to comment.