Given you have already taken the raw log data that contains the Start Date and End Date and parsed them into fields of the event. I would first pass the two fields into the following:
date {
match => [ "Start Date", "ISO8601" ]
target => "start_date"
}
date {
match => [ "End Date", "ISO8601" ]
target => "end_date"
}
Note the the .get and .set are new in the later versions of logstash and depending on the particular version you are using you may need to use the syntax you originally posted, i.e. event['start_date']
If you haven't parsed them into fields I would look into using grok, to pull the fields out of the raw message. another good resource if you are having trouble creating the grok is grok debugger.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.