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

Adjust elastic/logs update-custom-package-templates for serverless #573

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 elastic/logs/tasks/index-setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@
"settings": {
"index" : {
{# non-serverless-index-settings-marker-start #}{%- if build_flavor != "serverless" or serverless_operator == true -%}
{% if p_include_non_serverless_index_settings %}
"number_of_replicas" : "{{ number_of_replicas | default('1')}}",
"number_of_shards" : "{{ number_of_shards | default('1')}}"
{% endif %}
{%- endif -%}{# non-serverless-index-settings-marker-end #}
}
},
Expand Down
1 change: 1 addition & 0 deletions elastic/logs/track.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
{% set p_query_warmup_time_period = (query_warmup_time_period | default(120)) %}
{% set p_query_time_period = (query_time_period | default(900)) %}
{% set p_query_request_params = (query_request_params | default({}))%}
{% set p_include_non_serverless_index_settings = (include_non_serverless_index_settings | default(build_flavor != "serverless")) %}
{% set p_include_esql_queries = (include_esql_queries | default(build_flavor != "serverless")) %}

{% set p_throttle_indexing = (throttle_indexing | default(false)) %}
Expand Down
Loading