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
Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...