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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

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