# Comparing the values of two fields

**URL:** https://discuss.elastic.co/t/comparing-the-values-of-two-fields/312280
**Category:** Beats
**Tags:** filebeat, auditbeat
**Created:** [August 17, 2022, 12:10pm UTC](https://discuss.elastic.co/t/comparing-the-values-of-two-fields/312280 "2022-08-17T12:10:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Lukas\_Hubl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_hubl/32/100118_2.png) [@Lukas\_Hubl](https://discuss.elastic.co/u/Lukas_Hubl)
#### Post date: [August 17, 2022, 12:10pm UTC](https://discuss.elastic.co/t/comparing-the-values-of-two-fields/312280/1 "2022-08-17T12:10:05Z")

</div>

Hello,  
I am setting up the auditbeat processor, and I am trying to figure out comparison of two fields based on theirs values and use it in condition for processor, like:  
equals.field1.inner\_field: field2.inner\_field

Is there a way how to do that, and what is the syntax?

Lukas

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 14, 2022, 2:10pm UTC](https://discuss.elastic.co/t/comparing-the-values-of-two-fields/312280/2 "2022-09-14T14:10:26Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
