From d16a7ec350e9f0988880e51366adade634946b2c Mon Sep 17 00:00:00 2001 From: Han Jiang Date: Tue, 23 Nov 2021 12:19:19 -0600 Subject: [PATCH] Rephrase index parameter description to avoid deprecated terms. Signed-off-by: Han Jiang --- _observability-plugins/trace/data-prepper-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_observability-plugins/trace/data-prepper-reference.md b/_observability-plugins/trace/data-prepper-reference.md index a0e2cdd4..4d470d2b 100644 --- a/_observability-plugins/trace/data-prepper-reference.md +++ b/_observability-plugins/trace/data-prepper-reference.md @@ -168,7 +168,7 @@ connect_timeout | No | Integer, the timeout in milliseconds used when requesting insecure | No | Boolean, default false. Whether to verify SSL certificate. If set to true, CA certificate verification will be turned off and insecure HTTP requests will be sent. trace_analytics_raw | No | Boolean, default false. Deprecated in favor of `index_type`. Whether to export as trace data to the `otel-v1-apm-span-*` index pattern (alias `otel-v1-apm-span`) for use with the Trace Analytics OpenSearch Dashboards plugin. trace_analytics_service_map | No | Boolean, default false. Deprecated in favor of `index_type`. Whether to export as trace data to the `otel-v1-apm-service-map` index for use with the service map component of the Trace Analytics OpenSearch Dashboards plugin. -index | No | String, name of the index to export to. Only required if you don't use the `trace_analytics_raw` or `trace_analytics_service_map` presets. In other words, this parameter is applicable and required only If index_type is explicitly `custom` or defaults to be `custom` while both `trace_analytics_raw` and `trace_analytics_service_map` are set to false. +index | No | String, name of the index to export to. Only required if you don't use the `trace-analytics-raw` or `trace-analytics-service-map` presets. In other words, this parameter is applicable and required only if index_type is explicitly `custom` or defaults to `custom`. index_type | No | String, default `custom`. This index type instructs the Sink plugin what type of data it is handling. Valid values: `custom`, `trace-analytics-raw`, `trace-analytics-service-map`. template_file | No | String, the path to a JSON [index template]({{site.url}}{{site.baseurl}}/opensearch/index-templates/) file (e.g. `/your/local/template-file.json` if you do not use the `trace_analytics_raw` or `trace_analytics_service_map`. See [otel-v1-apm-span-index-template.json](https://github.com/opensearch-project/data-prepper/blob/main/data-prepper-plugins/opensearch/src/main/resources/otel-v1-apm-span-index-template.json) for an example. document_id_field | No | String, the field from the source data to use for the OpenSearch document ID (e.g. `"my-field"`) if you don't use the `trace_analytics_raw` or `trace_analytics_service_map` presets.