# Mutate function not working (Logstash 6.2.4)

**URL:** <https://discuss.elastic.co/t/mutate-function-not-working-logstash-6-2-4/129067>\
**Category:** Logstash\
**Created:** [April 23, 2018, 9:22am UTC](https://discuss.elastic.co/t/mutate-function-not-working-logstash-6-2-4/129067 "2018-04-23T09:22:19Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![alicia1](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@alicia1](https://discuss.elastic.co/u/alicia1)\
**Post date:** [April 23, 2018, 2:50pm UTC](https://discuss.elastic.co/t/mutate-function-not-working-logstash-6-2-4/129067/21 "2018-04-23T14:50:54Z")

</div>

Thank you for your reply.

I can see the data output in command line like this without the mutation function:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/e/beb3507fd9383cb048fbfbc567b65f5b79fcb74c.png)

But with mutation function, i can't see any data in command line.  
That's way i suggest that the mutation function is not working on my pc.  
Maybe a configuration issue?

@magnusbaeck Thank you, i'll add the sincedb\_path as u said.

Thx.

---

<div class="post-metadata">

**Author:** ![Jenni](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jenni/32/29684_2.png) [@Jenni](https://discuss.elastic.co/u/Jenni)\
**Post date:** [April 23, 2018, 3:22pm UTC](https://discuss.elastic.co/t/mutate-function-not-working-logstash-6-2-4/129067/22 "2018-04-23T15:22:54Z")

</div>

And there are no error messages?

---

<div class="post-metadata">

**Author:** ![alicia1](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@alicia1](https://discuss.elastic.co/u/alicia1)\
**Post date:** [April 25, 2018, 4:06pm UTC](https://discuss.elastic.co/t/mutate-function-not-working-logstash-6-2-4/129067/23 "2018-04-25T16:06:36Z")

</div>

Hi,

The problem with mutate function is resolved now.  
In fact, as suggested by @magnusbaeck, the prb was due to the "sincedb" parameter in logstash config.  
So i add the sincedb in my config (in order to delete the file generated when i modified the config), and deleted all index, indices in ES, and reloaded the file CSV,  
and this time, i can see the data sent to ES like below:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/9/b9a8136477b33db889e842b803d53604820ab404.png)

Thank very much for your help.

++

---

<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:** [May 23, 2018, 4:15pm UTC](https://discuss.elastic.co/t/mutate-function-not-working-logstash-6-2-4/129067/24 "2018-05-23T16:15:08Z")

</div>

Closed on May 23, 2018, 4:15pm UTC

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

[Previous page](https://discuss.elastic.co/t/mutate-function-not-working-logstash-6-2-4/129067.md?page=1)
