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?
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.