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!

What’s New in Splunk Observability Cloud – June 2025

What’s New in Splunk Observability Cloud – June 2025 We are excited to announce the latest enhancements to ...

Almost Too Eventful Assurance: Part 2

Work While You SleepBefore you can rely on any autonomous remediation measures, you need to close the loop ...

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

 Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research Team (STRT) and ...