CloudWatch log groups
Every CloudWatch Log Group with retention setting, stored bytes and last-event time.
How often it refreshes
Cached data is served within the window your plan guarantees. Faster refresh is one of the things a higher plan buys.
| Explorer | Builder | Team |
|---|---|---|
| 20 min | 5 min | 3 min |
Linking to LightPane
Once you connect one or more cloud accounts in LightPane you can create
access keys, which are what allow panes to read those
accounts. A key is a text string: the prefix lp_ak_ followed
by 43 characters drawn from A–Z a–z 0–9 - _
(URL-safe base64 of 32 random bytes), so 49 characters in all.
Each cloud account you connect is also given an account
handle — a short name such as zesty-ridge, minted
by LightPane when you link the account and never changed afterwards. It
lets a pane reference the same account for good, without putting a cloud
account ID in your page. Use the handle, not the account's editable
alias: renaming an alias makes a pane match nothing, and that failure is
silent — the pane shows an ordinary empty state, not an error.
More on naming accounts.
When adding the code below into your web page, replace
lp_ak_YOUR_ACCESS_KEY and YOUR_ACCOUNT_HANDLE
with your own access key and account handle.
- No key? Paste this exactly as it is. With the placeholder still in, the pane renders clearly-marked mock data, so you can place and style it before you connect anything. (A key that is present but rejected shows an error instead — a live dashboard must never quietly fall back to sample numbers.)
- No handle? The pane falls back to the access key's default account. That works, but the default moves if the key's grants change — naming a handle is what guarantees the same account every time.
Choosing columns
data-lp-attributes takes a comma-separated list of attribute
IDs. It sets both which attributes become columns and the
order they appear in. Leave it off and the pane renders
its default set — the attributes marked Default below.
The first six attributes stay in the row. Any beyond six fold into the row's expandable drawer, as do columns that will not fit the width the host page gives the pane. The first column is never folded away, so lead with the attribute you most want read at a glance. How panes resize has the measured widths at which each column drops.
Tags — position changes the behaviour
Auditing how tags are applied, and simply having
them to hand, are different jobs — so tags is
treated differently depending on where you put it in the list.
Where you put tags |
What the pane does |
|---|---|
| First in the list | It leaves the columns entirely and every row opens expanded, so each resource’s tags are visible without a click. |
| Anywhere else | It shows as a count — (2 Tags) — and
the chips sit inside the drawer, closed until the row is
expanded. |
| Left out — the default | They do not appear at all: no column, no drawer section. No pane carries tags in its default set. |
Put it first when the page is about tags — auditing coverage before a cost-allocation report, finding the resources that have none, checking a required key is applied across an estate. Leave it later in the list, or off, when tags are reference detail and you want the rows to stay scannable.
<div data-lp-service="cloudwatch_log_groups"
data-lp-account="YOUR_ACCOUNT_HANDLE"
data-lp-attributes="tags,name,stored_bytes,retention_days,kms_key_id"></div>
Attributes available
Each of these can be named in data-lp-attributes. Copy the
value — that is the attribute ID the pane matches on.
Default columns
What the pane renders when data-lp-attributes is absent,
in this order.
| Name | Value | Type |
|---|---|---|
| Log group name | name |
text |
| Stored bytes | stored_bytes |
text |
| Retention (days) | retention_days |
text |
| KMS key | kms_key_id |
text |
| Data protection | data_protection |
text |
| Created | created |
datetime_ms |
| Tags | tags |
tags_table Drawer only |
Additional attributes
Not rendered unless you ask for them. Naming any attribute at all replaces the default set entirely, so list every column you want — including the defaults you want to keep.
| Name | Value | Type |
|---|---|---|
| ARN | log_group_arn |
arn_name |