Path parameters
-
A comma-separated list of data streams or data stream patterns. Supports wildcards (
*
).
Query parameters
-
The period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
External documentation
GET /_data_stream/{name}/_settings
curl \ --request GET 'http://api.example.com/_data_stream/{name}/_settings' \ --header "Authorization: $API_KEY"
Response examples (200)
This is a response to `GET /_data_stream/my-data-stream/_settings` where my-data-stream that has two settings set. The `effective_settings` field shows additional settings that are pulled from its template.
{ "data_streams": [ { "name": "my-data-stream", "settings": { "index": { "lifecycle": { "name": "new-test-policy" }, "number_of_shards": "11" } }, "effective_settings": { "index": { "lifecycle": { "name": "new-test-policy" }, "mode": "standard", "number_of_shards": "11", "number_of_replicas": "0" } } } ] }