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!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

 Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team for an ...

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...