Deployment Architecture

How do you create a new empty app in a clustered environment?

EmEdwards
Path Finder

I know how to create an app from the GUI of Splunk. But, on a clustered environment, I believe this needs to be created on the deployer. I cannot find any documentation that gives step by step help to create a new empty app on a clustered Linux environment.

I do not know linux much at all, and am only needing to deploy a new empty base app.

Any pointers to documentation or help would be great ! Thanks.

0 Karma
1 Solution

vliggio
Communicator

An application is just a directory. You can create a directory in the /opt/splunk/etc/shcluster/apps directory and then run the command /opt/splunk/bin/splunk apply apply shcluster-config command and it will push that directory to your cluster.

Note that the directory structure within an app is exactly the same for a standalone and a clustered app. Only difference is the standalone one is in etc/apps and the clustered one is in etc/shcluster/apps.

When I create app directories I do put a few files such as default.meta and app.conf which allow configuring permissions, app name, etc.

View solution in original post

0 Karma

ddrillic
Ultra Champion
0 Karma

vliggio
Communicator

An application is just a directory. You can create a directory in the /opt/splunk/etc/shcluster/apps directory and then run the command /opt/splunk/bin/splunk apply apply shcluster-config command and it will push that directory to your cluster.

Note that the directory structure within an app is exactly the same for a standalone and a clustered app. Only difference is the standalone one is in etc/apps and the clustered one is in etc/shcluster/apps.

When I create app directories I do put a few files such as default.meta and app.conf which allow configuring permissions, app name, etc.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...