All Apps and Add-ons

dbx query

eb1929
Explorer

I am getting the following error when try to make a new input "java.lang.IllegalStateException: Column name conflicted, please set shortnames option to false and retry" my query is as followed 

 

SELECT DISTINCT *
FROM [LOG].ActivityDetail a
INNER JOIN setup.ProcessGovernance b
ON a.ProcessGovernance1Up=b.ProcessGovernance1up
WHERE b.ProcessStatus1Up=3
AND Severity = 3
AND IndentLevel=1;

 

I am horrible with sql so I have no idea what to do. 

 

thank you! 

Labels (1)
0 Karma

Random_Walk
Path Finder

Rather late, but if you still struggle with this the issue, or for others that find this :

Splunk dbX drops table name and only uses the field name. (the 'shortnames' option mentioned). What you can to do is alias fields with the same name in both tables. 

SELECT DISTINCT a.ProcessGovernance1Up AS 1upa, b.ProcessGovernance1up AS 1upb, <other fields you want>
FROM [LOG].ActivityDetail a
INNER JOIN setup.ProcessGovernance b
ON 1upa=1upb
WHERE 1upb=3
AND Severity = 3
AND IndentLevel=1;

You may be able to replace <other fields you want> with * but I'm not sure without testing.

Regards, R. 

0 Karma
Get Updates on the Splunk Community!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

January 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk &#43; Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...