# Parsing Log With grok Filter

**URL:** https://discuss.elastic.co/t/parsing-log-with-grok-filter/81162
**Category:** Logstash
**Created:** [April 4, 2017, 2:16pm UTC](https://discuss.elastic.co/t/parsing-log-with-grok-filter/81162 "2017-04-04T14:16:59Z")
**Posts on this page:** 1
**Showing post:** 9

<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 10, 2017, 3:18pm UTC](https://discuss.elastic.co/t/parsing-log-with-grok-filter/81162/9 "2017-04-10T15:18:20Z")

</div>

The example I provided early did it exactly for me.

Output

```auto
{
               "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/parsing-log-with-grok-filter/81162)._
