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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...