Splunk Dev

local.meta stanzas

goelt2000
Explorer

What does is the logic behind below stanzas under

 

splunk/etc/apps/customappname/metadata/local.meta

[app/ui]

version=7.3.7

modtime=epoch time

 

[app/launcher]

version=7.3.7

modtime=epoch time

 

What is it referring to ? and I suppose these settings are app local only and will not be exported globally since there is no 

export=system here?

 

Thanks

Labels (1)
0 Karma

manjunathmeti
Champion

These are app UI and launcher page permissions specific to the app where local.meta exists (customappname in this case). You don't need to export them globally.

If this reply helps you, an upvote/like would be appreciated.

goelt2000
Explorer

Thanks. Sorry, not sure I understand.

Is there any documentation on the same?

The only documentation on meta files is 

https://docs.splunk.com/Documentation/Splunk/8.1.2/Admin/Defaultmetaconf

 

and it is not useful to understand anything on the meta files. For example: what permissions?

what is the syntax, etc. The documentation on other config files like app.conf is very extensive and clear. 

Can we remove local.meta files? etc..

0 Karma

manjunathmeti
Champion

Check this link for understanding attributes in metadata files:
https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/setpermissionsforobjects/ 

If you are creating app from scratch then you should not include local.meta, all your apps objects permissions should be added in default.meta only.

local.meta file is created when you change permission on Splunk Search heads UI as mentioned in the below documentation.
https://docs.splunk.com/Documentation/Splunk/8.1.2/Knowledge/Manageknowledgeobjectpermissions

 

If this reply helps you, an upvote/like would be appreciated.

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!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...