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!

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