All Apps and Add-ons

DBConnect input wont index data from db, http call failing

mwestley
Loves-to-Learn

The input that I have created to ingest data from my database using DBConnect is not indexing any events.  I looked in splunk_app_db_connect.server.log and found the following message.  

2021-03-02 09:45:55.885 -0600 [dw-2298 - PUT /api/inputs/DailyGivenNotificationSuccess] ERROR c.s.d.m.repository.DefaultConfigurationRepository - action=failed_to_get_the_conf reason=HTTP 401 -- call not properly authenticated
com.splunk.HttpException: HTTP 401 -- call not properly authenticated

My db input is using the default user "admin".  How do I get this call to be properly authenticated?

Labels (1)
0 Karma

mwestley
Loves-to-Learn

I found that I had an extra jar file for the java jre in the Splunk drivers folder one for version 8 and one for version 11.  Since my path referenced version 11 I removed the version 8 jar file, restarted Splunk and this error went away and seemed to start indexing the data properly.

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...