原文地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/get-trial-status.html, 原文档版权归 www.elastic.co 所有

Get trial status APIedit

This API enables you to check the status of your trial license.

Requestedit

GET /_license/trial_status

Descriptionedit

If you want to try the features that are included in a platinum license, you can start a 30-day trial.

You are allowed to initiate a trial license only if your cluster has not already activated a trial license for the current major product version. For example, if you have already activated a trial for v6.0, you cannot start a new trial until v7.0. You can, however, contact info@elastic.co to request an extended trial license.

For more information about the different types of licenses, see https://www.elastic.co/subscriptions.

Authorizationedit

You must have monitor cluster privileges to use this API. For more information, see Security privileges.

Examplesedit

The following example checks whether you are eligible to start a trial:

GET /_license/trial_status

Example response:

{
  "eligible_to_start_trial": true
}