Grafana Enterprise license
When you become a Grafana Enterprise customer, you gain access to Grafana’s premium observability features, including enterprise data source plugins, reporting, and role-based access control. In order to use these enhanced features of Grafana Enterprise, you must purchase and activate a Grafana Enterprise license.
You can also purchase a Grafana Enterprise license through the AWS Marketplace. To learn more about activating a license purchased through AWS, refer to Activate a Grafana Enterprise license purchased through AWS Marketplace.
Activate an Enterprise license
Follow these steps to activate your Grafana Enterprise license:
Step 1. Download your license file
To download your Grafana Enterprise license:
- Sign in to your Grafana Cloud account.
- Go to My Account and select an organization from the drop-down menu at the top left of the page. On the Overview page for each organization, you can see a section for Grafana Enterprise licenses. Click Details next to a license.
- At the bottom of the license details page, select Download token to download the
license.jwtfile that contains your license.
Step 2. Add your license to a Grafana instance
There is more than one way to add the license to a Grafana instance:
Upload the license file via the Grafana server administrator page
This is the preferred option for single instance installations of Grafana Enterprise.
- Sign in as a Grafana server administrator.
- Navigate to Server Admin > Upgrade within Grafana.
- Click Upload license token file.
- Select your license file, and upload it.
license.jwt file into the data directory of Grafana
On Linux systems, the data directory is usually at
You can also configure a custom location for the license file using the grafana.ini setting:
[enterprise] license_path = /company/secrets/license.jwt
This setting can also be set with an environment variable, which is useful if you’re running Grafana with Docker and have a custom volume where you have placed the license file. In this case, set the environment variable
GF_ENTERPRISE_LICENSE_PATH to point to the location of your license file.
Set the content of the license file as a configuration option
You can add a license by pasting the content of the
to the grafana.ini configuration file:
[enterprise] license_text = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0aGlzIjoiaXMiLCJub3QiOiJhIiwidmFsaWQiOiJsaWNlbnNlIn0.bxDzxIoJlYMwiEYKYT_l2s42z0Y30tY-6KKoyz9RuLE
This option can be set using the
Step 3. Ensure that the license file’s root URL matches the root_url configuration option
root_url in your configuration. It should be the URL that users type in their browsers to access the frontend, not the node hostname(s).
This is important, because as part of the validation checks at startup, Grafana compares the license URL to the
root_url in your configuration.
In your configuration file:
[server] root_url = https://grafana.example.com/
Or with an environment variable:
Step 4. Restart Grafana
To finalize the installation of Grafana Enterprise, restart Grafana to enable all Grafana Enterprise features. Refer to restart Grafana for more information.
If your license has expired, most of Grafana keeps working as normal. Some enterprise functionality stops or runs with reduced functionality and Grafana displays a banner informing the users that Grafana is running on an expired license. Your Grafana admin needs to upload a new license file to restore full functionality.
Replace your license as soon as possible. Running Grafana Enterprise with an expired license is unsupported and can lead to unexpected consequences.
Update your license
Locate your current
license.jwtfile. In a standard installation it is stored inside the Grafana data directory, which on a typical Linux installation is in
/var/lib/grafana/data. This location might be overridden in the ini file Configuration.
[enterprise] license_path = /path/to/your/license.jwt
The configuration file’s location may also be overridden by the
Log in to your Grafana Cloud Account and make sure you’re in the correct organization in the dropdown at the top of the page.
Under the Grafana Enterprise section in the menu bar to the left, choose licenses and download the currently valid license with which you want to run Grafana. If you cannot see a valid license on Grafana.com, please contact your account manager at Grafana Labs to renew your subscription.
Replace the current
license.jwt-file with the one you’ve just downloaded.
If your license expires
If your Grafana Enterprise license expires, you can expect the following changes in feature behavior.
Data source permissions
Your current data source permissions will keep working as expected, but you’ll be unable to add new data source permissions until the license has been renewed.
- LDAP synchronization is not affected by an expired license.
- Team sync debugging is unavailable.
SAML authentication is not affected by an expired license.
Role-based access control (RBAC)
- Creating, updating and deleting custom roles is not available.
- Modifying permissions for custom roles is not available.
- You’re unable to configure new reports or generate previews.
- Existing reports continue to be sent.
Enterprise plugins might stop working.
The white labeling feature is turned off, meaning that any white labeling options will not have any effect.
Exporting usage insights logs to Loki will be turned off for licenses expired for more than 7 days.
All the other usage insights features are turned off as soon as the license expires, meaning that you will not be able to see dashboard usage, presence indicators, or use improved search. Grafana continues to collect usage data and you will have access to it as soon as you update your license.
Vault integration is not affected by an expired license.
Auditing is not affected by an expired license.
The concurrent session limit remains active for seven days after the expiration date, after which it will be turned off.
The active users limit is turned off immediately.
Settings updates at runtime
Settings updates at runtime are not affected by an expired license.
Grafana Enterprise license restrictions
When you become a Grafana Enterprise customer, you receive a license that governs your use of Grafana Enterprise.
Active users limit
Your Grafana license includes a maximum number of active users.
- An active user is a user who has signed in to Grafana within the last 30 days. This is a rolling window that is updated daily.
- When you reach the maximum number of active users, only currently active users (users who have signed in over the past 30 days) can sign in. When a new user or a previously-inactive user tries to sign in, the user will see an error message indicating that Grafana has reached its license limit.
- The user’s role, number of dashboards that a user can view or edit, and the number of organizations that they can access does not affect the active user count.
- A license limit banner appears to administrators when Grafana reaches its active user limit; editors and viewers do not see the banner.
Determine the number of active users
To determine the number of active users:
Sign in to Grafana Enterprise as a System Administrator.
Click Server Admin (the shield icon).
Click Statistics and licensing.
Review the utilization count on the Utilization panel.
Tiered licensing (deprecated)
A tiered license defines dashboard viewers, and dashboard editors and administrators, as two distinct user types that each have their own user limit.
As of Grafana Enterprise version 9.0, Grafana only counts and enforces the total number of active users in your Grafana instance. For example, if you purchase 150 active users, you can have 20 admins, 70 editors, and 60 viewers, or you can have 150 admins. Grafana will enforce the total number of active users even if you use a license that grants a specific number of admins or editors and a certain number of viewers. This is a more permissive policy than before, which gives you the flexibility to change users’ roles.
If you are running a pre-9.0 version of Grafana Enterprise, please refer to the documentation for that version to learn more about license enforcement in your current version.
Additional license restrictions
Your license is controlled by the following rules:
License expiration date: The license includes an expiration date, which is the date when a license becomes inactive.
As the license expiration date approaches, you will see a banner in Grafana that encourages you to renew. To learn about how to renew your license and what happens in Grafana when a license expires, refer to License expiration.
Grafana License URL: Your license does not work with an instance of Grafana with a different root URL.
The License URL is the complete URL of your Grafana instance, for example
https://grafana.your-company.com/. It is defined in the root_url configuration setting.
Concurrent sessions limit: As of Grafana Enterprise 7.5, users can initiate up to three concurrent sessions of Grafana.
The system creates a session when a user signs in to Grafana from a new device, a different browser, or an incognito window. If a user signs in to Grafana from another tab or window within the same browser, only one session is used.
When a user reaches the session limit, the fourth connection succeeds and the longest inactive session is signed out.
Request usage billing
You can request Grafana Labs to activate usage billing which allows an unlimited number of active users. When usage billing is enabled, Grafana does not enforce active user limits or display warning banners. Instead, you are charged for active users that exceed the limit, according to your customer contract.
Usage billing involves a contractual agreement between you and Grafana Labs, and it is only available if Grafana Enterprise is configured to automatically refresh its license token.
Request a change to your license
To increase the number of licensed users within Grafana, extend a license, or change your licensed URL, contact Grafana support or your Grafana Labs account team. They will update your license, which you can activate from within Grafana.
For instructions about how to activate your license after it is updated, refer to Activate an Enterprise license.
Related Grafana resources
Unify your data with Grafana plugins: Datadog, Splunk, MongoDB, and more
In this webinar, learn how to leverage Grafana's plugin ecosystem for access to 80+ data sources, including plugins for Datadog, Splunk, MongoDB, and more.
Getting started with Grafana Enterprise and observability
Join the Grafana Labs team for a 30-minute demo of how to get started with the Grafana Stack, so you can go from zero to observability in just a few minutes.