Getting Data In

Import configs into an app from another app

dyeo
Engager

I tried importing the configs of one app1 (specifically for props.conf) to another app2 based on the accepted answer from this Splunk Q&A https://answers.splunk.com/answers/522829/share-propsconf-into-two-different-apps.html

This doesn't seem to import the props from app1 to app2 as desired. I am not getting the field extractions and I do not see the imported props configs in the output of:

/opt/splunk/bin/splunk cmd btool --app=app2 list

I just added the following to /opt/splunk/etc/apps/app2/metadata/local.meta:

[]
import = app1

Can someone please advise how I can import the field extractions from app1 to app2?

Tags (2)
0 Karma

skalliger
Motivator

Hey,

I would suggest copying both, the props.conf as well as the local.meta config file to the new app and only keeping the settings you need. However, there's one question, why do you want to copy it? You could set the sharing to global as well to use the extractions outside of the app.

Skalli

dyeo
Engager

I'd rather be able to import the configs of the original app, so we only need to update the configs in one place rather than in multiple apps.

Is there a best practice for sharing configs between apps?

0 Karma

skalliger
Motivator

Not really a best practice. It you want the knowledge objects to be available outside of the app, simply change the permissions of your knowledge objects to sharing global.

Skallk

0 Karma

dyeo
Engager

But what if I don't want the knowledge objects to be shared globally? I just want them shared with another specific app.

0 Karma

skalliger
Motivator

The import app functionality isn't really considered a good practice anymore, so there is no other way to do this right now. Well, you still could use the import one but this is not how it is intended to work.

Skalli

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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...