Skip to content

Commit

Permalink
Merge pull request #45 from metrocavich/patch-1
Browse files Browse the repository at this point in the history
Update Splunk DB Connect guide with new JDBC information
  • Loading branch information
alexott authored Oct 18, 2023
2 parents bde8443 + 564ea86 commit da0da80
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/markdown/Splunk DB Connect guide for Databricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,17 @@ This topic explains how to setup DB Connect before you use it to access database
Download and install the JDBC Driver. Follow the steps below to setup the driver:

1. Configure Databricks JDBC Drivers:
1. Download the JDBC Databricks driver ([download](https://pages.databricks.com/ODBC-Driver-Download.html))
1. Download the JDBC Databricks driver ([download](https://www.databricks.com/spark/jdbc-drivers-download))
2. From the backend, place the `SparkJDBC42.jar` and `EULA.txt` (downloaded driver file and EULA file) to `$SPLUNK_HOME/etc/apps/splunk_app_db_connect/drivers` directory.
3. From the backend, navigate to the `$SPLUNK_HOME/etc/apps/splunk_app_db_connect/local` directory and create a file named `db_connection_types.conf`, and add the following content in the file. (Create the local directory if not exists)

```
[databricks_spark_sql]
displayName = Databricks Spark SQL
serviceClass = com.splunk.dbx2.SparkJDBC
jdbcUrlFormat = jdbc:spark://<host>:<port>/<database>
jdbcUrlSSLFormat = jdbc:spark://<host>:<port>/<database>?useSSL=true
jdbcDriverClass = com.simba.spark.jdbc.Driver
jdbcUrlFormat = jdbc:databricks://<host>:<port>/<database>
jdbcUrlSSLFormat = jdbc:databricks://<host>:<port>/<database>?useSSL=true
jdbcDriverClass = com.databricks.client.jdbc.Driver
supportedVersions = 1.0
port = 10000
ui_default_catalog = $database$
Expand Down

0 comments on commit da0da80

Please sign in to comment.