All Apps and Add-ons

DB connect version 4.2.0

VijaySrrie
Builder

DB connect 4.2.0 version identities and connections are working fine but while trying to get the logs using SQL query getting error - Error in 'dbxquery' command:External search command exited unexpectedly

Same SQL query is working fine in version 3.9.0
(Note - We are not upgradinging DB connect
We have installed a fresh DB connect app in a new server and configuring each and every input)

Labels (1)
0 Karma

kknairr
Communicator

@VijaySrrie Found the resolution for a similar issue recorded in Splunk KB and see if it helps. Make sure you run the SPL mentioned and see if the error log matches and then proceed with the resolution. 

index=_internal source="*dbxquery*" log_level=ERROR

Solution: 

Error in 'dbxquery' command: External search command exited unexpectedly | Splunk

>>

If this post addressed your question, you can:

  • Give it karma to show appreciation 👍
  • Mark it as the solution if it solved your issue ✔️
  • Add a comment if you’d like more details ✏️

Acknowledging helpful answers keeps the community strong and motivates contributors to continue sharing their expertise.

>>

0 Karma

VijaySrrie
Builder

Tried for below databases
1. MSSQL generic

2. Oracle

Both are having the same error - Error in 'dbxquery' command:External search command exited unexpectedly

0 Karma

isoutamo
SplunkTrust
SplunkTrust
Have you updated those JDBC app packages also?
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!

Index This | What travels the world but is also stuck in place?

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

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...