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!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...