elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic
elasticstack.getElasticsearchIndices
Explore with Pulumi AI
elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic
Use this data source to retrieve and get information about existing Elasticsearch indices. See, https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-index.html
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as elasticstack from "@pulumi/elasticstack";
const securityIndices = elasticstack.getElasticsearchIndices({
target: ".security-*",
});
import pulumi
import pulumi_elasticstack as elasticstack
security_indices = elasticstack.get_elasticsearch_indices(target=".security-*")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/elasticstack/elasticstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := elasticstack.GetElasticsearchIndices(ctx, &elasticstack.GetElasticsearchIndicesArgs{
Target: pulumi.StringRef(".security-*"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Elasticstack = Pulumi.Elasticstack;
return await Deployment.RunAsync(() =>
{
var securityIndices = Elasticstack.GetElasticsearchIndices.Invoke(new()
{
Target = ".security-*",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.elasticstack.ElasticstackFunctions;
import com.pulumi.elasticstack.inputs.GetElasticsearchIndicesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var securityIndices = ElasticstackFunctions.getElasticsearchIndices(GetElasticsearchIndicesArgs.builder()
.target(".security-*")
.build());
}
}
variables:
securityIndices:
fn::invoke:
function: elasticstack:getElasticsearchIndices
arguments:
target: .security-*
Using getElasticsearchIndices
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getElasticsearchIndices(args: GetElasticsearchIndicesArgs, opts?: InvokeOptions): Promise<GetElasticsearchIndicesResult>
function getElasticsearchIndicesOutput(args: GetElasticsearchIndicesOutputArgs, opts?: InvokeOptions): Output<GetElasticsearchIndicesResult>
def get_elasticsearch_indices(target: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetElasticsearchIndicesResult
def get_elasticsearch_indices_output(target: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetElasticsearchIndicesResult]
func GetElasticsearchIndices(ctx *Context, args *GetElasticsearchIndicesArgs, opts ...InvokeOption) (*GetElasticsearchIndicesResult, error)
func GetElasticsearchIndicesOutput(ctx *Context, args *GetElasticsearchIndicesOutputArgs, opts ...InvokeOption) GetElasticsearchIndicesResultOutput
> Note: This function is named GetElasticsearchIndices
in the Go SDK.
public static class GetElasticsearchIndices
{
public static Task<GetElasticsearchIndicesResult> InvokeAsync(GetElasticsearchIndicesArgs args, InvokeOptions? opts = null)
public static Output<GetElasticsearchIndicesResult> Invoke(GetElasticsearchIndicesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetElasticsearchIndicesResult> getElasticsearchIndices(GetElasticsearchIndicesArgs args, InvokeOptions options)
public static Output<GetElasticsearchIndicesResult> getElasticsearchIndices(GetElasticsearchIndicesArgs args, InvokeOptions options)
fn::invoke:
function: elasticstack:index/getElasticsearchIndices:getElasticsearchIndices
arguments:
# arguments dictionary
The following arguments are supported:
- Target string
- Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this attribute or use * or _all.
- Target string
- Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this attribute or use * or _all.
- target String
- Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this attribute or use * or _all.
- target string
- Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this attribute or use * or _all.
- target str
- Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this attribute or use * or _all.
- target String
- Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this attribute or use * or _all.
getElasticsearchIndices Result
The following output properties are available:
- Id string
- Generated ID for the indices.
- Indices
List<Get
Elasticsearch Indices Index> - The list of indices.
- Target string
- Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this attribute or use * or _all.
- Id string
- Generated ID for the indices.
- Indices
[]Get
Elasticsearch Indices Index - The list of indices.
- Target string
- Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this attribute or use * or _all.
- id String
- Generated ID for the indices.
- indices
List<Get
Elasticsearch Indices Index> - The list of indices.
- target String
- Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this attribute or use * or _all.
- id string
- Generated ID for the indices.
- indices
Get
Elasticsearch Indices Index[] - The list of indices.
- target string
- Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this attribute or use * or _all.
- id str
- Generated ID for the indices.
- indices
Sequence[Get
Elasticsearch Indices Index] - The list of indices.
- target str
- Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this attribute or use * or _all.
- id String
- Generated ID for the indices.
- indices List<Property Map>
- The list of indices.
- target String
- Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this attribute or use * or _all.
Supporting Types
GetElasticsearchIndicesIndex
- Deletion
Protection bool - Id string
- Internal identifier of the resource.
- Mappings string
- Mapping for fields in the index. If specified, this mapping can include: field names, field data types, mapping parameters. NOTE: - Changing datatypes in the existing mappings will force index to be re-created. - Removing field will be ignored by default same as elasticsearch. You need to recreate the index to remove field completely.
- Master
Timeout string - 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. Defaults to
30s
. This value is ignored when running against Serverless projects. - Name string
- Name of the index.
- Number
Of doubleReplicas - Number of shard replicas.
- Settings
Raw string - All raw settings fetched from the cluster.
- Timeout string
- Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Defaults to
30s
. - Wait
For stringActive Shards - The number of shard copies that must be active before proceeding with the operation. Set to
all
or any positive integer up to the total number of shards in the index (numberofreplicas+1). Default:1
, the primary shard. This value is ignored when running against Serverless projects. - Aliases
List<Get
Elasticsearch Indices Index Alias> - Aliases for the index.
- Analysis
Analyzer string - A JSON string describing the analyzers applied to the index.
- Analysis
Char stringFilter - A JSON string describing the char_filters applied to the index.
- Analysis
Filter string - A JSON string describing the filters applied to the index.
- Analysis
Normalizer string - A JSON string describing the normalizers applied to the index.
- Analysis
Tokenizer string - A JSON string describing the tokenizers applied to the index.
- Analyze
Max doubleToken Count - The maximum number of tokens that can be produced using _analyze API.
- Auto
Expand stringReplicas - Set the number of replicas to the node count in the cluster. Set to a dash delimited lower and upper bound (e.g. 0-5) or use all for the upper bound (e.g. 0-all)
- Blocks
Metadata bool - Set to
true
to disable index metadata reads and writes. - Blocks
Read bool - Set to
true
to disable read operations against the index. - Blocks
Read boolOnly - Set to
true
to make the index and index metadata read only,false
to allow writes and metadata changes. - Blocks
Read boolOnly Allow Delete - Identical to
index.blocks.read_only
but allows deleting the index to free up resources. - Blocks
Write bool - Set to
true
to disable data write operations against the index. This setting does not affect metadata. - Codec string
- The
default
value compresses stored data with LZ4 compression, but this can be set tobest_compression
which uses DEFLATE for a higher compression ratio. This can be set only on creation. - Default
Pipeline string - The default ingest node pipeline for this index. Index requests will fail if the default pipeline is set and the pipeline does not exist.
- Final
Pipeline string - Final ingest pipeline for the index. Indexing requests will fail if the final pipeline is set and the pipeline does not exist. The final pipeline always runs after the request pipeline (if specified) and the default pipeline (if it exists). The special pipeline name _none indicates no ingest pipeline will run.
- Gc
Deletes string - The length of time that a deleted document's version number remains available for further versioned operations.
- Highlight
Max doubleAnalyzed Offset - The maximum number of characters that will be analyzed for a highlight request.
- Indexing
Slowlog stringLevel - Set which logging level to use for the search slow log, can be:
warn
,info
,debug
,trace
- Indexing
Slowlog stringSource - Set the number of characters of the
_source
to include in the slowlog lines,false
or0
will skip logging the source entirely and setting it totrue
will log the entire source regardless of size. The original_source
is reformatted by default to make sure that it fits on a single log line. - Indexing
Slowlog stringThreshold Index Debug - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
2s
- Indexing
Slowlog stringThreshold Index Info - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
5s
- Indexing
Slowlog stringThreshold Index Trace - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
500ms
- Indexing
Slowlog stringThreshold Index Warn - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
10s
- Load
Fixed boolBitset Filters Eagerly - Indicates whether cached filters are pre-loaded for nested queries. This can be set only on creation.
- Mapping
Coerce bool - Set index level coercion setting that is applied to all mapping types.
- Max
Docvalue doubleFields Search - The maximum number of
docvalue_fields
that are allowed in a query. - Max
Inner doubleResult Window - The maximum value of
from + size
for inner hits definition and top hits aggregations to this index. - Max
Ngram doubleDiff - The maximum allowed difference between mingram and maxgram for NGramTokenizer and NGramTokenFilter.
- Max
Refresh doubleListeners - Maximum number of refresh listeners available on each shard of the index.
- Max
Regex doubleLength - The maximum length of regex that can be used in Regexp Query.
- Max
Rescore doubleWindow - The maximum value of
window_size
forrescore
requests in searches of this index. - Max
Result doubleWindow - The maximum value of
from + size
for searches to this index. - Max
Script doubleFields - The maximum number of
script_fields
that are allowed in a query. - Max
Shingle doubleDiff - The maximum allowed difference between maxshinglesize and minshinglesize for ShingleTokenFilter.
- Max
Terms doubleCount - The maximum number of terms that can be used in Terms Query.
- Number
Of doubleRouting Shards - Value used with numberofshards to route documents to a primary shard. This can be set only on creation.
- Number
Of doubleShards - Number of shards for the index. This can be set only on creation.
- Query
Default List<string>Fields - Wildcard () patterns matching one or more fields. Defaults to '', which matches all fields eligible for term-level queries, excluding metadata fields.
- Refresh
Interval string - How often to perform a refresh operation, which makes recent changes to the index visible to search. Can be set to
-1
to disable refresh. - Routing
Allocation stringEnable - Controls shard allocation for this index. It can be set to:
all
,primaries
,new_primaries
,none
. - Routing
Partition doubleSize - The number of shards a custom routing value can go to. This can be set only on creation.
- Routing
Rebalance stringEnable - Enables shard rebalancing for this index. It can be set to:
all
,primaries
,replicas
,none
. - Search
Idle stringAfter - How long a shard can not receive a search or get request until it’s considered search idle.
- Search
Slowlog stringLevel - Set which logging level to use for the search slow log, can be:
warn
,info
,debug
,trace
- Search
Slowlog stringThreshold Fetch Debug - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
2s
- Search
Slowlog stringThreshold Fetch Info - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
5s
- Search
Slowlog stringThreshold Fetch Trace - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
500ms
- Search
Slowlog stringThreshold Fetch Warn - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
10s
- Search
Slowlog stringThreshold Query Debug - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
2s
- Search
Slowlog stringThreshold Query Info - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
5s
- Search
Slowlog stringThreshold Query Trace - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
500ms
- Search
Slowlog stringThreshold Query Warn - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
10s
- string
- Whether or not shards should be checked for corruption before opening. When corruption is detected, it will prevent the shard from being opened. Accepts
false
,true
,checksum
. - Sort
Fields List<string> - The field to sort shards in this index by.
- Sort
Orders List<string> - The direction to sort shards in. Accepts
asc
,desc
. - Unassigned
Node stringLeft Delayed Timeout - Time to delay the allocation of replica shards which become unassigned because a node has left, in time units, e.g.
10s
- Deletion
Protection bool - Id string
- Internal identifier of the resource.
- Mappings string
- Mapping for fields in the index. If specified, this mapping can include: field names, field data types, mapping parameters. NOTE: - Changing datatypes in the existing mappings will force index to be re-created. - Removing field will be ignored by default same as elasticsearch. You need to recreate the index to remove field completely.
- Master
Timeout string - 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. Defaults to
30s
. This value is ignored when running against Serverless projects. - Name string
- Name of the index.
- Number
Of float64Replicas - Number of shard replicas.
- Settings
Raw string - All raw settings fetched from the cluster.
- Timeout string
- Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Defaults to
30s
. - Wait
For stringActive Shards - The number of shard copies that must be active before proceeding with the operation. Set to
all
or any positive integer up to the total number of shards in the index (numberofreplicas+1). Default:1
, the primary shard. This value is ignored when running against Serverless projects. - Aliases
[]Get
Elasticsearch Indices Index Alias - Aliases for the index.
- Analysis
Analyzer string - A JSON string describing the analyzers applied to the index.
- Analysis
Char stringFilter - A JSON string describing the char_filters applied to the index.
- Analysis
Filter string - A JSON string describing the filters applied to the index.
- Analysis
Normalizer string - A JSON string describing the normalizers applied to the index.
- Analysis
Tokenizer string - A JSON string describing the tokenizers applied to the index.
- Analyze
Max float64Token Count - The maximum number of tokens that can be produced using _analyze API.
- Auto
Expand stringReplicas - Set the number of replicas to the node count in the cluster. Set to a dash delimited lower and upper bound (e.g. 0-5) or use all for the upper bound (e.g. 0-all)
- Blocks
Metadata bool - Set to
true
to disable index metadata reads and writes. - Blocks
Read bool - Set to
true
to disable read operations against the index. - Blocks
Read boolOnly - Set to
true
to make the index and index metadata read only,false
to allow writes and metadata changes. - Blocks
Read boolOnly Allow Delete - Identical to
index.blocks.read_only
but allows deleting the index to free up resources. - Blocks
Write bool - Set to
true
to disable data write operations against the index. This setting does not affect metadata. - Codec string
- The
default
value compresses stored data with LZ4 compression, but this can be set tobest_compression
which uses DEFLATE for a higher compression ratio. This can be set only on creation. - Default
Pipeline string - The default ingest node pipeline for this index. Index requests will fail if the default pipeline is set and the pipeline does not exist.
- Final
Pipeline string - Final ingest pipeline for the index. Indexing requests will fail if the final pipeline is set and the pipeline does not exist. The final pipeline always runs after the request pipeline (if specified) and the default pipeline (if it exists). The special pipeline name _none indicates no ingest pipeline will run.
- Gc
Deletes string - The length of time that a deleted document's version number remains available for further versioned operations.
- Highlight
Max float64Analyzed Offset - The maximum number of characters that will be analyzed for a highlight request.
- Indexing
Slowlog stringLevel - Set which logging level to use for the search slow log, can be:
warn
,info
,debug
,trace
- Indexing
Slowlog stringSource - Set the number of characters of the
_source
to include in the slowlog lines,false
or0
will skip logging the source entirely and setting it totrue
will log the entire source regardless of size. The original_source
is reformatted by default to make sure that it fits on a single log line. - Indexing
Slowlog stringThreshold Index Debug - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
2s
- Indexing
Slowlog stringThreshold Index Info - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
5s
- Indexing
Slowlog stringThreshold Index Trace - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
500ms
- Indexing
Slowlog stringThreshold Index Warn - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
10s
- Load
Fixed boolBitset Filters Eagerly - Indicates whether cached filters are pre-loaded for nested queries. This can be set only on creation.
- Mapping
Coerce bool - Set index level coercion setting that is applied to all mapping types.
- Max
Docvalue float64Fields Search - The maximum number of
docvalue_fields
that are allowed in a query. - Max
Inner float64Result Window - The maximum value of
from + size
for inner hits definition and top hits aggregations to this index. - Max
Ngram float64Diff - The maximum allowed difference between mingram and maxgram for NGramTokenizer and NGramTokenFilter.
- Max
Refresh float64Listeners - Maximum number of refresh listeners available on each shard of the index.
- Max
Regex float64Length - The maximum length of regex that can be used in Regexp Query.
- Max
Rescore float64Window - The maximum value of
window_size
forrescore
requests in searches of this index. - Max
Result float64Window - The maximum value of
from + size
for searches to this index. - Max
Script float64Fields - The maximum number of
script_fields
that are allowed in a query. - Max
Shingle float64Diff - The maximum allowed difference between maxshinglesize and minshinglesize for ShingleTokenFilter.
- Max
Terms float64Count - The maximum number of terms that can be used in Terms Query.
- Number
Of float64Routing Shards - Value used with numberofshards to route documents to a primary shard. This can be set only on creation.
- Number
Of float64Shards - Number of shards for the index. This can be set only on creation.
- Query
Default []stringFields - Wildcard () patterns matching one or more fields. Defaults to '', which matches all fields eligible for term-level queries, excluding metadata fields.
- Refresh
Interval string - How often to perform a refresh operation, which makes recent changes to the index visible to search. Can be set to
-1
to disable refresh. - Routing
Allocation stringEnable - Controls shard allocation for this index. It can be set to:
all
,primaries
,new_primaries
,none
. - Routing
Partition float64Size - The number of shards a custom routing value can go to. This can be set only on creation.
- Routing
Rebalance stringEnable - Enables shard rebalancing for this index. It can be set to:
all
,primaries
,replicas
,none
. - Search
Idle stringAfter - How long a shard can not receive a search or get request until it’s considered search idle.
- Search
Slowlog stringLevel - Set which logging level to use for the search slow log, can be:
warn
,info
,debug
,trace
- Search
Slowlog stringThreshold Fetch Debug - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
2s
- Search
Slowlog stringThreshold Fetch Info - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
5s
- Search
Slowlog stringThreshold Fetch Trace - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
500ms
- Search
Slowlog stringThreshold Fetch Warn - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
10s
- Search
Slowlog stringThreshold Query Debug - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
2s
- Search
Slowlog stringThreshold Query Info - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
5s
- Search
Slowlog stringThreshold Query Trace - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
500ms
- Search
Slowlog stringThreshold Query Warn - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
10s
- string
- Whether or not shards should be checked for corruption before opening. When corruption is detected, it will prevent the shard from being opened. Accepts
false
,true
,checksum
. - Sort
Fields []string - The field to sort shards in this index by.
- Sort
Orders []string - The direction to sort shards in. Accepts
asc
,desc
. - Unassigned
Node stringLeft Delayed Timeout - Time to delay the allocation of replica shards which become unassigned because a node has left, in time units, e.g.
10s
- deletion
Protection Boolean - id String
- Internal identifier of the resource.
- mappings String
- Mapping for fields in the index. If specified, this mapping can include: field names, field data types, mapping parameters. NOTE: - Changing datatypes in the existing mappings will force index to be re-created. - Removing field will be ignored by default same as elasticsearch. You need to recreate the index to remove field completely.
- master
Timeout String - 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. Defaults to
30s
. This value is ignored when running against Serverless projects. - name String
- Name of the index.
- number
Of DoubleReplicas - Number of shard replicas.
- settings
Raw String - All raw settings fetched from the cluster.
- timeout String
- Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Defaults to
30s
. - wait
For StringActive Shards - The number of shard copies that must be active before proceeding with the operation. Set to
all
or any positive integer up to the total number of shards in the index (numberofreplicas+1). Default:1
, the primary shard. This value is ignored when running against Serverless projects. - aliases
List<Get
Elasticsearch Indices Index Alias> - Aliases for the index.
- analysis
Analyzer String - A JSON string describing the analyzers applied to the index.
- analysis
Char StringFilter - A JSON string describing the char_filters applied to the index.
- analysis
Filter String - A JSON string describing the filters applied to the index.
- analysis
Normalizer String - A JSON string describing the normalizers applied to the index.
- analysis
Tokenizer String - A JSON string describing the tokenizers applied to the index.
- analyze
Max DoubleToken Count - The maximum number of tokens that can be produced using _analyze API.
- auto
Expand StringReplicas - Set the number of replicas to the node count in the cluster. Set to a dash delimited lower and upper bound (e.g. 0-5) or use all for the upper bound (e.g. 0-all)
- blocks
Metadata Boolean - Set to
true
to disable index metadata reads and writes. - blocks
Read Boolean - Set to
true
to disable read operations against the index. - blocks
Read BooleanOnly - Set to
true
to make the index and index metadata read only,false
to allow writes and metadata changes. - blocks
Read BooleanOnly Allow Delete - Identical to
index.blocks.read_only
but allows deleting the index to free up resources. - blocks
Write Boolean - Set to
true
to disable data write operations against the index. This setting does not affect metadata. - codec String
- The
default
value compresses stored data with LZ4 compression, but this can be set tobest_compression
which uses DEFLATE for a higher compression ratio. This can be set only on creation. - default
Pipeline String - The default ingest node pipeline for this index. Index requests will fail if the default pipeline is set and the pipeline does not exist.
- final
Pipeline String - Final ingest pipeline for the index. Indexing requests will fail if the final pipeline is set and the pipeline does not exist. The final pipeline always runs after the request pipeline (if specified) and the default pipeline (if it exists). The special pipeline name _none indicates no ingest pipeline will run.
- gc
Deletes String - The length of time that a deleted document's version number remains available for further versioned operations.
- highlight
Max DoubleAnalyzed Offset - The maximum number of characters that will be analyzed for a highlight request.
- indexing
Slowlog StringLevel - Set which logging level to use for the search slow log, can be:
warn
,info
,debug
,trace
- indexing
Slowlog StringSource - Set the number of characters of the
_source
to include in the slowlog lines,false
or0
will skip logging the source entirely and setting it totrue
will log the entire source regardless of size. The original_source
is reformatted by default to make sure that it fits on a single log line. - indexing
Slowlog StringThreshold Index Debug - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
2s
- indexing
Slowlog StringThreshold Index Info - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
5s
- indexing
Slowlog StringThreshold Index Trace - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
500ms
- indexing
Slowlog StringThreshold Index Warn - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
10s
- load
Fixed BooleanBitset Filters Eagerly - Indicates whether cached filters are pre-loaded for nested queries. This can be set only on creation.
- mapping
Coerce Boolean - Set index level coercion setting that is applied to all mapping types.
- max
Docvalue DoubleFields Search - The maximum number of
docvalue_fields
that are allowed in a query. - max
Inner DoubleResult Window - The maximum value of
from + size
for inner hits definition and top hits aggregations to this index. - max
Ngram DoubleDiff - The maximum allowed difference between mingram and maxgram for NGramTokenizer and NGramTokenFilter.
- max
Refresh DoubleListeners - Maximum number of refresh listeners available on each shard of the index.
- max
Regex DoubleLength - The maximum length of regex that can be used in Regexp Query.
- max
Rescore DoubleWindow - The maximum value of
window_size
forrescore
requests in searches of this index. - max
Result DoubleWindow - The maximum value of
from + size
for searches to this index. - max
Script DoubleFields - The maximum number of
script_fields
that are allowed in a query. - max
Shingle DoubleDiff - The maximum allowed difference between maxshinglesize and minshinglesize for ShingleTokenFilter.
- max
Terms DoubleCount - The maximum number of terms that can be used in Terms Query.
- number
Of DoubleRouting Shards - Value used with numberofshards to route documents to a primary shard. This can be set only on creation.
- number
Of DoubleShards - Number of shards for the index. This can be set only on creation.
- query
Default List<String>Fields - Wildcard () patterns matching one or more fields. Defaults to '', which matches all fields eligible for term-level queries, excluding metadata fields.
- refresh
Interval String - How often to perform a refresh operation, which makes recent changes to the index visible to search. Can be set to
-1
to disable refresh. - routing
Allocation StringEnable - Controls shard allocation for this index. It can be set to:
all
,primaries
,new_primaries
,none
. - routing
Partition DoubleSize - The number of shards a custom routing value can go to. This can be set only on creation.
- routing
Rebalance StringEnable - Enables shard rebalancing for this index. It can be set to:
all
,primaries
,replicas
,none
. - search
Idle StringAfter - How long a shard can not receive a search or get request until it’s considered search idle.
- search
Slowlog StringLevel - Set which logging level to use for the search slow log, can be:
warn
,info
,debug
,trace
- search
Slowlog StringThreshold Fetch Debug - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
2s
- search
Slowlog StringThreshold Fetch Info - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
5s
- search
Slowlog StringThreshold Fetch Trace - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
500ms
- search
Slowlog StringThreshold Fetch Warn - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
10s
- search
Slowlog StringThreshold Query Debug - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
2s
- search
Slowlog StringThreshold Query Info - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
5s
- search
Slowlog StringThreshold Query Trace - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
500ms
- search
Slowlog StringThreshold Query Warn - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
10s
- String
- Whether or not shards should be checked for corruption before opening. When corruption is detected, it will prevent the shard from being opened. Accepts
false
,true
,checksum
. - sort
Fields List<String> - The field to sort shards in this index by.
- sort
Orders List<String> - The direction to sort shards in. Accepts
asc
,desc
. - unassigned
Node StringLeft Delayed Timeout - Time to delay the allocation of replica shards which become unassigned because a node has left, in time units, e.g.
10s
- deletion
Protection boolean - id string
- Internal identifier of the resource.
- mappings string
- Mapping for fields in the index. If specified, this mapping can include: field names, field data types, mapping parameters. NOTE: - Changing datatypes in the existing mappings will force index to be re-created. - Removing field will be ignored by default same as elasticsearch. You need to recreate the index to remove field completely.
- master
Timeout string - 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. Defaults to
30s
. This value is ignored when running against Serverless projects. - name string
- Name of the index.
- number
Of numberReplicas - Number of shard replicas.
- settings
Raw string - All raw settings fetched from the cluster.
- timeout string
- Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Defaults to
30s
. - wait
For stringActive Shards - The number of shard copies that must be active before proceeding with the operation. Set to
all
or any positive integer up to the total number of shards in the index (numberofreplicas+1). Default:1
, the primary shard. This value is ignored when running against Serverless projects. - aliases
Get
Elasticsearch Indices Index Alias[] - Aliases for the index.
- analysis
Analyzer string - A JSON string describing the analyzers applied to the index.
- analysis
Char stringFilter - A JSON string describing the char_filters applied to the index.
- analysis
Filter string - A JSON string describing the filters applied to the index.
- analysis
Normalizer string - A JSON string describing the normalizers applied to the index.
- analysis
Tokenizer string - A JSON string describing the tokenizers applied to the index.
- analyze
Max numberToken Count - The maximum number of tokens that can be produced using _analyze API.
- auto
Expand stringReplicas - Set the number of replicas to the node count in the cluster. Set to a dash delimited lower and upper bound (e.g. 0-5) or use all for the upper bound (e.g. 0-all)
- blocks
Metadata boolean - Set to
true
to disable index metadata reads and writes. - blocks
Read boolean - Set to
true
to disable read operations against the index. - blocks
Read booleanOnly - Set to
true
to make the index and index metadata read only,false
to allow writes and metadata changes. - blocks
Read booleanOnly Allow Delete - Identical to
index.blocks.read_only
but allows deleting the index to free up resources. - blocks
Write boolean - Set to
true
to disable data write operations against the index. This setting does not affect metadata. - codec string
- The
default
value compresses stored data with LZ4 compression, but this can be set tobest_compression
which uses DEFLATE for a higher compression ratio. This can be set only on creation. - default
Pipeline string - The default ingest node pipeline for this index. Index requests will fail if the default pipeline is set and the pipeline does not exist.
- final
Pipeline string - Final ingest pipeline for the index. Indexing requests will fail if the final pipeline is set and the pipeline does not exist. The final pipeline always runs after the request pipeline (if specified) and the default pipeline (if it exists). The special pipeline name _none indicates no ingest pipeline will run.
- gc
Deletes string - The length of time that a deleted document's version number remains available for further versioned operations.
- highlight
Max numberAnalyzed Offset - The maximum number of characters that will be analyzed for a highlight request.
- indexing
Slowlog stringLevel - Set which logging level to use for the search slow log, can be:
warn
,info
,debug
,trace
- indexing
Slowlog stringSource - Set the number of characters of the
_source
to include in the slowlog lines,false
or0
will skip logging the source entirely and setting it totrue
will log the entire source regardless of size. The original_source
is reformatted by default to make sure that it fits on a single log line. - indexing
Slowlog stringThreshold Index Debug - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
2s
- indexing
Slowlog stringThreshold Index Info - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
5s
- indexing
Slowlog stringThreshold Index Trace - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
500ms
- indexing
Slowlog stringThreshold Index Warn - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
10s
- load
Fixed booleanBitset Filters Eagerly - Indicates whether cached filters are pre-loaded for nested queries. This can be set only on creation.
- mapping
Coerce boolean - Set index level coercion setting that is applied to all mapping types.
- max
Docvalue numberFields Search - The maximum number of
docvalue_fields
that are allowed in a query. - max
Inner numberResult Window - The maximum value of
from + size
for inner hits definition and top hits aggregations to this index. - max
Ngram numberDiff - The maximum allowed difference between mingram and maxgram for NGramTokenizer and NGramTokenFilter.
- max
Refresh numberListeners - Maximum number of refresh listeners available on each shard of the index.
- max
Regex numberLength - The maximum length of regex that can be used in Regexp Query.
- max
Rescore numberWindow - The maximum value of
window_size
forrescore
requests in searches of this index. - max
Result numberWindow - The maximum value of
from + size
for searches to this index. - max
Script numberFields - The maximum number of
script_fields
that are allowed in a query. - max
Shingle numberDiff - The maximum allowed difference between maxshinglesize and minshinglesize for ShingleTokenFilter.
- max
Terms numberCount - The maximum number of terms that can be used in Terms Query.
- number
Of numberRouting Shards - Value used with numberofshards to route documents to a primary shard. This can be set only on creation.
- number
Of numberShards - Number of shards for the index. This can be set only on creation.
- query
Default string[]Fields - Wildcard () patterns matching one or more fields. Defaults to '', which matches all fields eligible for term-level queries, excluding metadata fields.
- refresh
Interval string - How often to perform a refresh operation, which makes recent changes to the index visible to search. Can be set to
-1
to disable refresh. - routing
Allocation stringEnable - Controls shard allocation for this index. It can be set to:
all
,primaries
,new_primaries
,none
. - routing
Partition numberSize - The number of shards a custom routing value can go to. This can be set only on creation.
- routing
Rebalance stringEnable - Enables shard rebalancing for this index. It can be set to:
all
,primaries
,replicas
,none
. - search
Idle stringAfter - How long a shard can not receive a search or get request until it’s considered search idle.
- search
Slowlog stringLevel - Set which logging level to use for the search slow log, can be:
warn
,info
,debug
,trace
- search
Slowlog stringThreshold Fetch Debug - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
2s
- search
Slowlog stringThreshold Fetch Info - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
5s
- search
Slowlog stringThreshold Fetch Trace - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
500ms
- search
Slowlog stringThreshold Fetch Warn - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
10s
- search
Slowlog stringThreshold Query Debug - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
2s
- search
Slowlog stringThreshold Query Info - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
5s
- search
Slowlog stringThreshold Query Trace - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
500ms
- search
Slowlog stringThreshold Query Warn - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
10s
- string
- Whether or not shards should be checked for corruption before opening. When corruption is detected, it will prevent the shard from being opened. Accepts
false
,true
,checksum
. - sort
Fields string[] - The field to sort shards in this index by.
- sort
Orders string[] - The direction to sort shards in. Accepts
asc
,desc
. - unassigned
Node stringLeft Delayed Timeout - Time to delay the allocation of replica shards which become unassigned because a node has left, in time units, e.g.
10s
- deletion_
protection bool - id str
- Internal identifier of the resource.
- mappings str
- Mapping for fields in the index. If specified, this mapping can include: field names, field data types, mapping parameters. NOTE: - Changing datatypes in the existing mappings will force index to be re-created. - Removing field will be ignored by default same as elasticsearch. You need to recreate the index to remove field completely.
- master_
timeout str - 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. Defaults to
30s
. This value is ignored when running against Serverless projects. - name str
- Name of the index.
- number_
of_ floatreplicas - Number of shard replicas.
- settings_
raw str - All raw settings fetched from the cluster.
- timeout str
- Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Defaults to
30s
. - wait_
for_ stractive_ shards - The number of shard copies that must be active before proceeding with the operation. Set to
all
or any positive integer up to the total number of shards in the index (numberofreplicas+1). Default:1
, the primary shard. This value is ignored when running against Serverless projects. - aliases
Sequence[Get
Elasticsearch Indices Index Alias] - Aliases for the index.
- analysis_
analyzer str - A JSON string describing the analyzers applied to the index.
- analysis_
char_ strfilter - A JSON string describing the char_filters applied to the index.
- analysis_
filter str - A JSON string describing the filters applied to the index.
- analysis_
normalizer str - A JSON string describing the normalizers applied to the index.
- analysis_
tokenizer str - A JSON string describing the tokenizers applied to the index.
- analyze_
max_ floattoken_ count - The maximum number of tokens that can be produced using _analyze API.
- auto_
expand_ strreplicas - Set the number of replicas to the node count in the cluster. Set to a dash delimited lower and upper bound (e.g. 0-5) or use all for the upper bound (e.g. 0-all)
- blocks_
metadata bool - Set to
true
to disable index metadata reads and writes. - blocks_
read bool - Set to
true
to disable read operations against the index. - blocks_
read_ boolonly - Set to
true
to make the index and index metadata read only,false
to allow writes and metadata changes. - blocks_
read_ boolonly_ allow_ delete - Identical to
index.blocks.read_only
but allows deleting the index to free up resources. - blocks_
write bool - Set to
true
to disable data write operations against the index. This setting does not affect metadata. - codec str
- The
default
value compresses stored data with LZ4 compression, but this can be set tobest_compression
which uses DEFLATE for a higher compression ratio. This can be set only on creation. - default_
pipeline str - The default ingest node pipeline for this index. Index requests will fail if the default pipeline is set and the pipeline does not exist.
- final_
pipeline str - Final ingest pipeline for the index. Indexing requests will fail if the final pipeline is set and the pipeline does not exist. The final pipeline always runs after the request pipeline (if specified) and the default pipeline (if it exists). The special pipeline name _none indicates no ingest pipeline will run.
- gc_
deletes str - The length of time that a deleted document's version number remains available for further versioned operations.
- highlight_
max_ floatanalyzed_ offset - The maximum number of characters that will be analyzed for a highlight request.
- indexing_
slowlog_ strlevel - Set which logging level to use for the search slow log, can be:
warn
,info
,debug
,trace
- indexing_
slowlog_ strsource - Set the number of characters of the
_source
to include in the slowlog lines,false
or0
will skip logging the source entirely and setting it totrue
will log the entire source regardless of size. The original_source
is reformatted by default to make sure that it fits on a single log line. - indexing_
slowlog_ strthreshold_ index_ debug - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
2s
- indexing_
slowlog_ strthreshold_ index_ info - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
5s
- indexing_
slowlog_ strthreshold_ index_ trace - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
500ms
- indexing_
slowlog_ strthreshold_ index_ warn - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
10s
- load_
fixed_ boolbitset_ filters_ eagerly - Indicates whether cached filters are pre-loaded for nested queries. This can be set only on creation.
- mapping_
coerce bool - Set index level coercion setting that is applied to all mapping types.
- max_
docvalue_ floatfields_ search - The maximum number of
docvalue_fields
that are allowed in a query. - max_
inner_ floatresult_ window - The maximum value of
from + size
for inner hits definition and top hits aggregations to this index. - max_
ngram_ floatdiff - The maximum allowed difference between mingram and maxgram for NGramTokenizer and NGramTokenFilter.
- max_
refresh_ floatlisteners - Maximum number of refresh listeners available on each shard of the index.
- max_
regex_ floatlength - The maximum length of regex that can be used in Regexp Query.
- max_
rescore_ floatwindow - The maximum value of
window_size
forrescore
requests in searches of this index. - max_
result_ floatwindow - The maximum value of
from + size
for searches to this index. - max_
script_ floatfields - The maximum number of
script_fields
that are allowed in a query. - max_
shingle_ floatdiff - The maximum allowed difference between maxshinglesize and minshinglesize for ShingleTokenFilter.
- max_
terms_ floatcount - The maximum number of terms that can be used in Terms Query.
- number_
of_ floatrouting_ shards - Value used with numberofshards to route documents to a primary shard. This can be set only on creation.
- number_
of_ floatshards - Number of shards for the index. This can be set only on creation.
- query_
default_ Sequence[str]fields - Wildcard () patterns matching one or more fields. Defaults to '', which matches all fields eligible for term-level queries, excluding metadata fields.
- refresh_
interval str - How often to perform a refresh operation, which makes recent changes to the index visible to search. Can be set to
-1
to disable refresh. - routing_
allocation_ strenable - Controls shard allocation for this index. It can be set to:
all
,primaries
,new_primaries
,none
. - routing_
partition_ floatsize - The number of shards a custom routing value can go to. This can be set only on creation.
- routing_
rebalance_ strenable - Enables shard rebalancing for this index. It can be set to:
all
,primaries
,replicas
,none
. - search_
idle_ strafter - How long a shard can not receive a search or get request until it’s considered search idle.
- search_
slowlog_ strlevel - Set which logging level to use for the search slow log, can be:
warn
,info
,debug
,trace
- search_
slowlog_ strthreshold_ fetch_ debug - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
2s
- search_
slowlog_ strthreshold_ fetch_ info - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
5s
- search_
slowlog_ strthreshold_ fetch_ trace - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
500ms
- search_
slowlog_ strthreshold_ fetch_ warn - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
10s
- search_
slowlog_ strthreshold_ query_ debug - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
2s
- search_
slowlog_ strthreshold_ query_ info - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
5s
- search_
slowlog_ strthreshold_ query_ trace - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
500ms
- search_
slowlog_ strthreshold_ query_ warn - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
10s
- str
- Whether or not shards should be checked for corruption before opening. When corruption is detected, it will prevent the shard from being opened. Accepts
false
,true
,checksum
. - sort_
fields Sequence[str] - The field to sort shards in this index by.
- sort_
orders Sequence[str] - The direction to sort shards in. Accepts
asc
,desc
. - unassigned_
node_ strleft_ delayed_ timeout - Time to delay the allocation of replica shards which become unassigned because a node has left, in time units, e.g.
10s
- deletion
Protection Boolean - id String
- Internal identifier of the resource.
- mappings String
- Mapping for fields in the index. If specified, this mapping can include: field names, field data types, mapping parameters. NOTE: - Changing datatypes in the existing mappings will force index to be re-created. - Removing field will be ignored by default same as elasticsearch. You need to recreate the index to remove field completely.
- master
Timeout String - 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. Defaults to
30s
. This value is ignored when running against Serverless projects. - name String
- Name of the index.
- number
Of NumberReplicas - Number of shard replicas.
- settings
Raw String - All raw settings fetched from the cluster.
- timeout String
- Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Defaults to
30s
. - wait
For StringActive Shards - The number of shard copies that must be active before proceeding with the operation. Set to
all
or any positive integer up to the total number of shards in the index (numberofreplicas+1). Default:1
, the primary shard. This value is ignored when running against Serverless projects. - aliases List<Property Map>
- Aliases for the index.
- analysis
Analyzer String - A JSON string describing the analyzers applied to the index.
- analysis
Char StringFilter - A JSON string describing the char_filters applied to the index.
- analysis
Filter String - A JSON string describing the filters applied to the index.
- analysis
Normalizer String - A JSON string describing the normalizers applied to the index.
- analysis
Tokenizer String - A JSON string describing the tokenizers applied to the index.
- analyze
Max NumberToken Count - The maximum number of tokens that can be produced using _analyze API.
- auto
Expand StringReplicas - Set the number of replicas to the node count in the cluster. Set to a dash delimited lower and upper bound (e.g. 0-5) or use all for the upper bound (e.g. 0-all)
- blocks
Metadata Boolean - Set to
true
to disable index metadata reads and writes. - blocks
Read Boolean - Set to
true
to disable read operations against the index. - blocks
Read BooleanOnly - Set to
true
to make the index and index metadata read only,false
to allow writes and metadata changes. - blocks
Read BooleanOnly Allow Delete - Identical to
index.blocks.read_only
but allows deleting the index to free up resources. - blocks
Write Boolean - Set to
true
to disable data write operations against the index. This setting does not affect metadata. - codec String
- The
default
value compresses stored data with LZ4 compression, but this can be set tobest_compression
which uses DEFLATE for a higher compression ratio. This can be set only on creation. - default
Pipeline String - The default ingest node pipeline for this index. Index requests will fail if the default pipeline is set and the pipeline does not exist.
- final
Pipeline String - Final ingest pipeline for the index. Indexing requests will fail if the final pipeline is set and the pipeline does not exist. The final pipeline always runs after the request pipeline (if specified) and the default pipeline (if it exists). The special pipeline name _none indicates no ingest pipeline will run.
- gc
Deletes String - The length of time that a deleted document's version number remains available for further versioned operations.
- highlight
Max NumberAnalyzed Offset - The maximum number of characters that will be analyzed for a highlight request.
- indexing
Slowlog StringLevel - Set which logging level to use for the search slow log, can be:
warn
,info
,debug
,trace
- indexing
Slowlog StringSource - Set the number of characters of the
_source
to include in the slowlog lines,false
or0
will skip logging the source entirely and setting it totrue
will log the entire source regardless of size. The original_source
is reformatted by default to make sure that it fits on a single log line. - indexing
Slowlog StringThreshold Index Debug - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
2s
- indexing
Slowlog StringThreshold Index Info - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
5s
- indexing
Slowlog StringThreshold Index Trace - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
500ms
- indexing
Slowlog StringThreshold Index Warn - Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g.
10s
- load
Fixed BooleanBitset Filters Eagerly - Indicates whether cached filters are pre-loaded for nested queries. This can be set only on creation.
- mapping
Coerce Boolean - Set index level coercion setting that is applied to all mapping types.
- max
Docvalue NumberFields Search - The maximum number of
docvalue_fields
that are allowed in a query. - max
Inner NumberResult Window - The maximum value of
from + size
for inner hits definition and top hits aggregations to this index. - max
Ngram NumberDiff - The maximum allowed difference between mingram and maxgram for NGramTokenizer and NGramTokenFilter.
- max
Refresh NumberListeners - Maximum number of refresh listeners available on each shard of the index.
- max
Regex NumberLength - The maximum length of regex that can be used in Regexp Query.
- max
Rescore NumberWindow - The maximum value of
window_size
forrescore
requests in searches of this index. - max
Result NumberWindow - The maximum value of
from + size
for searches to this index. - max
Script NumberFields - The maximum number of
script_fields
that are allowed in a query. - max
Shingle NumberDiff - The maximum allowed difference between maxshinglesize and minshinglesize for ShingleTokenFilter.
- max
Terms NumberCount - The maximum number of terms that can be used in Terms Query.
- number
Of NumberRouting Shards - Value used with numberofshards to route documents to a primary shard. This can be set only on creation.
- number
Of NumberShards - Number of shards for the index. This can be set only on creation.
- query
Default List<String>Fields - Wildcard () patterns matching one or more fields. Defaults to '', which matches all fields eligible for term-level queries, excluding metadata fields.
- refresh
Interval String - How often to perform a refresh operation, which makes recent changes to the index visible to search. Can be set to
-1
to disable refresh. - routing
Allocation StringEnable - Controls shard allocation for this index. It can be set to:
all
,primaries
,new_primaries
,none
. - routing
Partition NumberSize - The number of shards a custom routing value can go to. This can be set only on creation.
- routing
Rebalance StringEnable - Enables shard rebalancing for this index. It can be set to:
all
,primaries
,replicas
,none
. - search
Idle StringAfter - How long a shard can not receive a search or get request until it’s considered search idle.
- search
Slowlog StringLevel - Set which logging level to use for the search slow log, can be:
warn
,info
,debug
,trace
- search
Slowlog StringThreshold Fetch Debug - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
2s
- search
Slowlog StringThreshold Fetch Info - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
5s
- search
Slowlog StringThreshold Fetch Trace - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
500ms
- search
Slowlog StringThreshold Fetch Warn - Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g.
10s
- search
Slowlog StringThreshold Query Debug - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
2s
- search
Slowlog StringThreshold Query Info - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
5s
- search
Slowlog StringThreshold Query Trace - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
500ms
- search
Slowlog StringThreshold Query Warn - Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g.
10s
- String
- Whether or not shards should be checked for corruption before opening. When corruption is detected, it will prevent the shard from being opened. Accepts
false
,true
,checksum
. - sort
Fields List<String> - The field to sort shards in this index by.
- sort
Orders List<String> - The direction to sort shards in. Accepts
asc
,desc
. - unassigned
Node StringLeft Delayed Timeout - Time to delay the allocation of replica shards which become unassigned because a node has left, in time units, e.g.
10s
GetElasticsearchIndicesIndexAlias
- Index
Routing string - Value used to route indexing operations to a specific shard. If specified, this overwrites the
routing
value for indexing operations. - bool
- If true, the alias is hidden.
- Is
Write boolIndex - If true, the index is the write index for the alias.
- Name string
- Index alias name.
- Routing string
- Value used to route indexing and search operations to a specific shard.
- Search
Routing string - Value used to route search operations to a specific shard. If specified, this overwrites the routing value for search operations.
- Filter string
- Query used to limit documents the alias can access.
- Index
Routing string - Value used to route indexing operations to a specific shard. If specified, this overwrites the
routing
value for indexing operations. - bool
- If true, the alias is hidden.
- Is
Write boolIndex - If true, the index is the write index for the alias.
- Name string
- Index alias name.
- Routing string
- Value used to route indexing and search operations to a specific shard.
- Search
Routing string - Value used to route search operations to a specific shard. If specified, this overwrites the routing value for search operations.
- Filter string
- Query used to limit documents the alias can access.
- index
Routing String - Value used to route indexing operations to a specific shard. If specified, this overwrites the
routing
value for indexing operations. - Boolean
- If true, the alias is hidden.
- is
Write BooleanIndex - If true, the index is the write index for the alias.
- name String
- Index alias name.
- routing String
- Value used to route indexing and search operations to a specific shard.
- search
Routing String - Value used to route search operations to a specific shard. If specified, this overwrites the routing value for search operations.
- filter String
- Query used to limit documents the alias can access.
- index
Routing string - Value used to route indexing operations to a specific shard. If specified, this overwrites the
routing
value for indexing operations. - boolean
- If true, the alias is hidden.
- is
Write booleanIndex - If true, the index is the write index for the alias.
- name string
- Index alias name.
- routing string
- Value used to route indexing and search operations to a specific shard.
- search
Routing string - Value used to route search operations to a specific shard. If specified, this overwrites the routing value for search operations.
- filter string
- Query used to limit documents the alias can access.
- index_
routing str - Value used to route indexing operations to a specific shard. If specified, this overwrites the
routing
value for indexing operations. - bool
- If true, the alias is hidden.
- is_
write_ boolindex - If true, the index is the write index for the alias.
- name str
- Index alias name.
- routing str
- Value used to route indexing and search operations to a specific shard.
- search_
routing str - Value used to route search operations to a specific shard. If specified, this overwrites the routing value for search operations.
- filter str
- Query used to limit documents the alias can access.
- index
Routing String - Value used to route indexing operations to a specific shard. If specified, this overwrites the
routing
value for indexing operations. - Boolean
- If true, the alias is hidden.
- is
Write BooleanIndex - If true, the index is the write index for the alias.
- name String
- Index alias name.
- routing String
- Value used to route indexing and search operations to a specific shard.
- search
Routing String - Value used to route search operations to a specific shard. If specified, this overwrites the routing value for search operations.
- filter String
- Query used to limit documents the alias can access.
Package Details
- Repository
- elasticstack elastic/terraform-provider-elasticstack
- License
- Notes
- This Pulumi package is based on the
elasticstack
Terraform Provider.
elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic