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
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!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

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 ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...