Splunk Search

|dbxquery query="SELECT DISTINCT last_name FROM hr.employees" connection="ORCL_PDB1_CONN"

jaxxsplunk
Explorer

Building a Dashboard dropdown.
The following query works fine and there are no duplicates in the resultset however the dashboard filter has the message "Duplicates values causing conflict". When I hover over this message a pop up show the following:
Error in 'dbxquery command'. This command is not supported in realtime search.

the query is ...
|dbxquery query="SELECT DISTINCT last_name FROM hr.employees" connection="ORCL_PDB1_CONN"
Using SPLUNK DB COnnect APP

In advance, thanks for you comments/insights and assistance.

Tags (1)
0 Karma

woodcock
Esteemed Legend

Your admin should have disabled all realtime; it is nothing but trouble. Do not use realtime with this command. The timepicker is ignored anyway.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Use a non-realtime timerange for dbxquery.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...