All Apps and Add-ons

How to Clone an App?

boommen
Engager

Hi
I need to close an app. For example I have app1 I need to clone it to app2. What is the best way to do this

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

Hi @boommen

I think there is no option to "clone" an app in the UI. But you can create a folder app2 and copy all the files and folders from app1 to app2. If app1 has special configuration which mentioned app1 as app configurations then you have to change app1 to app2 in all configuration files like. app.conf OR savedsearch.conf.

Let me know if any further help required.
Thanks

boommen
Engager

Thanks Kamelesh. I was able to copy app1 to app2. But none of the reports in app1 is showing up in app2. How do I do that ?

0 Karma

493669
Super Champion
  1. stop the splunk by running splunk stop in cmd prompt at $SPLUNK_HOME$/bin/
  2. Copy app folder from $SPLUNK_HOME$/etc/apps/<app_name> and paste at same location i.e. $SPLUNK_HOME$/etc/apps/ and rename folder name
  3. Start splunk by running splunk start
0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!