Splunk Search

Power ユーザーで作成した Field Extraction の共有ができない

CurryPan
Communicator

SplunkWeb から Power ユーザーで作成で Field Extraction を作成する際に、Extraction名称および権限の設定を行い Finish > ボタンを押下すると、下記のようなadmin_all_objects 権限がないというエラーが表示されてしまい、Field Extraction の作成および共有ができません。Regular Expression からREST API をコールした場合には問題なく共有が可能です。SplunkWeb から Power ユーザーで Field Extraction を共有する方法はないのでしょうか。

alt text

0 Karma
1 Solution

CurryPan
Communicator

Regular Expression を使用した場合と、SplunkWeb を使用した場合では、呼び出される REST API が異なります。SplunkWeb より呼び出される 'conf-transforms' については、別途 admin 権限が必要となりますので power ユーザーで実行することはできません。そのため、上記のようなエラーメッセージが表示されてしまいます。

解決索として、$SPLUNK_HOME/etc/apps/search/local 配下の restmap.conf に下記の stanza を追加していただくことで、Power ユーザーで Field Extraction の共有および作成が可能となります。

[eai:conf-transforms]
capability.write=allow_access_to_all

なお、restmap.conf が local ディレクトリに存在しない場合には、メモ帳等で新規に restmap.conf ファイルを作成してください。

View solution in original post

CurryPan
Communicator

Regular Expression を使用した場合と、SplunkWeb を使用した場合では、呼び出される REST API が異なります。SplunkWeb より呼び出される 'conf-transforms' については、別途 admin 権限が必要となりますので power ユーザーで実行することはできません。そのため、上記のようなエラーメッセージが表示されてしまいます。

解決索として、$SPLUNK_HOME/etc/apps/search/local 配下の restmap.conf に下記の stanza を追加していただくことで、Power ユーザーで Field Extraction の共有および作成が可能となります。

[eai:conf-transforms]
capability.write=allow_access_to_all

なお、restmap.conf が local ディレクトリに存在しない場合には、メモ帳等で新規に restmap.conf ファイルを作成してください。

Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...