macOS DSN Configuration
This section shows how to set up ODBC connectivity and configure DSNs on macOS.
Minimum macOS Version
The CData ODBC Driver for Splunk driver requires macOS Sierra (10.12) or above.
Licensing the Driver
In a terminal, run the following commands to license the driver. To activate a trial, omit the <key> input.
cd "/Applications/CData ODBC Driver for Splunk/bin"
sudo ./install-license.sh <key>
You'll be prompted for a name and password. These refer to your name and your machine's password.
Connecting to Splunk APIs
You must specify the URL to a valid Splunk server. By default the driver makes requests on port 8089.
By default, the driver attempts to negotiate TLS/SSL with the server. See SSL Configuration for more information on TLS/SSL configuration.
Authenticating to Splunk
Login with Splunk credentials is the only available authentication method for connecting to Splunk.
Splunk credentials
To authenticate with Splunk credentials, set the User and Password to your login credentials.
Splunk Token
To authenticate with Splunk token, set the AuthScheme to AccessToken; and AccessToken property to your token generated form Splunk UI under Users and Authentication/Tokens.
Uninstalling the Driver
The easiest way to uninstall the driver is to open a terminal and run the included uninstall.sh script, located in the installation directory. For example:
cd "/Applications/CData ODBC Driver for Splunk" sudo ./uninstall.sh
Note: The script needs to be run from the installation directory.