# Math filter plugin

**URL:** https://discuss.elastic.co/t/math-filter-plugin/366676
**Category:** Logstash
**Created:** [September 17, 2024, 12:59pm UTC](https://discuss.elastic.co/t/math-filter-plugin/366676 "2024-09-17T12:59:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Pavlo\_Pylypiv](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pavlo_pylypiv/32/131073_2.png) [@Pavlo\_Pylypiv](https://discuss.elastic.co/u/Pavlo_Pylypiv)
#### Post date: [September 17, 2024, 12:59pm UTC](https://discuss.elastic.co/t/math-filter-plugin/366676/1 "2024-09-17T12:59:54Z")

</div>

Hello! I was searching for ability to perform arithmetic operations in logstash, found old topic about it - [Arithmetic Operations in logstash](https://discuss.elastic.co/t/arithmetic-operations-in-logstash/177183) - where where the math plugin was mentioned, but I haven't found any documentation about it. Could you please provide me an example how can I add two fields using that plugin?

Thank you in advance,  
Pavlo

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [September 17, 2024, 1:38pm UTC](https://discuss.elastic.co/t/math-filter-plugin/366676/2 "2024-09-17T13:38:29Z")

</div>

Hello,

This filter is a third-party filter that seems to not be maintained anymore, I don't think it even install in newer versions.

You will need to use a ruby filter as mentioned in the same topic you linked.
