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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...