The ALIYUN::SLS::Savedsearch resource type is used to save a query as a saved search.
Syntax
{
"Type": "ALIYUN::SLS::Savedsearch",
"Properties": {
"Project": String,
"Detail": Map
}
}Properties
Property name | Type | Required | Updates allowed | Description | Constraints |
Project | String | Yes | No | The name of the project. | None |
Detail | Map | Yes | Yes | The details of the query. | For more information, see Detail properties. |
Detail syntax
"Detail": {
"SearchQuery": String,
"Logstore": String,
"DisplayName": String,
"SavedsearchName": String,
"Topic": String
}Detail properties
Property name | Type | Required | Updates allowed | Description | Constraints |
SearchQuery | String | Yes | Yes | The query statement. | None |
Logstore | String | Yes | Yes | The Logstore. | None |
DisplayName | String | No | Yes | The display name of the saved search. | The name must be 1 to 63 characters in length. |
SavedsearchName | String | Yes | No | The name of the saved search. | None |
Topic | String | Yes | Yes | The topic of the log. | None |
Return values
Fn::GetAtt
SavedsearchName: The name of the saved search.