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!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...