Ash8087
Ash8087

Reputation: 701

Embedded space in DataDog search string

Does anyone know how to search a facet in DataDog using a string with a space. For example:

@MessageTemplate:*test appointment*

This does not work.

Thanks in advance!

Upvotes: 7

Views: 4112

Answers (3)

loomchild
loomchild

Reputation: 778

You can escape spaces with \, e.g.:

@MessageTemplate:test\ appointment

See syntax docs.

Upvotes: 0

SnwBr
SnwBr

Reputation: 327

You can also use double quotes when searching if it doesn't contain wildcards:

@MessageTemplate:"test appointment"

Another possibility is to do a free search instead (without specifying the attribute, just typing the string) with double quotes:

"test appointment"

Upvotes: 1

draav
draav

Reputation: 1943

You can use a single wildcard escape character to capture the space: @MessageTemplate:*test?appointment*

Upvotes: 9

Related Questions