Deployment Architecture

How to check if all apps listed in server class exists in deployment apps directory?

ben_leung
Builder

I want to perform a check on the deployment server before reloading any apps:

  • integrate through all stanzas and identify if it contains app:
  • take the app name and then dedupe for any reoccurrence
  • cross reference the apps in deployment_apps directory

Is there a Splunk CLI command that would provide this check for me? As far as I know, btool only does syntax checking, not a logical verification.

0 Karma
1 Solution

ryanoconnor
Builder
0 Karma

ben_leung
Builder

Just checked the output of the xml, seems like I can grab the title tags easily. Thanks for the tip off that endpoint, I missed that one.

0 Karma

ben_leung
Builder

I was looking at the help pages under list [deploy-clients|forward-server|search-server]. Something like 'list deployment-apps' would be great to verify the apps that should be there for deployment.

0 Karma

ben_leung
Builder

I was hoping /services/properties/serverclass would give me the app in a separate tag.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...