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

Labels (1)
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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...