All Apps and Add-ons

about dbxquery in splunk

tkdguq0110
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="test_db" query="select col1, col2, func_comcode(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
1 Solution

richgalloway
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, Karma would be appreciated.

View solution in original post

richgalloway
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, Karma would be appreciated.

tkdguq0110
Path Finder

Thanks 🙂

0 Karma
Get Updates on the Splunk Community!

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 ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...