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.
Custom formatting
editCustom formatting
editecctl supports a global --format
flag which can be passed to any
existing command or subcommand. Using the --format
flag allows you
to obtain a specific part of a command response that might not have been
shown before with the default --output=text
. The --format
internally uses Go templates which means that you can use the power of
the Go built-in
text/templates
on demand.