Alerting

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

altink
Contributor

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

Labels (1)
Tags (3)
0 Karma
1 Solution

thambisetty
Super Champion

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
Super Champion

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
Contributor

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
Super Champion

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

.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!