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!

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...

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

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