Getting Data In

sharing of calculated fields

dersa
Path Finder

Hello,

I have deployed an app to a distributed Search Head Cluster. This app contains only a props.conf file in the default directory. In the props.conf there is a calculated field writing a vendor-product to a specific source type.

In the search app this field is not populated. I believe because the sharing permission is set to app, rather than to global.

how can I change the permission from app to global?

Initially I created this app on the Search Head deployer in the directory shcluster/apps by adding a directory TEST, there i created a directory default and there i created a file props.conf.
Then I deployed it to the search heads.

I see the app on all the search heads, it's just the wrong sharing permission.

thanks

Alex

 

Labels (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

you must add also default.meta into metadata directory to share those props.conf to public.

r. Ismo

0 Karma

dersa
Path Finder

Hi,

you mean i need to create also a directory called metadata and add a file called default with a content similar to this?

cat default.meta
[]
access = read : [ * ], write : [ admin, sc_admin ]
export = system

Best regards

Alex

 

isoutamo
SplunkTrust
SplunkTrust

Exactly that way.

There is also some other requirements that your app is correctly validated. In On Premise those are not mandatory, but if you want to deploy that also to cloud then those requirements are mandatory. You should check those from development guide and use appinspector to validate those.

https://dev.splunk.com/enterprise/docs/developapps/testvalidate/appinspect/

 

dersa
Path Finder

awesome.

Thanks a lot!

Happy Weekend.

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...