transformations.md 1.03 KB
Newer Older
1
2
3
4
5
6
7
8
---
title: Transformations
html_title: Creating Transformations and Calculations for Signals Alerting
slug: elasticsearch-alerting-transformations-calculations
category: signals
subcategory: transformations
order: 500
layout: docs
9
edition: beta
10
canonical: elasticsearch-alerting-transformations-calculations-overview
11
12
13
14
15
description: 
---

<!--- Copyright 2019 floragunn GmbH -->

16
# Transformations and Calculations
17
18
{: .no_toc}

19
20
21
22
23
24
25
26
27
In many cases, you will want to run transformations and calculations on the raw data pulled in by [inputs](inputs.md).

For example, you may want to calculate an average value over some fields, or clean up data before [storing it back to Elasticsearch](actions_index.md).

You can use painless scripts to either

* transform your data in any execution context
* calculate values and store them in a new execution context

Jochen Kressin's avatar
Jochen Kressin committed
28
Both transformations and calculations are implemented as inline or stored painless scripts that operate on the execution runtime data. You can use the full power of painless to massage the data any way you want.