Skip to main content

collect

Description

Exports data to the specified index.

Syntax

| collect index=<string>

Required Arguments

ParameterSyntaxDescription
indexindex=<string>The index to which the data will be exported.

Query Example

Data from the apple index will be copied to the apple_copy index:

Example #1
source apple
| collect index=apple_copy