View a markdown version of this page

filldown - Amazon CloudWatch Logs
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

filldown

Use the filldown command to carry the last non-null value forward to fill gaps. You can specify field names or use wildcards. If you do not specify fields, all fields are filled.

Syntax

| filldown [field1 [field2 ...]]

The command uses the following arguments:

  • field (Optional) – One or more field names or wildcard patterns. If omitted, all fields are filled.

Example

The following query carries forward non-null values in the host field and all fields matching cpu*.

fields @timestamp, host, cpu_user, cpu_system | filldown host cpu*