All Apps and Add-ons

Can you use SQL functions with the Splunk ODBC driver?

OCAO
Engager

Can you use any of the different SQL functions (say, the aggregate functions: avg, sum, etc.) together the Splunk ODBC driver? What about WHERE or GROUP BY clauses? Or can you only perform simple SELECT?

Since you can only manipulate saved searches through the Splunk ODBC driver, I'm afraid the answer to my questions is "no, you cannot" but...

Thank you.

Tags (2)

OCAO
Engager

So, I did some tests.

A query such as "SELECT ALL A.OPERATION, sum( A.count ) FROM La_proportion_des_operations A GROUP BY A.OPERATION" works with the old 1.0.1 ODBC driver but gives no result with the recent 2.0 driver ! Looks then like a bug in the recent version of the driver...

tlagatta_splunk
Splunk Employee
Splunk Employee

What's your use case? Maybe DB Connect does the trick?

https://splunkbase.splunk.com/apps/#/page/1/search/db%2520connect/order/relevance

0 Karma
Get Updates on the Splunk Community!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...