All Apps and Add-ons

db Connect Unable to write records

tb5821
Communicator

I just setup dbConnect 3.4.0 and setup my mysql connection. The logs are throwing this error

 

 

2020-09-24 18:37:44.357 +0000 [QuartzScheduler_Worker-14] ERROR org.easybatch.core.job.BatchJob - Unable to write records

java.io.IOException: Failed to post to https://127.0.0.1:8088/services/collector/event, HTTP Error 403, HEC response body: {"text":"Invalid token","code":4}, trace: HttpResponseProxy{HTTP/1.1 403 Forbidden [Date: Thu, 24 Sep 2020 18:37:44 GMT, Content-Type: application/json; charset=UTF-8, X-Content-Type-Options: nosniff, Content-Length: 33, Vary: Authorization, Connection: Keep-Alive, X-Frame-Options: SAMEORIGIN, Server: Splunkd] ResponseEntityProxy{[Content-Type: application/json; charset=UTF-8,Content-Length: 33,Chunked: false]}}

 

 

 I checked the HEC settings and there is a db-connect-http-input with a valid token, that same token also exists in /etc/apps/splunk_app_db_connect/local/inputs.conf

Whats the issue here???

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...