All Apps and Add-ons

Splunk ODBC: Why do I receive "syntax error 'SELECT "FIAM-Monthly-Hit-Count"" error?

DeanB_Fidelity
Engager

If I add the column, I get the following error:

`[31480] syntax error near 'SELECT "FIAM-Monthly-Hit-Count".unique<<< ???>>> from "ALL"."FIAM-Monthly-Hit-Count" "FIAM-Monthly-Hit-Count"

I'm using the Splunk ODBC drivers with Excel 2016. I'm able to use the Query Wizard to choose columns and Excel is able to get the column data from the report except this column. The one column is causing an error.

Tags (2)
0 Karma
1 Solution

DeanB_Fidelity
Engager

Found the problem. The name of the column was "unique". This appears to be a reserved name and the "unique" name of the column causes the error.

Changing the column name solves the problem.

View solution in original post

0 Karma

DeanB_Fidelity
Engager

Found the problem. The name of the column was "unique". This appears to be a reserved name and the "unique" name of the column causes the error.

Changing the column name solves the problem.

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...