All Apps and Add-ons

Bundling macros.conf with app

shocko
Contributor

Guys, starting to use Splunk 6.1.4 (we are soon to upgrade to latest). I am creating apps and wondering where I need to place the macros.conf file in order to bundle it with the app? If I create in the UI it seems it is not bundled with the app.

Tags (1)
0 Karma
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi shocko,

put it into the following folder:

$SPLUNK_HOME/etc/apps/<YourAppNameHere/default

This will bundle your macro in the app when using the splunk package app ... command https://docs.splunk.com/Documentation/Splunk/latest/Admin/CLIadmincommands#Commands.2C_objects.2C_an...

Hope this helps ...

cheers, MuS

View solution in original post

0 Karma

MuS
SplunkTrust
SplunkTrust

Hi shocko,

put it into the following folder:

$SPLUNK_HOME/etc/apps/<YourAppNameHere/default

This will bundle your macro in the app when using the splunk package app ... command https://docs.splunk.com/Documentation/Splunk/latest/Admin/CLIadmincommands#Commands.2C_objects.2C_an...

Hope this helps ...

cheers, MuS

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...