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
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...