# Apache Error logs timestamp

**URL:** https://discuss.elastic.co/t/apache-error-logs-timestamp/82010
**Category:** Logstash
**Created:** [April 11, 2017, 3:30pm UTC](https://discuss.elastic.co/t/apache-error-logs-timestamp/82010 "2017-04-11T15:30:41Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![jkuang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jkuang/32/72637_2.png) [@jkuang](https://discuss.elastic.co/u/jkuang)
#### Post date: [April 11, 2017, 6:21pm UTC](https://discuss.elastic.co/t/apache-error-logs-timestamp/82010/4 "2017-04-11T18:21:16Z")

</div>

I believe what you're asking is how to update the @timestamp to the date time your error occurred. The reason you have multiple timestamp is because you declared a timestamp variable.

Take a look at the discussion below:

> [@Parsing Log With grok Filter](https://discuss.elastic.co/t/parsing-log-with-grok-filter/81162/9):
>
> The example I provided early did it exactly for me. Output { "path" =\> "/tmp/time.data", "@timestamp" =\> 2017-03-24T09:01:43.541Z, "@version" =\> "1", "host" =\> "JImmys-MacBook-Pro.local", "message" =\> "2017-03-24T09:01:43.541", "type" =\> "apache-access", "event\_timestamp" =\> "2017-03-24T09:01:43.541Z" }

---

_[View the full topic](https://discuss.elastic.co/t/apache-error-logs-timestamp/82010)._
