Rolling Index Configuration File
On this page
You can use a rolling index configuration file to specify the
settings required when you create one rolling index using the Atlas CLI. The
Atlas CLI accepts .json
rolling index configuration files.
Available Settings
When you create one rolling index using a configuration file, you can specify any settings that are listed in Create One Rolling Index under Request Body Schema.
Create a Configuration File
Follow these steps to create one rolling index with a configuration file:
Copy the sample request for Create One Rolling Index.
Navigate to the Create One Rolling Index section of the Atlas Admin API specification.
Under Request samples on the right side, click Expand all.
Click Copy to copy the sample request.
Run the atlas clusters indexes create command with
the --file
option.
Specify the path to the file you saved with the --file
flag.