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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...