Skip to main content

Create index in Elasticsearch

Create index in Elasticsearch.

Application

  • Elasticsearch

Inputs (what you have)

NameDescriptionData TypeRequired?Example
Connected AccountThe connected account to use for the requestConnected AccountYes
Index IDID of the index to createText (Short)Yes
AliasesIndex aliases which include the index, as an alias objectText (Long)No
Include type name?Whether a mapping type is expected in the body of mappings. Defaults to falseTrue/FalseNo
MappingsMapping for fields in the index, as mapping objectText (Long)No
Master timeoutPeriod 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 1mText (Short)No
SettingsConfiguration options for the index, as an index settings objectText (Long)No
TimeoutPeriod to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Defaults to 30sText (Short)No
Wait for active shardsThe 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 shardText (Short)No

Outputs (what you get)

NameDescriptionData TypeRequired?Example
JSON OutputJSON output returned by the APIText (Long)No

Outcomes

NameDescription
SuccessThis status is selected if the job has successfully completed.
UnsuccessfulThis status is selected if the job has completed unsuccessfully.

Requirements

  • N/A