# Can you use copy\_fields processor for @timestamp in winlogbeat

**URL:** https://discuss.elastic.co/t/can-you-use-copy-fields-processor-for-timestamp-in-winlogbeat/239501
**Category:** Beats
**Created:** [July 1, 2020, 2:12pm UTC](https://discuss.elastic.co/t/can-you-use-copy-fields-processor-for-timestamp-in-winlogbeat/239501 "2020-07-01T14:12:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jasonespo](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Jasonespo](https://discuss.elastic.co/u/Jasonespo)
#### Post date: [July 1, 2020, 2:12pm UTC](https://discuss.elastic.co/t/can-you-use-copy-fields-processor-for-timestamp-in-winlogbeat/239501/1 "2020-07-01T14:12:49Z")

</div>

Hi guys,

Does anyone know if there is a way to copy the @timestamp value from winlogbeat json to a separate field (for troubleshooting purposes) using winlogbeat.yml file?

I'm trying to use the copy fields processor:

```
  - copy_fields:
      fields:
        - from: @timestamp
          to: original_event_timestamp

```

But I just get: Failed to copy fields in copy\_fields processor: could not fetch value for key: @timestamp, Error: key not found

---

<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: [July 29, 2020, 4:23pm UTC](https://discuss.elastic.co/t/can-you-use-copy-fields-processor-for-timestamp-in-winlogbeat/239501/2 "2020-07-29T16:23:03Z")

</div>

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