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
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, ...