This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Multiple configuration files
editMultiple configuration files
editecctl supports having multiple configuration files out of the box.
This allows for easy management of multiple environments or specialized
targets. By default it will use
$HOME/.ecctl/config.<json|toml|yaml|hcl>
, but when the --config
flag is specified, it will append the --config
name to the file:
# Default behaviour $ ecctl version # will use ~/.ecctl/config.yaml # When an environment is specified, the configuration file used will change $ ecctl version --config ece # will use ~/.ecctl/ece.yaml