# Track changes in Logstash

**URL:** https://discuss.elastic.co/t/track-changes-in-logstash/347452
**Category:** Logstash
**Created:** [November 18, 2023, 6:18pm UTC](https://discuss.elastic.co/t/track-changes-in-logstash/347452 "2023-11-18T18:18:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Felicien\_Ihirwe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felicien_ihirwe/32/127227_2.png) [@Felicien\_Ihirwe](https://discuss.elastic.co/u/Felicien_Ihirwe)
#### Post date: [November 18, 2023, 6:18pm UTC](https://discuss.elastic.co/t/track-changes-in-logstash/347452/1 "2023-11-18T18:18:09Z")

</div>

How to come from data in 1 to data in 2? Note that the col1 is continuous.  
col1  
2.3  
2.3  
2.3  
5.7  
5.7  
6.1  
6.1  
....  
..  
.

I want to achieve this:  
col1 | col2  
2.3 | 1  
2.3 |1  
2.3 |1  
5.7 |2  
5.7 |2  
6.1 |3  
6.1 |3  
....  
..  
.

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [November 20, 2023, 12:05pm UTC](https://discuss.elastic.co/t/track-changes-in-logstash/347452/2 "2023-11-20T12:05:14Z")

</div>

Hi @Felicien_Ihirwe,

Can you give a bit more detail on what transform based on `col1` that you're trying to do. Are you wanting to add a new field `col2` that is an identifier of the value?

---

<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: [December 18, 2023, 12:05pm UTC](https://discuss.elastic.co/t/track-changes-in-logstash/347452/3 "2023-12-18T12:05:22Z")

</div>

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