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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...