Splunk Search

Are there some good examples on the format of the SQL for tails that are custom and have a where clause?

hvandenb
Path Finder

Are there some good examples on the format of the SQL for tails that are custom and have a where clause?

Tags (1)
0 Karma
1 Solution

hvandenb
Path Finder

I have been able to answer my own question. Here are some key items to keep in mind:

  • For Oracle make sure you put the name of the rising column in caps otherwise you get oracle errors
  • When using date make sure you wrap the parameter in a to_date, e.g. {{AND $rising_column$ > to_date(?,'YYYY-MM-DD"T"HH:MI:SS')}}. Note the format you use should be the same as the format that you selected

View solution in original post

hvandenb
Path Finder

I have been able to answer my own question. Here are some key items to keep in mind:

  • For Oracle make sure you put the name of the rising column in caps otherwise you get oracle errors
  • When using date make sure you wrap the parameter in a to_date, e.g. {{AND $rising_column$ > to_date(?,'YYYY-MM-DD"T"HH:MI:SS')}}. Note the format you use should be the same as the format that you selected
Get Updates on the Splunk Community!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...