Splunk Enterprise

Splunk Dashboard Code Management | GitLab

splunkuser320
Path Finder

Is it possible to automate the dashboard code management and deployment using GitLab ?

Labels (1)
0 Karma

FritzWittwer
Path Finder

Well, kind of. We use the following setup:

  • A development instance with a home grown splunkgit app which allows us to push and pull apps to a git repo
  • A ci/cd pipeline which runs an app trough app inspect
  • A cron job which puts a an app whit a new successfule build from the production branch on our deployer and thus deploys it on production

Our workflow is:

  1. develop either
    1. With an IDE on the git repo and pull to the dev environment for testing
    2. GUI based development and push the results back from the development to the git repo
  2. Merge to the production branch
  3. pipeline builds it (app inspect) and it gets deployed

 

You have to be careful whit stuff in /local

We have a push back corn job on our search heads which pushes the current apps back into another branch on the gi repo se we have always an valid backup and version history.

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...