Users often inquire about the behavior of the "Disk space limit" setting within user role configurations.
The primary question is whether this limit is shared collectively by all users assigned to a specific role, or if it applies as an individual limit to each user within that role.
Consider the following example:
If the "Disk space limit" is set to 200MB for a role named "public_viewer," and there are 25 users assigned to this "public_viewer" role, two interpretations commonly arise:
Case 1: Shared Limit
All 25 users share a total disk limit of 200MB.
For instance, if one user consumes the entire 200MB limit due to a large search query, all other 24 users would be affected and unable to run searches requiring disk space.
In this scenario, the maximum disk space used by all 25 users combined would be 200MB.
Case 2: Individual Limit
Each of the 25 users would have their own independent 200MB disk limit.
If one user utilises their 200MB limit, it would not impact the disk space available to other users.
Consequently, the maximum potential disk space used by these 25 users could be up to 25 times 200MB, totalling 5000MB.
This article aims to clarify which of these cases accurately describes the behavior of the "Disk space limit" setting in Splunk.
To determine how the "Disk space limit" is applied, examine the srchDiskQuota setting within the authorize.conf file, which defines user roles and their capabilities.
This setting directly corresponds to the "Disk space limit" configurable in the Splunk Web UI for roles.
You can find the authorize.conf file typically in $SPLUNK_HOME/etc/system/local or $SPLUNK_HOME/etc/apps/<app_name>/local.
Here is an example of how the srchDiskQuota setting might appear in authorize.conf for a role:
# /opt/splunk/etc/system/local$ cat authorize.conf
[role_public_viewer]
srchDiskQuota = 200
srchMaxTime = 8640000
srchTimeEarliest = -1
srchTimeWin = -1
#
The crucial aspect to investigate is the official documentation's description of the srchDiskQuota parameter.
The Splunk documentation for authorize.conf provides a clear definition:
srchDiskQuota = <integer>
The maximum amount of disk space, in megabytes, that can be used by search jobs for a specific user with this role.
In search head clustering environments, this setting takes effect on a per-member basis. There is no cluster-wide accounting.
The dispatch manager checks the quota at the dispatch time of a search.
Additionally, the search process checks the quota at intervals that are defined in the 'disk_usage_update_period' setting in limits.conf as long as the search is active.
A user can occasionally exceed the quota because the search process does not constantly check the quota.
Exceeding this quota causes the search to be auto-finalized immediately, even if there are results that have not yet been returned.
When set to 0, this setting does not limit the amount of disk space that search jobs for a user with the role can use.
Default: 100
This description directly addresses whether the limit is shared or individual.
Based on the official Splunk documentation and the behavior of the srchDiskQuota setting, the "Disk space limit" setting in the user Role configuration applies as a limit per individual user under that Role.
This means:
If the disk space limit (srchDiskQuota) is set to 200MB for a specific Role (e.g., "public_viewer"), each user assigned to that Role has their own separate 200MB disk space limit for their search jobs.
Therefore, if one user consumes their full 200MB limit, it does not affect the disk space available to other users in the same Role. Each user's quota is independent.
The total disk space used by all users under that Role could theoretically be up to the number of users multiplied by the per-user limit (e.g., 25 users × 200MB = 5000MB).
Thus, the scenario corresponds to Case 2 in the example provided, where each user has an individual disk space limit, and usage by one user does not impact others.
This behavior ensures isolation of disk space usage among users sharing the same Role.
If an user has more than 1 role assigned, the least restrictive value set on "Disk space limit" between the roles will take precedence.
To configure this setting via the Splunk Web UI:
Navigate to Settings > Roles.
Select the desired role to edit.
Go to the Resources tab.
Modify the "Disk space limit" value (in MB) to the desired individual user quota.
Alternatively, you can modify the authorize.conf file directly:
[role_<your_role_name>]
srchDiskQuota = <desired_limit_in_MB>
Please remember to restart Splunk for changes to authorize.conf to take effect if modified directly.
authorize.conf - Splunk Documentation
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |