All Apps and Add-ons
Highlighted

about dbxquery in splunk

Path Finder

Hi.
I'm a beginner of splunk search query.
I saw below search query and I did not understand what a function in sql select query.

| dbxquery connection="testdb" query="select col1, col2, funccomcode(col1,'col2').... from test_table"

my question is
Is this function(func_comcode) user defined function??
if yes, how can I find the function definition.

I think so silly question.
I appreciate your answer.
Thanks

0 Karma
Highlighted

Re: about dbxquery in splunk

SplunkTrust
SplunkTrust

If you use Google to search for the function name and get no results, then it's likely to be a user-defined function. Talk to your DBA to get the function definition.

---
If this reply helps you, an upvote would be appreciated.

View solution in original post

Highlighted

Re: about dbxquery in splunk

Path Finder

Thanks 🙂

0 Karma