Alerting

Why am I seeing this error in my local.meta file app inspect?

altink
Builder

Hi

I have this error in my AppInspect Report:

Do not supply a local.meta file- put all settings in default.meta. File: metadata/local.meta.

In my app, under folder metadata, I can see the two files:
local.meta
default.meta

Which place of default.meta do I put the local.meta content, start or end ?
Can it be deleted?
Is it recreated during app work-update?
Is there a documentation describing this?

best regards
Altin

Tags (3)
0 Karma
1 Solution

thambisetty
SplunkTrust
SplunkTrust

It doesn’t really matter.

you can just copy content of local.meta and paste at the end of default.meta file.

you are running Splunk in linux.

just do below:

cat local.meta >> default.meta

rm -rf local.meta

————————————
If this helps, give a like below.

View solution in original post

thambisetty
SplunkTrust
SplunkTrust

you are not supposed to keep anything in local directory or local.meta in metadata folder/directory.

you can copy all your local.meta to default.meta  So the error will go.

————————————
If this helps, give a like below.

altink
Builder

thank you

but how do I copy?
where do I put the local.meta content, which place of default.meta - start or end ?
or matters not?


regards
Altin

0 Karma

thambisetty
SplunkTrust
SplunkTrust

It doesn’t really matter.

you can just copy content of local.meta and paste at the end of default.meta file.

you are running Splunk in linux.

just do below:

cat local.meta >> default.meta

rm -rf local.meta

————————————
If this helps, give a like below.
Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...