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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...