Splunk Search

How can you restrict a role or user from creating field extractions?

devinmclean
Path Finder

How do you restrict a role from creating field extractions? There's event actions drop down for search results where they can define even types and field extractions. We have all of our data well defined and parsed already, and do not want this feature enabled for normal users.

0 Karma

woodcock
Esteemed Legend

There isn't an out-of-the box way so you would have to implement your own counter-measures. You can create your own capability and then schedule an hourly saved search that uses the REST API to query for transforms and if any are owned by users that do not have the capability (or role) that you designated, use the REST API to disable them. This actually sounds like a fun project for a Splunkbase app.

0 Karma

somesoni2
Revered Legend

I don't think there is a specific capability for creating fields as such.

0 Karma

devinmclean
Path Finder

I couldn't find one in the docs, which is what I'm afraid of. It's surprising that there isn't a defined capability for this, because field extractions have CPU overhead.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...