When you install the default distribution of the Elastic Stack, you receive a basic license. For the full list of free features that are included in the basic license, see: https://www.elastic.co/subscriptions
You can 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. To check your trial status, use the get trial status API.
Updating Your Licenseedit
You can update your license at runtime without shutting down your nodes. License updates take effect immediately. The license is provided as a JSON file that you install in Kibana or by using the update license API.
If you are using a basic or trial license, X-Pack security is disabled by default. In all other licenses, X-Pack security is enabled by default; you must secure the Elastic Stack or disable X-Pack security.