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!

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

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...