All Apps and Add-ons

Splunk DB Connect 2: Is it valid to select a column that is manipulated during the DB query as your rising column?

JWBailey
Communicator

Is it valid to select a column that is manipulated during the DB query as your rising column?

I am working with a SQL DB, and don't have a valid rising column directly in my DB. But I could do some manipulation within the SQL query to create a new column that would work. Is this possible? Or does the rising column need to already exist in the DB for Splunk to use?

For example, pretend my timestamp is not stored in a single column, but each part is in a separate column:
Year = ####
Month = ##
Day = ##
Hour = ##
Minute = ##
Second = ##

Individually none of these would work for a rising column, but if I could merge all of the text into a single field (YYYYMMDDHHMMSS), make sure it is a numeric value, that could be a valid rising column.

Thanks for all the assistance.

0 Karma

woodcock
Esteemed Legend

If you use SQL to create the field, then yes, that should work just fine.

0 Karma
Get Updates on the Splunk Community!

Unlock New Opportunities with Splunk Education: Explore Our Latest Courses!

At Splunk Education, we’re dedicated to providing top-tier learning experiences that cater to every skill ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...