Huawei Cloud LTS Log Service Management
Overview
This skill manages Huawei Cloud LTS (Log Tank Service / 云日志服务) resources through hcloud CLI.
It covers the full lifecycle of log groups, log streams, indexes, transfer tasks, and alarm rules,
plus log search for fault diagnosis and security event response.
Capabilities:
| Category |
Operations |
| Query |
List log groups, log streams, indexes, transfers, alarm rules, alarm history; search logs (keyword, structured, context, histogram) |
| Create |
Create log groups, log streams, full-text indexes, OBS transfer tasks, keyword alarm rules, SQL alarm rules |
| Update |
Update log group TTL, log stream TTL/storage, transfer config, alarm rules, alarm status, struct config |
| Delete |
Delete log groups, log streams, transfers, alarm rules (⚠️ requires confirmation) |
| Diagnose |
Search logs by keyword/time to locate faults; query log context; view log distribution histogram |
Prerequisites
- hcloud CLI installed and authenticated — see
references/cli-installation-guide.md
- Huawei Cloud AK/SK configured via
hcloud configure (CLI profile)
- IAM permissions — see
references/iam-policies.md for least-privilege policy
- Region: LTS is region-specific. Use
--cli-region to specify the target region (e.g., cn-north-4, ap-southeast-1)
Workflow
1. Identify target log group/stream (ListLogGroups → ListLogStreams)
2. Query or manage resources based on user intent:
├── Query: list/show logs, indexes, transfers, alarms
├── Create: create log group/stream/index/transfer/alarm
├── Update: modify TTL/index/transfer/alarm config
├── Delete: remove resources (⚠️ confirmation required)
└── Diagnose: search logs with keywords/time range
3. Return results (query returns JSON; mutations return resource config snapshot)
Core Commands
Query — Log Groups & Streams
# List all log groups
hcloud LTS ListLogGroups --cli-region={region} --project_id={project_id}
# List log streams under a group
hcloud LTS ListLogStreams --cli-region={region} --project_id={project_id} \
--log_group_name={log_group_name}
# Query index configuration for a log stream
hcloud LTS ListLogStreamIndex --cli-region={region} --project_id={project_id} \
--group_id={group_id} --stream_id={stream_id}
Query — Transfer Tasks
# List all transfer tasks
hcloud LTS ListTransfers --cli-region={region} --project_id={project_id}
# Filter by transfer type (OBS/DIS/DMS)
hcloud LTS ListTransfers --cli-region={region} --project_id={project_id} \
--log_transfer_type=OBS
Query — Alarm Rules & History
# List keyword alarm rules
hcloud LTS ListKeywordsAlarmRules --cli-region={region} --project_id={project_id}
# List SQL alarm rules
hcloud LTS ListSqlAlarmRules --cli-region={region} --project_id={project_id}
# Query active or history alarms (type: active_alert/history_alert)
# --whether_custom_field=false requires --time_range (minutes); true requires --start_time/--end_time (ms)
hcloud LTS ListActiveOrHistoryAlarms --cli-region={region} --project_id={project_id} \
--domain_id={domain_id} --type=history_alert --whether_custom_field=false --time_range=30 --limit=10
Query — Log Search (Diagnose)
# Search logs by keyword and time range
hcloud LTS ListLogs --cli-region={region} --project_id={project_id} \
--log_group_id={log_group_id} --log_stream_id={log_stream_id} \
--start_time={start_time} --end_time={end_time} \
--keywords="ERROR" --limit=50 --is_desc=true --highlight=true
# Get log context around a specific line (for fault diagnosis)
hcloud LTS ListLogContext --cli-region={region} --project_id={project_id} \
--log_group_id={log_group_id} --log_stream_id={log_stream_id} \
--__time__={timestamp} --line_num={line_num} \
--backwards_size=10 --forwards_size=10
# Get log distribution histogram (for trend analysis)
hcloud LTS ListLogHistogram --cli-region={region} --project_id={project_id} \
--group_id={group_id} --stream_id={stream_id} \
--start_time={start_time} --end_time={end_time} \
--key_word="ERROR" --step_interval=3600000
# Query structured logs with SQL expression (requires the log stream to have a struct config)
# Supported SQL: GROUP BY / LIKE / WHERE
hcloud LTS ListQueryStructuredLogs --cli-region={region} --project_id={project_id} \
--log_group_id={log_group_id} --log_stream_id={log_stream_id} \
--start_time={start_time} --end_time={end_time} \
--sql_expression="select * where level like '%ERROR%'"
Create — Log Groups & Streams
# Create a log group with TTL (days)
hcloud LTS CreateLogGroup --cli-region={region} --project_id={project_id} \
--log_group_name="my-log-group" --ttl_in_days=30
# Create a log stream under a group
hcloud LTS CreateLogStream --cli-region={region} --project_id={project_id} \
--log_group_id={log_group_id} --log_stream_name="my-log-stream" --ttl_in_days=30
Create — Index
# Create full-text index for a log stream
hcloud LTS CreateLogStreamIndex --cli-region={region} --project_id={project_id} \
--group_id={group_id} --stream_id={stream_id} --logStreamId={stream_id} \
--fullTextIndex.enable=true --fullTextIndex.caseSensitive=false \
--fullTextIndex.includeChinese=true --fullTextIndex.tokenizer=" "
Create — Transfer Task (to OBS)
# Create a transfer task to OBS bucket
hcloud LTS CreateTransfer --cli-region={region} --project_id={project_id} \
--log_group_id={log_group_id} \
--log_streams.1.log_stream_id={stream_id} --log_streams.1.log_stream_name={stream_name} \
--log_transfer_info.log_transfer_type=OBS \
--log_transfer_info.log_transfer_mode=cycle \
--log_transfer_info.log_storage_format=RAW \
--log_transfer_info.log_transfer_status=ENABLE \
--log_transfer_info.log_transfer_detail.obs_bucket_name={bucket_name} \
--log_transfer_info.log_transfer_detail.obs_period=5 \
--log_transfer_info.log_transfer_detail.obs_period_unit=min
Create — Alarm Rules
# Create a keyword alarm rule
hcloud LTS CreateKeywordsAlarmRule --cli-region={region} --project_id={project_id} \
--domain_id={domain_id} \
--keywords_alarm_rule_name="error-alarm" \
--keywords_alarm_level=Critical \
--keywords_requests.1.log_group_id={group_id} \
--keywords_requests.1.log_stream_id={stream_id} \
--keywords_requests.1.keywords="ERROR" \
--keywords_requests.1.condition=">=" --keywords_requests.1.number=1 \
--keywords_requests.1.search_time_range=5 --keywords_requests.1.search_time_range_unit=minute \
--frequency.type=CRON --frequency.cron_expr="0 */5 * * * *" --notification_frequency=5
# Create a SQL alarm rule (requires sql_requests.[N].search_time_range)
hcloud LTS CreateSqlAlarmRule --cli-region={region} --project_id={project_id} \
--domain_id={domain_id} \
--sql_alarm_rule_name="sql-error-alarm" \
--sql_alarm_level=Major \
--sql_requests.1.log_group_id={group_id} \
--sql_requests.1.log_stream_id={stream_id} \
--sql_requests.1.sql="select count(*) where level='ERROR'" \
--sql_requests.1.search_time_range=5 --sql_requests.1.search_time_range_unit=minute \
--condition_expression=">=1" \
--frequency.type=CRON --frequency.cron_expr="0 */5 * * * *" --notification_frequency=5
Update — TTL & Config
# Update log group TTL (save duration)
hcloud LTS UpdateLogGroup --cli-region={region} --project_id={project_id} \
--log_group_id={log_group_id} --ttl_in_days=60
# Update log stream TTL and storage
hcloud LTS UpdateLogStream --cli-region={region} --project_id={project_id} \
--log_group_id={log_group_id} --log_stream_id={log_stream_id} \
--ttl_in_days=60 --whether_log_storage=true
# Update transfer task config
hcloud LTS UpdateTransfer --cli-region={region} --project_id={project_id} \
--log_transfer_id={transfer_id} \
--log_transfer_info.log_storage_format=RAW \
--log_transfer_info.log_transfer_status=ENABLE \
--log_transfer_info.log_transfer_detail.obs_bucket_name={bucket_name} \
--log_transfer_info.log_transfer_detail.obs_period=5 \
--log_transfer_info.log_transfer_detail.obs_period_unit=min
# Enable/disable an alarm rule (status: RUNNING/STOPPING; type: keywords/sql)
hcloud LTS UpdateAlarmRuleStatus --cli-region={region} --project_id={project_id} \
--alarm_rule_id={alarm_rule_id} --status=STOPPING --type=keywords
Delete — ⚠️ Requires Confirmation
CRITICAL: All Delete operations require explicit user confirmation before execution.
Batch deletion of all LTS resources is prohibited. Each delete must specify a single resource ID.
# Delete a log group (⚠️ cascades all log streams under it)
hcloud LTS DeleteLogGroup --cli-region={region} --project_id={project_id} \
--log_group_id={log_group_id}
# Delete a log stream
hcloud LTS DeleteLogStream --cli-region={region} --project_id={project_id} \
--log_group_id={log_group_id} --log_stream_id={log_stream_id}
# Delete a transfer task
hcloud LTS DeleteTransfer --cli-region={region} --project_id={project_id} \
--log_transfer_id={transfer_id}
# Delete a keyword alarm rule
hcloud LTS DeleteKeywordsAlarmRule --cli-region={region} --project_id={project_id} \
--keywords_alarm_rule_id={alarm_rule_id}
# Delete a SQL alarm rule
hcloud LTS DeleteSqlAlarmRule --cli-region={region} --project_id={project_id} \
--sql_alarm_rule_id={alarm_rule_id}
Parameter Confirmation
| Parameter |
Required |
Description |
Example |
--cli-region |
Yes |
Target region |
{your-region} |
--project_id |
Yes |
Project ID |
Obtained from IAM console |
--log_group_id |
For stream/index/transfer ops |
Log group ID |
xxx-xxx-xxx |
--log_stream_id |
For index/log search ops |
Log stream ID |
xxx-xxx-xxx |
--ttl_in_days |
For create/update group/stream |
Log retention in days |
30, 60, 365 |
--keywords |
For log search |
Search keywords |
"ERROR", "Exception" |
--start_time / --end_time |
For log search |
Time range (ms) |
1700000000000 |
--log_transfer_type |
For transfer filter |
Transfer type |
OBS, DIS, DMS |
Delete Safety Rules
- Single resource deletion only — each Delete call must specify exactly one resource ID
- No wildcard/batch delete —
DeleteLogGroup deletes all streams under the group; always confirm the cascade impact
- User must explicitly confirm — reply "确认" / "confirm" / "ok" before any Delete execution
- Prohibited: deleting all log groups or all alarm rules in a single session without individual confirmation
Reference Documents
- IAM Policies — Least-privilege IAM policy for LTS
- CLI Installation Guide — hcloud CLI setup
- Verification Method — How to verify the skill
- Data Flow Diagram — Data flow through the skill
- Acceptance Criteria — Acceptance criteria
- LTS Alarm Reference — Alarm rule configuration reference
KooCLI Command Format Standard
hcloud LTS ListLogGroups --cli-region={your-region} [--key=value ...]
| Feature |
Description |
Example |
| Service name |
LTS (uppercase) |
hcloud LTS ListLogGroups |
| Operation name |
PascalCase |
ListLogGroups, CreateTransfer, DeleteLogStream |
| Region parameter |
--cli-region=<value> |
--cli-region={your-region} |
| Simple parameter |
--key=value |
--log_group_name=my-group |
| Indexed parameter |
--key.1=value |
--keywords_requests.1.keywords=ERROR |
1---
2name: huawei-cloud-lts-manage
3description: >
4 Huawei Cloud LTS (Log Tank Service) full lifecycle management via hcloud CLI.
5 Covers log groups, log streams, indexes, transfer tasks, keyword/SQL alarm rules,
6 and log search. Supports Query (list/show logs, alarms, transfers, indexes),
7 Create (log groups/streams, indexes, transfers, alarms), Update (TTL, index,
8 transfer, alarm config), Delete (log resources, alarm rules), and Diagnose
9 (search logs to locate faults). Delete operations require explicit user confirmation;
10 batch deletion of all LTS resources is prohibited.
11 Triggers include: LTS, 云日志服务, log group, log stream, 日志组, 日志流, 日志检索,
12 日志转储, 日志告警, 索引配置, log transfer, log alarm, log index, 日志运维,
13 故障排查, log search, structured log, SQL alarm, keyword alarm.
14tags: [huawei-cloud lts log management query create update delete]
15---
16
17# Huawei Cloud LTS Log Service Management
18
19## Overview
20
21This skill manages Huawei Cloud LTS (Log Tank Service / 云日志服务) resources through hcloud CLI.
22It covers the full lifecycle of log groups, log streams, indexes, transfer tasks, and alarm rules,
23plus log search for fault diagnosis and security event response.
24
25**Capabilities:**
26
27| Category | Operations |
28|----------|-----------|
29| **Query** | List log groups, log streams, indexes, transfers, alarm rules, alarm history; search logs (keyword, structured, context, histogram) |
30| **Create** | Create log groups, log streams, full-text indexes, OBS transfer tasks, keyword alarm rules, SQL alarm rules |
31| **Update** | Update log group TTL, log stream TTL/storage, transfer config, alarm rules, alarm status, struct config |
32| **Delete** | Delete log groups, log streams, transfers, alarm rules (⚠️ requires confirmation) |
33| **Diagnose** | Search logs by keyword/time to locate faults; query log context; view log distribution histogram |
34
35## Prerequisites
36
371. **hcloud CLI** installed and authenticated — see `references/cli-installation-guide.md`
382. **Huawei Cloud AK/SK** configured via `hcloud configure` (CLI profile)
393. **IAM permissions** — see `references/iam-policies.md` for least-privilege policy
404. **Region**: LTS is region-specific. Use `--cli-region` to specify the target region (e.g., `cn-north-4`, `ap-southeast-1`)
41
42## Workflow
43
44```
451. Identify target log group/stream (ListLogGroups → ListLogStreams)
462. Query or manage resources based on user intent:
47 ├── Query: list/show logs, indexes, transfers, alarms
48 ├── Create: create log group/stream/index/transfer/alarm
49 ├── Update: modify TTL/index/transfer/alarm config
50 ├── Delete: remove resources (⚠️ confirmation required)
51 └── Diagnose: search logs with keywords/time range
523. Return results (query returns JSON; mutations return resource config snapshot)
53```
54
55## Core Commands
56
57### Query — Log Groups & Streams
58
59```bash
60# List all log groups
61hcloud LTS ListLogGroups --cli-region={region} --project_id={project_id}
62
63# List log streams under a group
64hcloud LTS ListLogStreams --cli-region={region} --project_id={project_id} \
65 --log_group_name={log_group_name}
66
67# Query index configuration for a log stream
68hcloud LTS ListLogStreamIndex --cli-region={region} --project_id={project_id} \
69 --group_id={group_id} --stream_id={stream_id}
70```
71
72### Query — Transfer Tasks
73
74```bash
75# List all transfer tasks
76hcloud LTS ListTransfers --cli-region={region} --project_id={project_id}
77
78# Filter by transfer type (OBS/DIS/DMS)
79hcloud LTS ListTransfers --cli-region={region} --project_id={project_id} \
80 --log_transfer_type=OBS
81```
82
83### Query — Alarm Rules & History
84
85```bash
86# List keyword alarm rules
87hcloud LTS ListKeywordsAlarmRules --cli-region={region} --project_id={project_id}
88
89# List SQL alarm rules
90hcloud LTS ListSqlAlarmRules --cli-region={region} --project_id={project_id}
91
92# Query active or history alarms (type: active_alert/history_alert)
93# --whether_custom_field=false requires --time_range (minutes); true requires --start_time/--end_time (ms)
94hcloud LTS ListActiveOrHistoryAlarms --cli-region={region} --project_id={project_id} \
95 --domain_id={domain_id} --type=history_alert --whether_custom_field=false --time_range=30 --limit=10
96```
97
98### Query — Log Search (Diagnose)
99
100```bash
101# Search logs by keyword and time range
102hcloud LTS ListLogs --cli-region={region} --project_id={project_id} \
103 --log_group_id={log_group_id} --log_stream_id={log_stream_id} \
104 --start_time={start_time} --end_time={end_time} \
105 --keywords="ERROR" --limit=50 --is_desc=true --highlight=true
106
107# Get log context around a specific line (for fault diagnosis)
108hcloud LTS ListLogContext --cli-region={region} --project_id={project_id} \
109 --log_group_id={log_group_id} --log_stream_id={log_stream_id} \
110 --__time__={timestamp} --line_num={line_num} \
111 --backwards_size=10 --forwards_size=10
112
113# Get log distribution histogram (for trend analysis)
114hcloud LTS ListLogHistogram --cli-region={region} --project_id={project_id} \
115 --group_id={group_id} --stream_id={stream_id} \
116 --start_time={start_time} --end_time={end_time} \
117 --key_word="ERROR" --step_interval=3600000
118
119# Query structured logs with SQL expression (requires the log stream to have a struct config)
120# Supported SQL: GROUP BY / LIKE / WHERE
121hcloud LTS ListQueryStructuredLogs --cli-region={region} --project_id={project_id} \
122 --log_group_id={log_group_id} --log_stream_id={log_stream_id} \
123 --start_time={start_time} --end_time={end_time} \
124 --sql_expression="select * where level like '%ERROR%'"
125```
126
127### Create — Log Groups & Streams
128
129```bash
130# Create a log group with TTL (days)
131hcloud LTS CreateLogGroup --cli-region={region} --project_id={project_id} \
132 --log_group_name="my-log-group" --ttl_in_days=30
133
134# Create a log stream under a group
135hcloud LTS CreateLogStream --cli-region={region} --project_id={project_id} \
136 --log_group_id={log_group_id} --log_stream_name="my-log-stream" --ttl_in_days=30
137```
138
139### Create — Index
140
141```bash
142# Create full-text index for a log stream
143hcloud LTS CreateLogStreamIndex --cli-region={region} --project_id={project_id} \
144 --group_id={group_id} --stream_id={stream_id} --logStreamId={stream_id} \
145 --fullTextIndex.enable=true --fullTextIndex.caseSensitive=false \
146 --fullTextIndex.includeChinese=true --fullTextIndex.tokenizer=" "
147```
148
149### Create — Transfer Task (to OBS)
150
151```bash
152# Create a transfer task to OBS bucket
153hcloud LTS CreateTransfer --cli-region={region} --project_id={project_id} \
154 --log_group_id={log_group_id} \
155 --log_streams.1.log_stream_id={stream_id} --log_streams.1.log_stream_name={stream_name} \
156 --log_transfer_info.log_transfer_type=OBS \
157 --log_transfer_info.log_transfer_mode=cycle \
158 --log_transfer_info.log_storage_format=RAW \
159 --log_transfer_info.log_transfer_status=ENABLE \
160 --log_transfer_info.log_transfer_detail.obs_bucket_name={bucket_name} \
161 --log_transfer_info.log_transfer_detail.obs_period=5 \
162 --log_transfer_info.log_transfer_detail.obs_period_unit=min
163```
164
165### Create — Alarm Rules
166
167```bash
168# Create a keyword alarm rule
169hcloud LTS CreateKeywordsAlarmRule --cli-region={region} --project_id={project_id} \
170 --domain_id={domain_id} \
171 --keywords_alarm_rule_name="error-alarm" \
172 --keywords_alarm_level=Critical \
173 --keywords_requests.1.log_group_id={group_id} \
174 --keywords_requests.1.log_stream_id={stream_id} \
175 --keywords_requests.1.keywords="ERROR" \
176 --keywords_requests.1.condition=">=" --keywords_requests.1.number=1 \
177 --keywords_requests.1.search_time_range=5 --keywords_requests.1.search_time_range_unit=minute \
178 --frequency.type=CRON --frequency.cron_expr="0 */5 * * * *" --notification_frequency=5
179
180# Create a SQL alarm rule (requires sql_requests.[N].search_time_range)
181hcloud LTS CreateSqlAlarmRule --cli-region={region} --project_id={project_id} \
182 --domain_id={domain_id} \
183 --sql_alarm_rule_name="sql-error-alarm" \
184 --sql_alarm_level=Major \
185 --sql_requests.1.log_group_id={group_id} \
186 --sql_requests.1.log_stream_id={stream_id} \
187 --sql_requests.1.sql="select count(*) where level='ERROR'" \
188 --sql_requests.1.search_time_range=5 --sql_requests.1.search_time_range_unit=minute \
189 --condition_expression=">=1" \
190 --frequency.type=CRON --frequency.cron_expr="0 */5 * * * *" --notification_frequency=5
191```
192
193### Update — TTL & Config
194
195```bash
196# Update log group TTL (save duration)
197hcloud LTS UpdateLogGroup --cli-region={region} --project_id={project_id} \
198 --log_group_id={log_group_id} --ttl_in_days=60
199
200# Update log stream TTL and storage
201hcloud LTS UpdateLogStream --cli-region={region} --project_id={project_id} \
202 --log_group_id={log_group_id} --log_stream_id={log_stream_id} \
203 --ttl_in_days=60 --whether_log_storage=true
204
205# Update transfer task config
206hcloud LTS UpdateTransfer --cli-region={region} --project_id={project_id} \
207 --log_transfer_id={transfer_id} \
208 --log_transfer_info.log_storage_format=RAW \
209 --log_transfer_info.log_transfer_status=ENABLE \
210 --log_transfer_info.log_transfer_detail.obs_bucket_name={bucket_name} \
211 --log_transfer_info.log_transfer_detail.obs_period=5 \
212 --log_transfer_info.log_transfer_detail.obs_period_unit=min
213
214# Enable/disable an alarm rule (status: RUNNING/STOPPING; type: keywords/sql)
215hcloud LTS UpdateAlarmRuleStatus --cli-region={region} --project_id={project_id} \
216 --alarm_rule_id={alarm_rule_id} --status=STOPPING --type=keywords
217```
218
219### Delete — ⚠️ Requires Confirmation
220
221> **CRITICAL**: All Delete operations require explicit user confirmation before execution.
222> Batch deletion of all LTS resources is **prohibited**. Each delete must specify a single resource ID.
223
224```bash
225# Delete a log group (⚠️ cascades all log streams under it)
226hcloud LTS DeleteLogGroup --cli-region={region} --project_id={project_id} \
227 --log_group_id={log_group_id}
228
229# Delete a log stream
230hcloud LTS DeleteLogStream --cli-region={region} --project_id={project_id} \
231 --log_group_id={log_group_id} --log_stream_id={log_stream_id}
232
233# Delete a transfer task
234hcloud LTS DeleteTransfer --cli-region={region} --project_id={project_id} \
235 --log_transfer_id={transfer_id}
236
237# Delete a keyword alarm rule
238hcloud LTS DeleteKeywordsAlarmRule --cli-region={region} --project_id={project_id} \
239 --keywords_alarm_rule_id={alarm_rule_id}
240
241# Delete a SQL alarm rule
242hcloud LTS DeleteSqlAlarmRule --cli-region={region} --project_id={project_id} \
243 --sql_alarm_rule_id={alarm_rule_id}
244```
245
246## Parameter Confirmation
247
248| Parameter | Required | Description | Example |
249|-----------|----------|-------------|---------|
250| `--cli-region` | Yes | Target region | `{your-region}` |
251| `--project_id` | Yes | Project ID | Obtained from IAM console |
252| `--log_group_id` | For stream/index/transfer ops | Log group ID | `xxx-xxx-xxx` |
253| `--log_stream_id` | For index/log search ops | Log stream ID | `xxx-xxx-xxx` |
254| `--ttl_in_days` | For create/update group/stream | Log retention in days | `30`, `60`, `365` |
255| `--keywords` | For log search | Search keywords | `"ERROR"`, `"Exception"` |
256| `--start_time` / `--end_time` | For log search | Time range (ms) | `1700000000000` |
257| `--log_transfer_type` | For transfer filter | Transfer type | `OBS`, `DIS`, `DMS` |
258
259### Delete Safety Rules
260
2611. **Single resource deletion only** — each Delete call must specify exactly one resource ID
2622. **No wildcard/batch delete** — `DeleteLogGroup` deletes all streams under the group; always confirm the cascade impact
2633. **User must explicitly confirm** — reply "确认" / "confirm" / "ok" before any Delete execution
2644. **Prohibited**: deleting all log groups or all alarm rules in a single session without individual confirmation
265
266## Reference Documents
267
268- [IAM Policies](references/iam-policies.md) — Least-privilege IAM policy for LTS
269- [CLI Installation Guide](references/cli-installation-guide.md) — hcloud CLI setup
270- [Verification Method](references/verification-method.md) — How to verify the skill
271- [Data Flow Diagram](references/dataflow-diagram.md) — Data flow through the skill
272- [Acceptance Criteria](references/acceptance-criteria.md) — Acceptance criteria
273- [LTS Alarm Reference](references/lts-alarm-reference.md) — Alarm rule configuration reference
274
275## KooCLI Command Format Standard
276
277```bash
278hcloud LTS ListLogGroups --cli-region={your-region} [--key=value ...]
279```
280
281| Feature | Description | Example |
282|---------|-------------|---------|
283| Service name | `LTS` (uppercase) | `hcloud LTS ListLogGroups` |
284| Operation name | PascalCase | `ListLogGroups`, `CreateTransfer`, `DeleteLogStream` |
285| Region parameter | `--cli-region=<value>` | `--cli-region={your-region}` |
286| Simple parameter | `--key=value` | `--log_group_name=my-group` |
287| Indexed parameter | `--key.1=value` | `--keywords_requests.1.keywords=ERROR` |