Security

Unable to assign permissions to a Field Extraction for all Splunk Users

zzaveri
Explorer

Hi All,

I receive the following error when assigning full permissions to field extractions that I created in splunk.

Splunk could not update permissions for resource data/props/extractions [HTTP 500] Splunkd internal error; [{'text': "\n In handler 'props-extract': Data could not be written: /nobody/search/props/netscreen:firewall/EXTRACT-user: by\s(?[^\/]+)", 'code': None, 'type': 'ERROR'}]

Please advise.

0 Karma

mayurr98
Super Champion

hey
One of the user faced same problem and he followed following steps to solve this issue

1) You probably copied the file as user root but Splunk is running as a lesser-priviliged user (e.g. splunk) which does not have permission to write to the file. You nee to do a chown to match the user running splunk or chmod to allow others to write to the file.
2) gave full control of $Splunk_home to the Everyone user group. (Shotgun approach)
3) On the web interface, on the save screen for the field extraction, he clicked the All Apps button on the Permissions row, (Owner had been selected by default). This showed a table of users with columns for name, read permissions, and write permissions. There was a line for the user group Everyone, I checked the Write Permissions box, and I was able to save.

let me know if this helps you!

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...