Security

dbxquery command: external search exited unexpectedly

ankit13
Loves-to-Learn Lots

I am trying to integrate an Oracle database with Splunk using DB Connect. When I attempt to create an input in Data Lab and set the rising column as timestamp, I receive the following error:

“dbxquery command: External search command exited unexpectedly.”

I have already reviewed the related article, but the issue still persists. splunk db connect article 

I am using Splunk DB Connect version 3.18.

The SQL query runs successfully and returns data when executed normally; the error occurs only when selecting a rising column.
image.pngimage.png

image (1).pngimage (1).png

 

 

 

 

 

 

 

 



I have searched the dbxquery logs in internal logs and  its shows:

 

Labels (1)
0 Karma

victor_menezes
Communicator

Hi @ankit13,

The issue may be on your checkpoint value format. Can you, just for an experimentation purpose, pick another field like a numerical one and use it just to see if the search loads?
If it does, then it is all about playing with the datetime format you are passing as initial checkpoint until you can get a format that is working.

Also, the second screenshot showing I/O Operation on a closed writer exception may be telling you that the connection died before returning the results and that is probably because, again, Checkpoint Value current format may be causing interpretation issues on the JDBC query against your database.

Another option is to run a profiler on the DB side to capture exactly how this request is hitting your DB. That would answer all of those questions.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...

All Work and No Play? Not at .conf26! Unwind at These Evening Events

Between hands-on technical sessions, keynote reveals, and diving into live architectures, .conf26 is packed ...

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...