# Elastic Agent not matching @timestamp

**URL:** <https://discuss.elastic.co/t/elastic-agent-not-matching-timestamp/345334>\
**Category:** Elastic Agent\
**Created:** [October 18, 2023, 9:19pm UTC](https://discuss.elastic.co/t/elastic-agent-not-matching-timestamp/345334 "2023-10-18T21:19:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cara410](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@Cara410](https://discuss.elastic.co/u/Cara410)\
**Post date:** [October 18, 2023, 9:19pm UTC](https://discuss.elastic.co/t/elastic-agent-not-matching-timestamp/345334/1 "2023-10-18T21:19:28Z")

</div>

Hello,  
I migrated to Elastic Agent from Filebeat and I am having trouble getting the log timestamp to match the @timestamp. My configuration goes from Elastic Agent -\> Logstash -\> elasticsearch. I have this in my elastic-agent-pipeline.conf:

```auto
date {
         match => ["tstamp", "yyyy-MM-dd HH:mm:ss.SSS", "ISO8601", "yyyy-MM-dd HH:mm:ss"]
}
mutate {
	remove_field => ["tstamp"]
 }

```

It just seems to ignore it completely, no date parse failure or anything.

Any suggestions?

---

<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:** [November 15, 2023, 9:20pm UTC](https://discuss.elastic.co/t/elastic-agent-not-matching-timestamp/345334/2 "2023-11-15T21:20:19Z")

</div>

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