All Apps and Add-ons

DB Connect: Why no Column found on Timestamp?

Shadolu
Explorer

After Running the Query there is no option for Timestamp > Choose Column >  "No result"
Kindly see Image. 

Since I'm going to use the timestamp column well "Timestamp"

Shadolu_0-1649745033090.png

currently beginner here 

Tags (2)
0 Karma

tscroggins
Influencer

@Shadolu 

DB Connect can't parse the column names out of your SQL. It's a tedious rewrite, but you could try wrapping your CTE with an outer SELECT and explicitly listing the columns:

SELECT
    COLUMN_1,
    COLUMN_2,
    COLUMN_3,
    ...,
    COLUMN_N
FROM (
    WITH ... (
      ...
    )
    SELECT
        ...
    FROM
        ...
    WHERE
        ...
) T



Get Updates on the Splunk Community!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...