Skip to content

Manage the Elastic license

Elastic features depend on the active license and deployment configuration. The source package supports Basic, trial, and supplied commercial-license paths, but the options available to you depend on the approved offer and plan.

Check license status

Use an authorized account:

curl --fail-with-body --user "<user>" \
  "https://<elasticsearch-hostname>/_license"

Record the license type, status, and expiration when present. Do not copy a license file or credential into a ticket.

Change license configuration

  1. Confirm the commercial entitlement and the features that require it.
  2. Confirm that the managed application exposes a license action.
  3. Store the supplied license material only through that protected action.
  4. Submit the change and wait for it to complete.
  5. Recheck the Elasticsearch license API.
  6. Test one required licensed feature with a least-privilege account.

Do not install an undocumented command-line tool, place license material in source control, or infer a license from the Marketplace plan name.

If the action is unavailable or the license is rejected, preserve the API status and error text after removing sensitive values, then get support.