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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...