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!

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...