# Filebeat timestamp not working

**URL:** https://discuss.elastic.co/t/filebeat-timestamp-not-working/339827
**Category:** Elasticsearch
**Created:** [August 1, 2023, 4:00pm UTC](https://discuss.elastic.co/t/filebeat-timestamp-not-working/339827 "2023-08-01T16:00:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![McJava1967](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@McJava1967](https://discuss.elastic.co/u/McJava1967)
#### Post date: [August 1, 2023, 4:00pm UTC](https://discuss.elastic.co/t/filebeat-timestamp-not-working/339827/1 "2023-08-01T16:00:48Z")

</div>

Hi all. I'm trying to tell Filebeat to use my timestamp, rather than creating one. I'm getting this error:

"error": "failed parsing time field \_app.ACTUAL\_TIME='2023-08-01T11:49:09.386Z'", "errorCauses": [{"error": "failed using layout [2023-08-01T11:23:28.710Z] cannot parse [-08-01T11:49:09.386Z] as [3]"}]}

Could anybody help?

This is my filebeat.yml fragment:

```auto
processors:
  - timestamp:
      field: _app.ACTUAL_TIME
      layouts:
        - '2023-08-01T11:49:09.323Z'

```

The layout is copied direct from the value of \_app.ACTUAL\_TIME.

Thanks!

---

<div class="post-metadata">

### Author: ![McJava1967](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@McJava1967](https://discuss.elastic.co/u/McJava1967)
#### Post date: [August 1, 2023, 6:05pm UTC](https://discuss.elastic.co/t/filebeat-timestamp-not-working/339827/2 "2023-08-01T18:05:53Z")

</div>

I'll answer my own question in case anybody's ever reading this.

🙂

Apparently, the layout MUST be for this EXACT 2006 date, adjusted for your format:

- timestamp:  
field: \_app.ACTUAL\_TIME  
layouts:  
- '2006-01-02T15:04:05.000Z'  
test:  
- '2023-08-01T11:49:09.323Z'

Don't know why. Must be somebody's birthday.

---

<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: [August 29, 2023, 6:06pm UTC](https://discuss.elastic.co/t/filebeat-timestamp-not-working/339827/3 "2023-08-29T18:06:36Z")

</div>

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