Splunk Search

Database Records

rahul2gupta
Path Finder

Hi @gcusello ,

Following is the query that used to return database records but now it is not working.

dbquery wmsewprd  "select REC_TYPE, CODE_TYPE, CODE_DESC, SHORT_DESC, USER_ID from SYS_CODE_TYPE"

Regards,

Rahul

0 Karma

DavidHourani
Super Champion

Hi @rahul2gupta 

What's the error you're getting.

dbquery command is very well documented here : 

https://docs.splunk.com/Documentation/DBX/3.3.1/DeployDBX/Commands

Cheers,

David

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...