cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

🎥 Search data in DQL (Dynatrace Query Language)

GosiaMurawska
Community Team
Community Team


In this video, @imsingh will teach you the search command in DQL (Dynatrace Query Language) and how to use it to search data in Grail.

---------------------------
📖 Chapters 📖

00:00 Introduction
00:55 Boolean operators
01:28 Wildcards
02:06 Searching a specific field

-----------------------------
🔗 Additional Links

Find out more about the search command
Try out Dynatrace with a free trial

-----------------------------
Subscribe to our YT channel 
Stay up-to-date with Dynatrace! Follow us on FacebookInstagramLinkedIn, TwitterTwitch  

2 REPLIES 2

vishnu_kumar
Helper

Interesting video, thanks, one query.
How does

filter contains(content, "string")

and

search content ~ "string"

differ?

DT Enthusiast

Hi Vishnu

Thanks for asking this question. 

Filter with contain does the substring match. Meaning it will find records with content such as this:

This is matchwithsubstringcontent


because it has a value where there is a mention of string

The second command won't do that. The search command does a token based matching by default. It will filter only for specific cases of string. A comma or dash seperated string will result in final record. 

For example, if the record has something like: `a string` or `this should match because-string`, it will be in the output.

search content ~ "*string*" is more close to your filter example.

Featured Posts