# For rule 'parse event timestamp': In call to function 'parse\_date' at 5:19 an exception was thrown: Invalid format: ""

**URL:** <https://community.graylog.org/t/for-rule-parse-event-timestamp-in-call-to-function-parse-date-at-5-19-an-exception-was-thrown-invalid-format/8213>\
**Category:** Graylog Central (peer support)\
**Tags:** pipeline-rules\
**Created:** [December 30, 2018, 7:09am UTC](https://community.graylog.org/t/for-rule-parse-event-timestamp-in-call-to-function-parse-date-at-5-19-an-exception-was-thrown-invalid-format/8213 "2018-12-30T07:09:25Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![pradeep57498755](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/pradeep57498755/32/3529_2.png) [@pradeep57498755](https://community.graylog.org/u/pradeep57498755)\
**Post date:** [January 9, 2019, 4:28pm UTC](https://community.graylog.org/t/for-rule-parse-event-timestamp-in-call-to-function-parse-date-at-5-19-an-exception-was-thrown-invalid-format/8213/7 "2019-01-09T16:28:28Z")

</div>

“Mon Jan 07 17:30:00 +0000 2019 @Very excited that Apple is bringing AirPlay and iTunes to my Vizio TV (and apparently Samsung TVs too). An important [https://t.co/4kbvJRfGwb”](https://t.co/4kbvJRfGwb%E2%80%9D)

- I want to change graylog timestamp to this log timestamp
- i am using input as gelf tcp in graylog and log comes from fluentd
- created grok for timestamp:- through system --\> grok, I stored log timesamp value (Mon Jan 07 17:30:00 +0000 2019) in Timestamp\_tweet
- Then i created new pipeline and rule
- i am following this url to fix my issue:- [Searching imported logs by log timestamp, not time Graylog received the log](https://community.graylog.org/t/searching-imported-logs-by-log-timestamp-not-time-graylog-received-the-log/233)
- rule:- rule “parse event timestamp”  
when  
true  
then  
let new\_date = parse\_date(to\_string($message.Timestamp\_tweet), “E MMM dd HH:mm:ss Z Y);”);  
set\_field(“timestamp”, new\_date);  
end
- i dont know how its comes with incoming messages ,after creating pipeline and its rule, i got a field called gl2\_processing\_error  
 ![error_grok](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/c/cf5284b56737d1617bf77c631ade5112ebd6b511.png)

---

_[View the full topic](https://community.graylog.org/t/for-rule-parse-event-timestamp-in-call-to-function-parse-date-at-5-19-an-exception-was-thrown-invalid-format/8213)._
