Skip to main content
Create index in Elasticsearch
Wrk Product avatar
Written by Wrk Product
Updated over a month ago

Create index in Elasticsearch.

Application

  • Elasticsearch

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Connected Account

The connected account to use for the request

Connected Account

Yes

Index ID

ID of the index to create

Text (Short)

Yes

Aliases

Index aliases which include the index, as an alias object

Text (Long)

No

Include type name?

Whether a mapping type is expected in the body of mappings. Defaults to false

True/False

No

Mappings

Mapping for fields in the index, as mapping object

Text (Long)

No

Master timeout

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 1m

Text (Short)

No

Settings

Configuration options for the index, as an index settings object

Text (Long)

No

Timeout

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

Text (Short)

No

Wait for active 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. Default: 1, the primary shard

Text (Short)

No

Outputs (what you get)

Name

Description

Data Type

Required?

Example

JSON Output

JSON output returned by the API

Text (Long)

No

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

Unsuccessful

This status is selected if the job has completed unsuccessfully.

Requirements

  • N/A

Did this answer your question?