collect
Description
Exports data to the specified index.
Syntax
| collect index=<string>
Required Arguments
| Parameter | Syntax | Description |
|---|---|---|
index | index=<string> | The index to which the data will be exported. |
Examples
Example 1
This example demonstrates the basic usage of the collect command to create a backup copy of data. The command performs the following operations:
- Retrieves all data from the
appleindex using thesourcecommand - Copies the retrieved data to a new index
apple_copy
source apple
| collect index=apple_copy