Splunk is a great operational intelligence and data processing platform that offers a great log analysis. It’s a powerful engine that lets you monitor, search, investigate, visualize and report on what’s happening with your IT infrastructure in real time.
There are times where an organization might want to connect to external database from Splunk to get data from a database or write Splunk enterprise data in to databases etc. Fortunately, Splunk has a DB Connect app that you can install in your Splunk Enterprise, which uses a JDBC driver in the background, to perform any operations against the database.
In this tutorial, we will be going through on how you can connect your SQL Server database using Splunk DB Connect app that leverages Progress DataDirect SQL Server JDBC driver. Use this driver when you need advanced features such as improved performance or Windows Authentication from Unix/Linux.
Make sure you have following installed and configured properly, before you go ahead with the tutorial.
By the end of this section, you would have installed the Progress DataDirect SQL Server JDBC driver. Let’s get started with it.
In this section, we will go through how to configure the DataDirect JDBC SQL Server to work with Splunk DB Connect.
[datadirect_mssql]
displayName = Progress DataDirect Microsoft SQL Server Driver
serviceClass = com.splunk.dbx2.DefaultDBX2JDBC
jdbcDriverClass = com.ddtek.jdbc.sqlserver.SQLServerDriver
supportedVersions = 1.0
jdbcUrlFormat = jdbc:datadirect:sqlserver://<;
host
>:<
port
>;DatabaseName=<
database
>
port = 1433
Name: <Any Name>
Identity: <Identity created in previous step>
App: Splunk DB Connect
Port: <Port for your database>
Host: <IP Address/Hostname of SQL Server>
Database Types: Progress DataDirect Microsoft SQL Server Driver
Default database: <database name>
JDBC URL Format: <No change needed, will be automatically populated from configuration file>
Now that you have successfully connected your database with Splunk, feel free to connect more of your databases using Progress DataDirect JDBC drivers to upgrade the connectivity experience. In addition to database access, you can reference your machine data with structured data in cloud applications with Progress DataDirect JDBC connectors for Salesforce, Google Analytics, Oracle Eloqua, Marketo, and more.
Learn more on what Progress DataDirect can do for your SQL Server connectivity needs and also learn the unfair advantage that you get by choosing Progress DataDirect connectivity solutions.