Deployment Architecture

Can deployment server manage Dbx configuration?

dan60201
Explorer

Is it possible to make deployment server to manage only configuration part of DB Connect app? Basically, I like etc\apps\dbx\local folder to be managed by DP server. I have given a try by adding in serverclass, but the whole dbx folder is wiped and left only local folder. Any suggestion?
Thanks!

0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

Deployment server can only manage an entire app at a time. However, I believe you do not need to put the configuration for DB Connect in the same app directory as DB Connect itself. You should be able to create a new app, e.g., "dbxconfig", put a "local" directory in there, and rely on the Splunk configuration system to make those config settings available to the DB Connect binaries. This does depend on the DB Connect code loading config using Splunk config API calls, rather than directly reading specific file paths itself, but I believe that DB Connect does do this.

http://docs.splunk.com/Documentation/Splunk/5.0.4/admin/Aboutconfigurationfiles

View solution in original post

gkanapathy
Splunk Employee
Splunk Employee

Deployment server can only manage an entire app at a time. However, I believe you do not need to put the configuration for DB Connect in the same app directory as DB Connect itself. You should be able to create a new app, e.g., "dbxconfig", put a "local" directory in there, and rely on the Splunk configuration system to make those config settings available to the DB Connect binaries. This does depend on the DB Connect code loading config using Splunk config API calls, rather than directly reading specific file paths itself, but I believe that DB Connect does do this.

http://docs.splunk.com/Documentation/Splunk/5.0.4/admin/Aboutconfigurationfiles

abonuccelli_spl
Splunk Employee
Splunk Employee

does not work for me using dbx 1.1.4
database.conf gets detected outside of dbx app however inputs don't seem to

0 Karma

dan60201
Explorer

Thanks a lot. Have tried it out and worked great. So basically I can move the whole dbx\local folder to my own managed app which will pick up first before dbx.

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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