All Apps and Add-ons

How to deploy SplunkDB Connect App from one environment to another environment?

bhuvanabala
New Member

Hi Team,

Using SplunkDB connect we get data from database to indexer(App A), both splunkdb connect and App A are deployed in the same indexer. All the DB queries are saved under Splunk_Home\etc\apps\APP A\local\db_inputs.conf not in Splunk_Home\etc\apps\splunkdb_connect\local\db_inputs.conf. Only database connection and identity details are stored in splunkDB connect App. In App A if we query DB data we are able to get the DB data and we prepared statistical data using that DB data in App A.
Now we package App A and deploy that in new environment no db data are coming in new environment as App A contains only the queries and DB connection details are present in splunkdb connect app

The question here is how to move the splunkdb connect app from old environment to new environment?

0 Karma

ragedsparrow
Contributor

One thing that you need to consider is that the DB Connect app uses the splunk.secret to encrypt/decrypt the identity credentials. So you will want to ensure that the splunk.secret is the same between the 2 machines.

There are 2 locations that you have to migrate if you plan on migrating the app to a new server (assuming that the splunk.secret is the same on both servers).

These locations are:

  1. $SPLUNK_HOME/etc/apps/splunk_app_db_connect/
  2. $SPLUNK_HOME/var/lib/splunk/modinputs/server/splunk_app_db_connect

The first directory is the App directory. The second directory is the checkpoint value for any rising columns that you have configured.

ansif
Motivator

Why you want to move? Just install the db connect app on new environment and copy the configuration files from /local to new environment /local dir under DBconnect app.

Get Updates on the Splunk Community!

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

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...