All Products
Search
Document Center

Simple Log Service:How to search for keywords that contain spaces in logs?

Last Updated:Mar 27, 2023

This article describes how to search for keywords that contain spaces in logs.

When you search for a keyword that contains a space, you can directly search for the keyword in the filter box. We recommend that you enclose the keyword that contains a space in double quotation marks ("") so that the content in the quotation marks is regarded as a keyword to be searched. Search results, the keyword is the expected content. For example, when you search for POS version, all the logs that contain POS or version are returned, which do not meet your requirements. If you search with double quotation marks ("POS version"), you obtain all log entries that contain the keyword POS version.

Important

If you use characters such as spaces as delimiters, you cannot use double quotation marks ("") to search for keywords that contain characters such as spaces.