Skip to content
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
1 change: 1 addition & 0 deletions elastic/logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ The following parameters are available:
* `lifecycle` (default: unset to fall back on Serverless detection) - Specifies the lifecycle management feature to use for data streams. Use `ilm` for index lifecycle management or `dlm` for data lifecycle management. By default, `dlm` will be used for benchmarking Serverless Elasticsearch.
* `workflow-request-cache` (default: `true`) - Explicit control of request cache query parameter in searches executed in a workflow. This can be further overriden at an operation level with `request-cache` parameter.
* `synthetic_source_keep` (default: unset) - Allows overriding the default synthetic source behaviour for all field types with the following values: `none` (equivalent to unset) - no source is stored, `arrays` - source stored as is only for multi-value (array) fields.
* `source_mode` (default: unset) - Specifies the source mode to be used.

### Data Download Parameters

Expand Down
11 changes: 8 additions & 3 deletions elastic/logs/templates/component/track-shared-logsdb-mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@
"index": {
"mode": {{ index_mode | tojson }}
{% if synthetic_source_keep and synthetic_source_keep != 'none' %}
,"mapping": {
"synthetic_source_keep": "{{ synthetic_source_keep }}"
}
,"mapping.synthetic_source_keep": {{ synthetic_source_keep | tojson }}
{% endif %}
}
{% endif %}
},
"mappings": {
{% if source_mode %}
"_source": {
"mode": {{ source_mode | tojson }}
}
{% endif %}
}
}
}
1 change: 1 addition & 0 deletions elastic/security/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ The following parameters are available:
* `corpora_uri_base` (default: `https://rally-tracks.elastic.co`) - Specify the base location of the datasets used by this track.
* `index_mode` (default: unset) - A parameter meant to be used internally which defines one of the available indexing modes, "standard", "logsdb" or "time_series". If not set, "standard" is used.
* `synthetic_source_keep` (default: unset) - Allows overriding the default synthetic source behaviour for all field types with the following values: `none` (equivalent to unset) - no source is stored, `arrays` - source stored as is only for multi-value (array) fields.
* `source_mode` (default: unset) - Specifies the source mode to be used.

### Data Generation Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,20 @@
"index": {
"mode": {{ index_mode | tojson }},
{% if synthetic_source_keep and synthetic_source_keep != 'none' %}
"mapping": {
"synthetic_source_keep": "{{ synthetic_source_keep }}"
},
"mapping.synthetic_source_keep": {{ synthetic_source_keep | tojson}},
{% endif %}
"sort.field": [ "host.hostname", "@timestamp" ],
"sort.order": [ "asc", "desc" ],
"sort.missing": ["_first", "_last"]
}
{% endif %}
},
"mappings": {
{% if source_mode %}
"_source": {
"mode": {{ source_mode | tojson }}
}
{% endif %}
}
}
}
1 change: 1 addition & 0 deletions http_logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ node pipeline to run. Valid options are `'baseline'` (default), `'grok'` and `'
* `enable_logsdb` (default: false) Determines whether the logsdb index mode gets used. If set then index sorting is configured to only use `@timestamp` field and the `source_enabled` parameter will have no effect.
* `force_merge_max_num_segments` (default: unset): An integer specifying the max amount of segments the force-merge operation should use.
* `synthetic_source_keep` (default: unset): If specified, configures the `index.mapping.synthetic_source_keep` index setting.
* `source_mode` (default: unset) - Specifies the source mode to be used.

### License

Expand Down
3 changes: 3 additions & 0 deletions http_logs/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
{%- else %}
"_source": {
"enabled": {{ source_enabled | default(true) | tojson }}
{% if source_mode %}
"mode": {{ source_mode | tojson }},
{% endif %}
},
{%- endif %}
"properties": {
Expand Down