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
Legend

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
Legend

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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...