# Logstash Parse Date Issue

**URL:** https://discuss.elastic.co/t/logstash-parse-date-issue/56278
**Category:** Logstash
**Created:** [July 25, 2016, 9:13am UTC](https://discuss.elastic.co/t/logstash-parse-date-issue/56278 "2016-07-25T09:13:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kennedy\_Kan1](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Kennedy\_Kan1](https://discuss.elastic.co/u/Kennedy_Kan1)
#### Post date: [July 25, 2016, 9:13am UTC](https://discuss.elastic.co/t/logstash-parse-date-issue/56278/1 "2016-07-25T09:13:33Z")

</div>

I am using logstash to read some logs. I have a log file which the Timestamp only consist of time field, i.e. 08:28:20,500, but no date field. I would like to map it with the datetime of today. How should I do that with date filter.

A line of my log file is like this.

```
 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)>>"C:\CIGNA\jboss\jboss.log"

```

And my filter part in my logstash .conf file is as shown.

```
  grok {
    match => { "message" => '\A%{TIME:Time}%{SPACE}%{WORD:Level}%{SPACE}\[%{JAVACLASS:JavaClass}]%{SPACE}(\(%{GREEDYDATA:Description}\)%{SPACE})?%{GREEDYDATA:Message}'}
  }
  date {
    match => ["Timestamp" , "HH:mm:sss"]
  }

```

Is there anyone who can help with this issue? Great thanks in advance.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [July 29, 2016, 2:07pm UTC](https://discuss.elastic.co/t/logstash-parse-date-issue/56278/2 "2016-07-29T14:07:17Z")

</div>

What happens now? Does the date filter not work at all?

---

<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: [July 6, 2017, 4:45am UTC](https://discuss.elastic.co/t/logstash-parse-date-issue/56278/3 "2017-07-06T04:45:55Z")

</div>


