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

Labels (1)
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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...