# Timestamp problem created using dissect

**URL:** <https://discuss.elastic.co/t/timestamp-problem-created-using-dissect/157782>\
**Category:** Logstash\
**Created:** [November 21, 2018, 10:06pm UTC](https://discuss.elastic.co/t/timestamp-problem-created-using-dissect/157782 "2018-11-21T22:06:51Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![RussellBateman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/russellbateman/32/34928_2.png) [@RussellBateman](https://discuss.elastic.co/u/RussellBateman)\
**Post date:** [November 28, 2018, 4:50pm UTC](https://discuss.elastic.co/t/timestamp-problem-created-using-dissect/157782/21 "2018-11-28T16:50:16Z")

</div>

I changed the first solution (we were referring to) to be:

```
mutate
{
  convert => { "acme.date" => "string" }
}

```

and it still does not convert `acme.date` from type `date` to `string` which strikes me as very odd since `mutate`/`convert` is documented as a working feature. It seems pointless to have such a feature if it doesn't work (which is my backward way of asking, rhetorically, why it does not). Clearly, the `dissect` clause is doing its job perfectly.

Note that, however unrelated and irrelevant, `remove_field` works:

```
filter
{
  dissect
  {
    mapping =>
    {
      "message" => "%{acme.date} %{acme.time} CEF:%{acme.version}|%{acme.device_vendor}|%{acme.device_product}|%{acme.device_version}|%{acme.device_event_class_id}|%{acme.name}|%{acme.severity}|%{acme.extensions}"
    }
    remove_field => ["message"]
  }
}

```

This removes the superfluous `message` field after the new, split-out fields have been created.

---

<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 26, 2018, 4:50pm UTC](https://discuss.elastic.co/t/timestamp-problem-created-using-dissect/157782/22 "2018-12-26T16:50:16Z")

</div>

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

[Previous page](https://discuss.elastic.co/t/timestamp-problem-created-using-dissect/157782.md?page=1)
