All Apps and Add-ons

Splunk DB Connect: Why is MongoDb not working correctly?

davidnascimento
New Member

According the Splunk, if your database not listed in Splunk DB Connect 3, is necessary configure the new database according the link
http://docs.splunk.com/Documentation/DBX/3.1.2/DeployDBX/Installdatabasedrivers

Was Configurated according this

  1. Driver download and input and the drivers directory
  2. Include in directory local, the file db_connection_types.conf with this configuration

After this, the splunk was restarted and no have any information of this database in my Splunk Db Connect

0 Karma

mchang_splunk
Splunk Employee
Splunk Employee

For undefined/unsupported databases, you'll need to:

  1. Install JDBC driver file.
  2. Add custom database to db_connection_type.conf
    example of db_connection_type.conf:

    [dummy_DB_type]
    

    displayName = dummy_DB
    serviceClass = com.splunk.dbx2.DefaultDBX2JDBC
    jdbcDriverClass = $JDBC driver class$
    jdbcUrlFormat = $JDBC URI Format$
    ui_default_catalog = $database$

Once you restarted Splunk, you can go configuration -> Connections -> New connection.
dummy_DB should be available in dropdownlist of "Connection Type"
alt text

your can also refer here:
https://docs.splunk.com/Documentation/DBX/latest/DeployDBX/Installdatabasedrivers#Install_drivers_fo...

0 Karma

julio19
Explorer
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

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

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...