Splunk Search

dbxquery bind variable advanced case

thunder_wu
Path Finder

| dbxquery connection=Realtime shortnames=t

query="select * from table_a a
where a.id = ?
and a.create_dt_tm <= trunc(sysdate, 'MI') - interval '60' minute"
params="1234567"

 

For the above query, how to make the create_dt_tm qualification to be bind variable?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Raw Data to Executive-Ready Stories, Faster

Build Data Stories for Every Audience  A dashboard is rarely just a dashboard. It might be the view an ...

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...