Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unblock eql for public serverless #485

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions eql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ This track allows to overwrite the following parameters using `--track-params`:
* `cluster_health` (default: "green"): The minimum required cluster health.
* `error_level` (default: "non-fatal"): Available for bulk operations only to specify ignore-response-error-level.
* `cluster` (default: '') Cluster name configured on the target ES host as a remote cluster to allow execution of CCS queries.
* `post_ingest_sleep` (default: false): Whether to pause after ingest and prior to subsequent operations.
* `post_ingest_sleep_duration` (default: 30): Sleep duration in seconds.

### Query Selection

Expand Down
9 changes: 9 additions & 0 deletions eql/challenges/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@
},
"tags": "setup"
},
{# serverless-post-ingest-sleep-marker-start #}{%- if post_ingest_sleep|default(false) -%}
{
"name": "post-ingest-sleep",
"operation": {
"operation-type": "sleep",
"duration": {{ post_ingest_sleep_duration|default(30) }}
}
},
{%- endif -%}{# serverless-post-ingest-sleep-marker-end #}
{% include 'legacy_queries.json' %},
{% include 'queries.json' %}
]
Expand Down
9 changes: 9 additions & 0 deletions eql/challenges/index_sorting.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@
},
"tags": "setup"
},
{# serverless-post-ingest-sleep-marker-start #}{%- if post_ingest_sleep|default(false) -%}
{
"name": "post-ingest-sleep",
"operation": {
"operation-type": "sleep",
"duration": {{ post_ingest_sleep_duration|default(30) }}
}
},
{%- endif -%}{# serverless-post-ingest-sleep-marker-end #}
{% include 'queries.json' %}
]
}
2 changes: 2 additions & 0 deletions eql/endgame-4.28.2-000001.json
Original file line number Diff line number Diff line change
Expand Up @@ -2809,8 +2809,10 @@
"limit": "10000"
}
},
{# non-serverless-index-settings-marker-start #}{%- if build_flavor != "serverless" or serverless_operator == true -%}
"number_of_replicas": "{{number_of_replicas | default(0)}}",
"number_of_shards": "{{number_of_shards | default(5)}}",
{%- endif -%}{# non-serverless-index-settings-marker-end #}
"refresh_interval": "30s"
}
}
Expand Down