What are Folders?
Folders in Grafana organize resources and control access:- Hierarchical organization: Group related dashboards together
- Permission boundary: Control who can view, edit, or admin resources
- Search scope: Filter searches by folder
- Resource container: Store dashboards, library panels, alert rules
Folders can contain sub-folders, creating a tree structure for complex organizations.
Creating Folders
Via the UI
- Navigate to Dashboards
- Click New → New folder
- Enter a folder name
- Optionally set a parent folder (for sub-folders)
- Configure initial permissions
- Click Create
Via the API
TypeScript Interface
Managing Folders
Get Folder Information
Update Folder
Update folder title, description, or parent:Delete Folder
Deleting a folder also deletes its contents:Folder Counts Interface
Moving Dashboards Between Folders
Move Single Dashboard
Update the dashboard’sfolderUid property:
Move Multiple Dashboards
Folder Permissions
Folders are the primary unit for permission management in Grafana.Permission Levels
- View: Read-only access to dashboards and library panels
- Edit: Create and modify dashboards and library panels
- Admin: Manage folder settings, permissions, and deletion
Permission Inheritance
Resources inherit permissions from their folder:- Dashboards in a folder inherit the folder’s permissions
- Library panels inherit permissions from their folder
- Alert rules inherit permissions from their folder
- Sub-folders inherit default permissions (can be overridden)
Users need at least View permission on a folder to see dashboards within it.
Setting Permissions
Permissions can be assigned to:- Users: Individual user accounts
- Teams: Groups of users
- Roles: Organization roles (Viewer, Editor, Admin)
- Go to folder settings
- Navigate to Permissions tab
- Add users, teams, or roles
- Set permission level
- Save changes
1: View2: Edit4: Admin
Default Permissions
New folders inherit default organization permissions:- Viewers role: View permission
- Editors role: Edit permission
- Admins role: Admin permission
Folder Hierarchy
Parent-Child Relationships
Folders can be nested to create hierarchies:Navigation
Breadcrumbs show the folder path:Moving Folders
Change a folder’s parent by updating itsparent field:
Searching Within Folders
Filter search results by folder:Search API
Virtual Folders
Grafana provides special virtual folders:- General: Default folder for dashboards without a folder
- Recent: Recently viewed dashboards
- Starred: User-starred dashboards
API Reference Summary
Best Practices
Organize by Team and Environment
Organize by Team and Environment
Structure folders to match your organization:This makes ownership and access control clear.
Use Descriptive Names
Use Descriptive Names
- Avoid generic names like
Folder 1orTest - Include scope:
API Production Dashboards - Be consistent across similar folders
Set Permissions at Folder Level
Set Permissions at Folder Level
Rather than setting permissions on individual dashboards:
- Create folders with appropriate permissions
- Place dashboards in correctly-permissioned folders
- Use teams for group-based access control
Limit Nesting Depth
Limit Nesting Depth
While Grafana supports deep hierarchies, keep it simple:
- Good: 2-3 levels (Team → Environment → Service)
- Too deep: 5+ levels become hard to navigate
- Use dashboard tags for additional categorization
Document Folder Purpose
Document Folder Purpose
Use the description field to explain:
- What dashboards belong here
- Who owns this folder
- Any special access considerations
Audit Before Deletion
Audit Before Deletion
Always check folder contents before deleting:
Related Topics
Dashboards
Create and manage dashboards within folders
Library Panels
Store reusable panels in folders
Permissions
Detailed permission model documentation
Teams
Manage team-based folder access