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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...