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!

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...