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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...