Splunk Search

The splunk-system-user is hitting a quota limit. How do I increase the quota for this user?

the_wolverine
Champion

I'm running summary searches and the splunk-system-user keeps hitting a quota limit.

  04-12-2010 16:50:28.436 ERROR SavedSplunker - 
  Maximum disk usage=10422MB quota=10000MB, reached. Search not executed. 
  SearchId=scheduler_nobody_myapp_custom_summary_searchname

I'm only running summary searches on this host so I want to give the splunk-system-user free reign. How can I increase the quota for just the splunk-system-user?

Tags (1)
1 Solution

the_wolverine
Champion

Note that when scheduled search does not have an owner, it is run by splunk-system-user.

The splunk-system-user seems to have a hardcoded quota.

Therefore, you'll need to assign an owner/user to the scheduled search and specify a role for the user. This is because there isn't a way to set a per-user disk quota so you'll have to edit the role to increase this limit. Here are the defaults from $SPLUNK_HOME/etc/system/default/authorize.conf:

[role_admin]
srchDiskQuota = 10000

[role_power]
srchDiskQuota = 500

[role_user]
srchDiskQuota = 100

(System-wide default is 100 MB which will be applied to all roles where a srchDiskQuota is not specified)

Best way is probably to create a custom role and assign it to this user rather than edit the defaults for the canned roles. Create your custom role in $SPLUNK_HOME/etc/system/local/authorize.conf:

[role_quota]
srchDiskQuota = 5000

View solution in original post

the_wolverine
Champion

Note that when scheduled search does not have an owner, it is run by splunk-system-user.

The splunk-system-user seems to have a hardcoded quota.

Therefore, you'll need to assign an owner/user to the scheduled search and specify a role for the user. This is because there isn't a way to set a per-user disk quota so you'll have to edit the role to increase this limit. Here are the defaults from $SPLUNK_HOME/etc/system/default/authorize.conf:

[role_admin]
srchDiskQuota = 10000

[role_power]
srchDiskQuota = 500

[role_user]
srchDiskQuota = 100

(System-wide default is 100 MB which will be applied to all roles where a srchDiskQuota is not specified)

Best way is probably to create a custom role and assign it to this user rather than edit the defaults for the canned roles. Create your custom role in $SPLUNK_HOME/etc/system/local/authorize.conf:

[role_quota]
srchDiskQuota = 5000
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...