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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...