ElasticSearch: Improve index pattern error messaging and docs (#103899)

This commit is contained in:
Ida Štambuk
2025-04-14 15:55:33 +02:00
committed by GitHub
parent 4cdffbe5c6
commit 27795ff7bf
5 changed files with 54 additions and 9 deletions

View File

@ -127,7 +127,7 @@ Additional settings are optional settings that can be configured for more contro
The following settings are specific to the Elasticsearch data source.
- **Index name** - Use the index settings to specify a default for the `time field` and your Elasticsearch index's name. You can use a time pattern, such as `YYYY.MM.DD`, or a wildcard for the index name.
- **Index name** - Use the index settings to specify a default for the `time field` and your Elasticsearch index's name. You can use a time pattern, for example `[logstash-]YYYY.MM.DD`, or a wildcard for the index name. When specifying a time pattern, the fixed part(s) of the pattern should be wrapped in square brackets.
- **Pattern** - Select the matching pattern if using one in your index name. Options include:
@ -138,6 +138,8 @@ The following settings are specific to the Elasticsearch data source.
- monthly
- yearly
Only select a pattern option if you have specified a time pattern in the Index name field.
- **Time field name** - Name of the time field. The default value is @timestamp. You can enter a different name.
- **Max concurrent shard requests** - Sets the number of shards being queried at the same time. The default is `5`. For more information on shards see [Elasticsearch's documentation](https://www.elastic.co/guide/en/elasticsearch/reference/8.9/scalability.html#scalability).