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!

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