Getting Data In

Splunk App Packaging: How to package app with multiple add-ons to a single .spl file?

m_zaman
Engager

I am trying to package the app with

splunk package app abc

But since there is another add-on which I installed from splunk-base i.e. xyz isn't get packaged along with it.

Is there any way to package app with multiple add-ons from splunk-base in a single .spl?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

SPL files are just compressed tarballs. Once you've packaged your app you can use Linux utilities to add the xyz app, assuming xyz's owner allows it. First you need to rename the .spl file to .tgz then gunzip it. Use tar to add the third-party app(s). Finally, gzip the tarball and rename it to a .spl file.

---
If this reply helps you, Karma would be appreciated.

m_zaman
Engager

Thank you let me try out this.

0 Karma

jabezds
Path Finder

Hi @m_zaman ,where you able to combine all the add-ons and app in one .spl file.

Please let us know your approach ?

 

Many Thanks,

Jabez

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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...