Splunk Dev

Splunkd Crash: The user 'splunk-system-user' does not have sufficient search privleges

kfeagans_splunk
Splunk Employee
Splunk Employee

Hi:

A few days ago, after messing about with users and roles, I had the unfortunate occurrence of splunkd failing after just a minute or so. Looking through the recorded crash.log, I see the following:

libc++abi.dylib: terminating with uncaught exception of type SearchProcessorException: Error in 'DispatchCommand': The user 'splunk-system-user' does not have sufficient search privleges.

After searching high and low, I can't seem to find an answer to this?

Help! 🙂

kf

0 Karma
1 Solution

kfeagans_splunk
Splunk Employee
Splunk Employee

Found my own answer, with help from Splunk Ninja!

Turns out, there is an authorize.conf file located in $SPLUNK_HOME/etc/system/local that contains anything relevant to your instance of Splunk and user permissions relating to searches. Since this is a generated file from user input (users and roles), simply rename this file, and restart Splunk. Splunk will then create a new "default" authorize.conf file in local for you. If you need to, go ahead and make auth changes (being careful not to crash Splunk again! :).

View solution in original post

kfeagans_splunk
Splunk Employee
Splunk Employee

Found my own answer, with help from Splunk Ninja!

Turns out, there is an authorize.conf file located in $SPLUNK_HOME/etc/system/local that contains anything relevant to your instance of Splunk and user permissions relating to searches. Since this is a generated file from user input (users and roles), simply rename this file, and restart Splunk. Splunk will then create a new "default" authorize.conf file in local for you. If you need to, go ahead and make auth changes (being careful not to crash Splunk again! :).

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Deep Dive: Accelerate threat investigation with Splunk’s AI Assistant in Security

AI is one of the biggest topics in the market today, and for security teams, its value goes far beyond the ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Detection Engineering Office Hours: Real-World Troubleshooting & Q&A

[REGISTER HERE] This thread is for the Community Office Hours session on Detection Engineering Office Hours: ...