# Copy value of @timestamp to another field

**URL:** https://discuss.elastic.co/t/copy-value-of-timestamp-to-another-field/284634
**Category:** Beats
**Tags:** filebeat
**Created:** [September 20, 2021, 3:16pm UTC](https://discuss.elastic.co/t/copy-value-of-timestamp-to-another-field/284634 "2021-09-20T15:16:11Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![e\_willemsen](https://avatars.discourse-cdn.com/v4/letter/e/c4cdca/32.png) [@e\_willemsen](https://discuss.elastic.co/u/e_willemsen)
#### Post date: [September 22, 2021, 9:26am UTC](https://discuss.elastic.co/t/copy-value-of-timestamp-to-another-field/284634/5 "2021-09-22T09:26:03Z")

</div>

Maybe this will help:

> [@Copy \`@timestamp\` in Logstash](https://discuss.elastic.co/t/copy-timestamp-in-logstash/139430):
>
> I would like to preserve the @timestamp field prior to overwriting it from a date filter, so that I can know when a document was processed by logstash. I also tried using the copy filter, but that fails silently. mutate { copy =\> { "%{@timestamp}" =\> "logstash\_intake\_timestamp" } } I tried this, but it also caused exceptions (I don't have the stack trace right now, but I could get it if it would help the investigation). mutate { copy =\> { "@timestamp" =\> "logstash\_intake\_ti…

---

_[View the full topic](https://discuss.elastic.co/t/copy-value-of-timestamp-to-another-field/284634)._
