% This is generated by ESQL's DecayTests. Do not edit it. See docs/reference/query-languages/esql/README.md for how to regenerate it.

```{applies_to}
stack: preview 9.3.0
serverless: preview
```

## Syntax

:::{image} /reference/query-languages/esql/images/generated/x-pack-esql/functions/decay.svg
:alt: Embedded
:class: text-center
:::


:::{include} ../parameters/decay.md
:::

:::{include} ../description/decay.md
:::

:::{include} ../types/decay.md
:::

:::{include} ../functionNamedParams/decay.md
:::

:::{include} ../examples/decay.md
:::
